Home
last modified time | relevance | path

Searched refs:maxpages (Results 1 – 3 of 3) 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.c205 unsigned long maxpages, lpages, nr, loop, ret; in ramfs_nommu_get_unmapped_area() local
215 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area()
216 if (pgoff >= maxpages) in ramfs_nommu_get_unmapped_area()
219 if (maxpages - pgoff < lpages) in ramfs_nommu_get_unmapped_area()
/fs/orangefs/
Dinode.c88 int maxpages; member
210 if (ow->npages == ow->maxpages) { in orangefs_writepages_callback()
227 ow->maxpages = orangefs_bufmap_size_query()/PAGE_SIZE; in orangefs_writepages()
228 ow->pages = kcalloc(ow->maxpages, sizeof(struct page *), GFP_KERNEL); in orangefs_writepages()
233 ow->bv = kcalloc(ow->maxpages, sizeof(struct bio_vec), GFP_KERNEL); in orangefs_writepages()