Home
last modified time | relevance | path

Searched refs:maxpages (Results 1 – 4 of 4) sorted by relevance

/fs/romfs/
Dmmap-nommu.c26 unsigned long isize, offset, maxpages, lpages; in romfs_get_unmapped_area() local
37 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in romfs_get_unmapped_area()
38 if ((pgoff >= maxpages) || (maxpages - pgoff < lpages)) in romfs_get_unmapped_area()
/fs/ramfs/
Dfile-nommu.c206 unsigned long maxpages, lpages, nr_folios, loop, ret, nr_pages, pfn; in ramfs_nommu_get_unmapped_area() local
216 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area()
217 if (pgoff >= maxpages) in ramfs_nommu_get_unmapped_area()
220 if (maxpages - pgoff < lpages) in ramfs_nommu_get_unmapped_area()
/fs/orangefs/
Dinode.c84 int maxpages; member
206 if (ow->npages == ow->maxpages) { in orangefs_writepages_callback()
223 ow->maxpages = orangefs_bufmap_size_query()/PAGE_SIZE; in orangefs_writepages()
224 ow->pages = kcalloc(ow->maxpages, sizeof(struct page *), GFP_KERNEL); in orangefs_writepages()
229 ow->bv = kcalloc(ow->maxpages, sizeof(struct bio_vec), GFP_KERNEL); in orangefs_writepages()
/fs/erofs/
Dzdata.c175 unsigned int maxpages; member
179 #define _PCLP(n) { .maxpages = n }
288 size = struct_size(a, compressed_bvecs, pcs->maxpages); in z_erofs_create_pcluster_pool()
290 sprintf(pcs->name, "erofs_pcluster-%u", pcs->maxpages); in z_erofs_create_pcluster_pool()
310 if (nrpages > pcs->maxpages) in z_erofs_alloc_pcluster()
330 if (pclusterpages > pcs->maxpages) in z_erofs_free_pcluster()