Lines Matching refs:grant_ref_t

58 static grant_ref_t **gnttab_list;
62 static grant_ref_t gnttab_free_head;
73 #define RPP (PAGE_SIZE / sizeof(grant_ref_t))
75 static inline grant_ref_t *__gnttab_entry(grant_ref_t entry) in __gnttab_entry()
86 grant_ref_t head; in get_free_entries()
134 static void put_free_entry(grant_ref_t ref) in put_free_entry()
145 static void update_grant_entry(grant_ref_t ref, domid_t domid, in update_grant_entry()
167 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_access_ref()
190 int gnttab_query_foreign_access(grant_ref_t ref) in gnttab_query_foreign_access()
200 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly) in gnttab_end_foreign_access_ref()
217 void gnttab_end_foreign_access(grant_ref_t ref, int readonly, in gnttab_end_foreign_access()
246 void gnttab_grant_foreign_transfer_ref(grant_ref_t ref, domid_t domid, in gnttab_grant_foreign_transfer_ref()
253 unsigned long gnttab_end_foreign_transfer_ref(grant_ref_t ref) in gnttab_end_foreign_transfer_ref()
282 unsigned long gnttab_end_foreign_transfer(grant_ref_t ref) in gnttab_end_foreign_transfer()
290 void gnttab_free_grant_reference(grant_ref_t ref) in gnttab_free_grant_reference()
296 void gnttab_free_grant_references(grant_ref_t head) in gnttab_free_grant_references()
298 grant_ref_t ref; in gnttab_free_grant_references()
317 int gnttab_alloc_grant_references(u16 count, grant_ref_t *head) in gnttab_alloc_grant_references()
330 int gnttab_empty_grant_references(const grant_ref_t *private_head) in gnttab_empty_grant_references()
336 int gnttab_claim_grant_reference(grant_ref_t *private_head) in gnttab_claim_grant_reference()
338 grant_ref_t g = *private_head; in gnttab_claim_grant_reference()
346 void gnttab_release_grant_reference(grant_ref_t *private_head, in gnttab_release_grant_reference()
347 grant_ref_t release) in gnttab_release_grant_reference()
400 gnttab_list[i] = (grant_ref_t *)__get_free_page(GFP_ATOMIC); in grow_gnttab_list()
626 gnttab_list = kmalloc(max_nr_glist_frames * sizeof(grant_ref_t *), in gnttab_init()
633 gnttab_list[i] = (grant_ref_t *)__get_free_page(GFP_KERNEL); in gnttab_init()