Searched refs:chunk_pages (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/mm/ |
H A D | migrate.c | 2317 static int get_compat_pages_array(const void __user *chunk_pages[], in get_compat_pages_array() argument 2328 chunk_pages[i] = compat_ptr(p); in get_compat_pages_array() 2343 const void __user *chunk_pages[DO_PAGES_STAT_CHUNK_NR]; in do_pages_stat() local 2350 if (get_compat_pages_array(chunk_pages, pages, in do_pages_stat() 2354 if (copy_from_user(chunk_pages, pages, in do_pages_stat() 2355 chunk_nr * sizeof(*chunk_pages))) in do_pages_stat() 2359 do_pages_stat_array(mm, chunk_nr, chunk_pages, chunk_status); in do_pages_stat()
|
/openbmc/qemu/migration/ |
H A D | ram.c | 768 unsigned long i, chunk_pages = 1UL << rb->clear_bmap_shift; in migration_clear_memory_region_dirty_bitmap_range() local 769 unsigned long chunk_start = QEMU_ALIGN_DOWN(start, chunk_pages); in migration_clear_memory_region_dirty_bitmap_range() 770 unsigned long chunk_end = QEMU_ALIGN_UP(start + npages, chunk_pages); in migration_clear_memory_region_dirty_bitmap_range() 776 for (i = chunk_start; i < chunk_end; i += chunk_pages) { in migration_clear_memory_region_dirty_bitmap_range()
|