Lines Matching refs:grant_ref_t

74 static grant_ref_t **gnttab_list;
77 static grant_ref_t gnttab_free_head;
118 void (*update_entry)(grant_ref_t ref, domid_t domid,
128 int (*end_foreign_access_ref)(grant_ref_t ref, int readonly);
136 unsigned long (*end_foreign_transfer_ref)(grant_ref_t ref);
143 int (*query_foreign_access)(grant_ref_t ref);
160 #define RPP (PAGE_SIZE / sizeof(grant_ref_t))
163 static inline grant_ref_t *__gnttab_entry(grant_ref_t entry) in __gnttab_entry()
174 grant_ref_t head; in get_free_entries()
222 static void put_free_entry(grant_ref_t ref) in put_free_entry()
244 static void gnttab_update_entry_v1(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v1()
253 static void gnttab_update_entry_v2(grant_ref_t ref, domid_t domid, in gnttab_update_entry_v2()
265 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
288 static int gnttab_query_foreign_access_v1(grant_ref_t ref) in gnttab_query_foreign_access_v1()
293 static int gnttab_query_foreign_access_v2(grant_ref_t ref) in gnttab_query_foreign_access_v2()
298 int gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
304 static int gnttab_end_foreign_access_ref_v1(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v1()
320 static int gnttab_end_foreign_access_ref_v2(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref_v2()
343 static inline int _gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in _gnttab_end_foreign_access_ref()
348 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref()
359 grant_ref_t ref;
413 static void gnttab_add_deferred(grant_ref_t ref, bool readonly, in gnttab_add_deferred()
439 void gnttab_end_foreign_access(grant_ref_t ref, int readonly, in gnttab_end_foreign_access()
465 void gnttab_grant_foreign_transfer_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_transfer_ref()
472 static unsigned long gnttab_end_foreign_transfer_ref_v1(grant_ref_t ref) in gnttab_end_foreign_transfer_ref_v1()
503 static unsigned long gnttab_end_foreign_transfer_ref_v2(grant_ref_t ref) in gnttab_end_foreign_transfer_ref_v2()
534 unsigned long gnttab_end_foreign_transfer_ref(grant_ref_t ref) in gnttab_end_foreign_transfer_ref()
540 unsigned long gnttab_end_foreign_transfer(grant_ref_t ref) in gnttab_end_foreign_transfer()
548 void gnttab_free_grant_reference(grant_ref_t ref) in gnttab_free_grant_reference()
554 void gnttab_free_grant_references(grant_ref_t head) in gnttab_free_grant_references()
556 grant_ref_t ref; in gnttab_free_grant_references()
575 int gnttab_alloc_grant_references(u16 count, grant_ref_t *head) in gnttab_alloc_grant_references()
588 int gnttab_empty_grant_references(const grant_ref_t *private_head) in gnttab_empty_grant_references()
594 int gnttab_claim_grant_reference(grant_ref_t *private_head) in gnttab_claim_grant_reference()
596 grant_ref_t g = *private_head; in gnttab_claim_grant_reference()
604 void gnttab_release_grant_reference(grant_ref_t *private_head, in gnttab_release_grant_reference()
605 grant_ref_t release) in gnttab_release_grant_reference()
676 gnttab_list[i] = (grant_ref_t *)__get_free_page(GFP_ATOMIC); in grow_gnttab_list()
1432 sizeof(grant_ref_t *), in gnttab_init()
1439 gnttab_list[i] = (grant_ref_t *)__get_free_page(GFP_KERNEL); in gnttab_init()