Home
last modified time | relevance | path

Searched refs:gnt_num (Results 1 – 3 of 3) sorted by relevance

/xen/tools/libxc/
A Dxc_gnttab.c67 static void *_gnttab_map_table(xc_interface *xch, uint32_t domid, int *gnt_num) in _gnttab_map_table() argument
76 if ( !gnt_num ) in _gnttab_map_table()
88 *gnt_num = query.nr_frames * (PAGE_SIZE / sizeof(grant_entry_v1_t) ); in _gnttab_map_table()
138 int *gnt_num) in xc_gnttab_map_table_v1() argument
142 return _gnttab_map_table(xch, domid, gnt_num); in xc_gnttab_map_table_v1()
146 int *gnt_num) in xc_gnttab_map_table_v2() argument
150 return _gnttab_map_table(xch, domid, gnt_num); in xc_gnttab_map_table_v2()
A Dxc_offline_page.c146 grant_entry_v1_t *gnttab, int gnt_num) in xc_is_page_granted_v1() argument
153 for (i = 0; i < gnt_num; i++) in xc_is_page_granted_v1()
158 return (i != gnt_num); in xc_is_page_granted_v1()
162 grant_entry_v2_t *gnttab, int gnt_num) in xc_is_page_granted_v2() argument
169 for (i = 0; i < gnt_num; i++) in xc_is_page_granted_v2()
174 return (i != gnt_num); in xc_is_page_granted_v2()
467 int gnt_num, unpined = 0; in xc_exchange_page() local
522 gnttab_v2 = xc_gnttab_map_table_v2(xch, domid, &gnt_num); in xc_exchange_page()
525 gnttab_v1 = xc_gnttab_map_table_v1(xch, domid, &gnt_num); in xc_exchange_page()
534 ? xc_is_page_granted_v1(xch, mfn, gnttab_v1, gnt_num) in xc_exchange_page()
[all …]
/xen/tools/libxc/include/
A Dxenctrl.h1619 grant_entry_v1_t *xc_gnttab_map_table_v1(xc_interface *xch, uint32_t domid, int *gnt_num);
1620 grant_entry_v2_t *xc_gnttab_map_table_v2(xc_interface *xch, uint32_t domid, int *gnt_num);

Completed in 11 milliseconds