Home
last modified time | relevance | path

Searched refs:m2p_chunks (Results 1 – 2 of 2) sorted by relevance

/xen/tools/libxc/
A Dxc_sr_common_x86_pv.c100 xen_pfn_t m2p_chunks, m2p_size, max_page; in x86_pv_map_m2p() local
113 m2p_chunks = M2P_CHUNKS(ctx->x86.pv.max_mfn); in x86_pv_map_m2p()
115 extents_start = malloc(m2p_chunks * sizeof(xen_pfn_t)); in x86_pv_map_m2p()
119 m2p_chunks * sizeof(xen_pfn_t)); in x86_pv_map_m2p()
123 if ( xc_machphys_mfn_list(xch, m2p_chunks, extents_start) ) in x86_pv_map_m2p()
129 entries = malloc(m2p_chunks * sizeof(privcmd_mmap_entry_t)); in x86_pv_map_m2p()
133 m2p_chunks * sizeof(privcmd_mmap_entry_t)); in x86_pv_map_m2p()
137 for ( i = 0; i < m2p_chunks; ++i ) in x86_pv_map_m2p()
142 M2P_CHUNK_SIZE, entries, m2p_chunks); in x86_pv_map_m2p()
150 ctx->x86.pv.nr_m2p_frames = (M2P_CHUNK_SIZE >> PAGE_SHIFT) * m2p_chunks; in x86_pv_map_m2p()
A Dxc_offline_page.c404 unsigned long m2p_chunks, m2p_size; in xc_map_m2p() local
411 m2p_chunks = M2P_CHUNKS(max_mfn); in xc_map_m2p()
413 extent_start = calloc(m2p_chunks, sizeof(xen_pfn_t)); in xc_map_m2p()
420 if ( xc_machphys_mfn_list(xch, m2p_chunks, extent_start) ) in xc_map_m2p()
426 entries = calloc(m2p_chunks, sizeof(privcmd_mmap_entry_t)); in xc_map_m2p()
433 for ( i = 0; i < m2p_chunks; i++ ) in xc_map_m2p()
438 entries, m2p_chunks); in xc_map_m2p()

Completed in 3 milliseconds