Lines Matching refs:shmem_falloc
104 struct shmem_falloc {
1494 struct shmem_falloc *shmem_falloc;
1496 shmem_falloc = inode->i_private;
1497 if (shmem_falloc &&
1498 !shmem_falloc->waitq &&
1499 index >= shmem_falloc->start &&
1500 index < shmem_falloc->next)
1501 shmem_falloc->nr_unswapped++;
1503 shmem_falloc = NULL;
1505 if (shmem_falloc)
2203 struct shmem_falloc *shmem_falloc;
2206 shmem_falloc = inode->i_private;
2207 if (shmem_falloc &&
2208 shmem_falloc->waitq &&
2209 vmf->pgoff >= shmem_falloc->start &&
2210 vmf->pgoff < shmem_falloc->next) {
2220 shmem_falloc_waitq = shmem_falloc->waitq;
3049 struct shmem_falloc shmem_falloc;
3070 shmem_falloc.waitq = &shmem_falloc_waitq;
3071 shmem_falloc.start = (u64)unmap_start >> PAGE_SHIFT;
3072 shmem_falloc.next = (unmap_end + 1) >> PAGE_SHIFT;
3074 inode->i_private = &shmem_falloc;
3110 shmem_falloc.waitq = NULL;
3111 shmem_falloc.start = start;
3112 shmem_falloc.next = start;
3113 shmem_falloc.nr_falloced = 0;
3114 shmem_falloc.nr_unswapped = 0;
3116 inode->i_private = &shmem_falloc;
3137 else if (shmem_falloc.nr_unswapped > shmem_falloc.nr_falloced)
3168 shmem_falloc.nr_falloced += index - shmem_falloc.next;
3169 shmem_falloc.next = index;