Home
last modified time | relevance | path

Searched refs:max_nr_pages (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/virt/nitro_enclaves/
Dne_misc_dev.c920 unsigned long max_nr_pages = 0; in ne_set_user_memory_region_ioctl() local
935 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()
/linux-6.1.9/fs/fuse/
Dvirtio_fs.c759 size_t max_nr_pages = fs->window_len / PAGE_SIZE - pgoff; in virtio_fs_direct_access() local
766 return nr_pages > max_nr_pages ? max_nr_pages : nr_pages; in virtio_fs_direct_access()
/linux-6.1.9/fs/f2fs/
Ddata.c2342 unsigned max_nr_pages = nr_pages; in f2fs_mpage_readpages() local
2365 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()