Searched refs:max_nr_pages (Results 1 – 3 of 3) sorted by relevance
920 unsigned long max_nr_pages = 0; in ne_set_user_memory_region_ioctl() local935 max_nr_pages = mem_region.memory_size / NE_MIN_MEM_REGION_SIZE; in ne_set_user_memory_region_ioctl()937 ne_mem_region->pages = kcalloc(max_nr_pages, sizeof(*ne_mem_region->pages), in ne_set_user_memory_region_ioctl()945 phys_contig_mem_regions.regions = kcalloc(max_nr_pages, in ne_set_user_memory_region_ioctl()957 if (i == max_nr_pages) { in ne_set_user_memory_region_ioctl()
759 size_t max_nr_pages = fs->window_len / PAGE_SIZE - pgoff; in virtio_fs_direct_access() local766 return nr_pages > max_nr_pages ? max_nr_pages : nr_pages; in virtio_fs_direct_access()
2342 unsigned max_nr_pages = nr_pages; in f2fs_mpage_readpages() local2365 max_nr_pages, in f2fs_mpage_readpages()2400 ret = f2fs_read_single_page(inode, page, max_nr_pages, &map, in f2fs_mpage_readpages()2421 max_nr_pages, in f2fs_mpage_readpages()