Lines Matching refs:shmem_falloc
102 struct shmem_falloc {
1408 struct shmem_falloc *shmem_falloc;
1410 shmem_falloc = inode->i_private;
1411 if (shmem_falloc &&
1412 !shmem_falloc->waitq &&
1413 index >= shmem_falloc->start &&
1414 index < shmem_falloc->next)
1415 shmem_falloc->nr_unswapped++;
1417 shmem_falloc = NULL;
1419 if (shmem_falloc)
2070 struct shmem_falloc *shmem_falloc;
2073 shmem_falloc = inode->i_private;
2074 if (shmem_falloc &&
2075 shmem_falloc->waitq &&
2076 vmf->pgoff >= shmem_falloc->start &&
2077 vmf->pgoff < shmem_falloc->next) {
2087 shmem_falloc_waitq = shmem_falloc->waitq;
2775 struct shmem_falloc shmem_falloc;
2796 shmem_falloc.waitq = &shmem_falloc_waitq;
2797 shmem_falloc.start = (u64)unmap_start >> PAGE_SHIFT;
2798 shmem_falloc.next = (unmap_end + 1) >> PAGE_SHIFT;
2800 inode->i_private = &shmem_falloc;
2836 shmem_falloc.waitq = NULL;
2837 shmem_falloc.start = start;
2838 shmem_falloc.next = start;
2839 shmem_falloc.nr_falloced = 0;
2840 shmem_falloc.nr_unswapped = 0;
2842 inode->i_private = &shmem_falloc;
2854 else if (shmem_falloc.nr_unswapped > shmem_falloc.nr_falloced)
2872 shmem_falloc.next++;
2874 shmem_falloc.nr_falloced++;