Searched refs:npages (Results 1 – 2 of 2) sorted by relevance
78 let npages = mem.memory_size >> PAGE_SHIFT; in set_user_memory_region() localVariable79 if npages > KVM_MEM_MAX_NR_PAGES as u64 { in set_user_memory_region()87 npages, // 虚机内存区间页数,即内存区间的大小 in set_user_memory_region()95 if npages != 0 { in set_user_memory_region()97 if old_slot.npages == 0 { in set_user_memory_region()104 || npages != old_slot.npages in set_user_memory_region()120 if old_slot.npages == 0 { in set_user_memory_region()138 if !(base_gfn + npages <= memslot.base_gfn in set_user_memory_region()139 || memslot.base_gfn + memslot.npages <= base_gfn) in set_user_memory_region()
58 pub npages: u64, // 虚机内存区间页数,即内存区间的大小 field92 if gfn >= memslot.base_gfn && gfn < memslot.base_gfn + memslot.npages { in __gfn_to_memslot()118 *nr_pages = slot.npages - (gfn - slot.base_gfn); in __gfn_to_hva_many()