Home
last modified time | relevance | path

Searched refs:PDX_GROUP_COUNT (Results 1 – 6 of 6) sorted by relevance

/xen/xen/common/
A Dpdx.c33 (FRAMETABLE_NR + PDX_GROUP_COUNT - 1) / PDX_GROUP_COUNT)] = { [0] = 1 };
40 likely(test_bit(pfn_to_pdx(mfn) / PDX_GROUP_COUNT, in __mfn_valid()
69 idx = pfn_to_pdx(smfn) / PDX_GROUP_COUNT; in set_pdx_range()
70 eidx = (pfn_to_pdx(emfn - 1) + PDX_GROUP_COUNT) / PDX_GROUP_COUNT; in set_pdx_range()
/xen/xen/arch/x86/x86_64/
A Dmm.c354 if ( mfn_valid(_mfn(i + n * PDX_GROUP_COUNT)) ) in setup_compat_m2p_table()
423 if ( mfn_valid(_mfn(i + n * PDX_GROUP_COUNT)) ) in setup_m2p_table()
574 if ( mfn_valid(_mfn(MFN(i) + n * PDX_GROUP_COUNT)) ) in paging_init()
633 if ( mfn_valid(_mfn(MFN(i) + n * PDX_GROUP_COUNT)) ) in paging_init()
779 eidx = DIV_ROUND_UP(mfn_to_pdx(epfn), PDX_GROUP_COUNT); in extend_frame_table()
780 nidx = cidx = mfn_to_pdx(spfn)/PDX_GROUP_COUNT; in extend_frame_table()
1308 sidx = ((pfn_to_pdx(spfn) + PDX_GROUP_COUNT - 1) & ~(PDX_GROUP_COUNT - 1)) in mem_hotadd_check()
1309 / PDX_GROUP_COUNT; in mem_hotadd_check()
1310 eidx = (pfn_to_pdx(epfn - 1) & ~(PDX_GROUP_COUNT - 1)) / PDX_GROUP_COUNT; in mem_hotadd_check()
1338 s = pfn_to_pdx(spfn) & ~(PDX_GROUP_COUNT - 1); in mem_hotadd_check()
[all …]
/xen/xen/arch/x86/
A Dtboot.c313 unsigned int max_idx = DIV_ROUND_UP(max_pdx, PDX_GROUP_COUNT); in tboot_gen_frametable_integrity()
324 vmac_update((uint8_t *)pdx_to_page(sidx * PDX_GROUP_COUNT), in tboot_gen_frametable_integrity()
325 pdx_to_page(eidx * PDX_GROUP_COUNT) in tboot_gen_frametable_integrity()
326 - pdx_to_page(sidx * PDX_GROUP_COUNT), &ctx); in tboot_gen_frametable_integrity()
328 vmac_update((uint8_t *)pdx_to_page(sidx * PDX_GROUP_COUNT), in tboot_gen_frametable_integrity()
330 - pdx_to_page(sidx * PDX_GROUP_COUNT), &ctx); in tboot_gen_frametable_integrity()
A Dmm.c243 unsigned int max_idx = DIV_ROUND_UP(max_pdx, PDX_GROUP_COUNT); in init_frametable()
255 init_frametable_chunk(pdx_to_page(sidx * PDX_GROUP_COUNT), in init_frametable()
256 pdx_to_page(eidx * PDX_GROUP_COUNT)); in init_frametable()
260 top_pg = mem_hotplug ? pdx_to_page(max_idx * PDX_GROUP_COUNT - 1) + 1 in init_frametable()
262 init_frametable_chunk(pdx_to_page(sidx * PDX_GROUP_COUNT), top_pg); in init_frametable()
/xen/xen/include/xen/
A Dpdx.h12 #define PDX_GROUP_COUNT ((1 << PDX_GROUP_SHIFT) / \ macro
/xen/xen/common/efi/
A Dboot.c1472 unsigned long sz = pfn_to_pdx(emfn - 1) / PDX_GROUP_COUNT + 1; in ram_range_valid()
1476 pfn_to_pdx(smfn) / PDX_GROUP_COUNT) < sz; in ram_range_valid()

Completed in 24 milliseconds