Searched refs:max_nr_pages (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/drivers/virt/nitro_enclaves/ |
D | ne_misc_dev.c | 843 unsigned long max_nr_pages = 0; in ne_set_user_memory_region_ioctl() local 859 max_nr_pages = mem_region.memory_size / NE_MIN_MEM_REGION_SIZE; in ne_set_user_memory_region_ioctl() 861 ne_mem_region->pages = kcalloc(max_nr_pages, sizeof(*ne_mem_region->pages), in ne_set_user_memory_region_ioctl() 869 phys_contig_mem_regions = kcalloc(max_nr_pages, sizeof(*phys_contig_mem_regions), in ne_set_user_memory_region_ioctl() 880 if (i == max_nr_pages) { in ne_set_user_memory_region_ioctl()
|
/Linux-v5.15/drivers/virtio/ |
D | virtio_mem.c | 1108 const unsigned long max_nr_pages = MAX_ORDER_NR_PAGES; in virtio_mem_fake_online() local 1116 for (i = 0; i < nr_pages; i += max_nr_pages) { in virtio_mem_fake_online() 1126 virtio_mem_clear_fake_offline(pfn + i, max_nr_pages, in virtio_mem_fake_online() 1130 virtio_mem_clear_fake_offline(pfn + i, max_nr_pages, in virtio_mem_fake_online() 1132 free_contig_range(pfn + i, max_nr_pages); in virtio_mem_fake_online() 1133 adjust_managed_page_count(page, max_nr_pages); in virtio_mem_fake_online()
|
/Linux-v5.15/fs/fuse/ |
D | virtio_fs.c | 746 size_t max_nr_pages = fs->window_len/PAGE_SIZE - pgoff; in virtio_fs_direct_access() local 753 return nr_pages > max_nr_pages ? max_nr_pages : nr_pages; in virtio_fs_direct_access()
|
/Linux-v5.15/fs/f2fs/ |
D | data.c | 2340 unsigned max_nr_pages = nr_pages; in f2fs_mpage_readpages() local 2363 max_nr_pages, in f2fs_mpage_readpages() 2398 ret = f2fs_read_single_page(inode, page, max_nr_pages, &map, in f2fs_mpage_readpages() 2419 max_nr_pages, in f2fs_mpage_readpages()
|