Lines Matching refs:grant
86 struct grant { struct
103 struct grant **grants_used; argument
104 struct grant **indirect_grants;
313 struct grant *gnt_list_entry, *n; in fill_grant_buffer()
317 gnt_list_entry = kzalloc(sizeof(struct grant), GFP_NOIO); in fill_grant_buffer()
350 static struct grant *get_free_grant(struct blkfront_ring_info *rinfo) in get_free_grant()
352 struct grant *gnt_list_entry; in get_free_grant()
355 gnt_list_entry = list_first_entry(&rinfo->grants, struct grant, in get_free_grant()
365 static inline void grant_foreign_access(const struct grant *gnt_list_entry, in grant_foreign_access()
374 static struct grant *get_grant(grant_ref_t *gref_head, in get_grant()
378 struct grant *gnt_list_entry = get_free_grant(rinfo); in get_grant()
399 static struct grant *get_indirect_grant(grant_ref_t *gref_head, in get_indirect_grant()
402 struct grant *gnt_list_entry = get_free_grant(rinfo); in get_indirect_grant()
611 struct grant *gnt_list_entry; in blkif_setup_rw_req_grant()
1274 struct grant *persistent_gnt, *n; in blkif_free_ring()
2747 struct grant *gnt_list_entry, *tmp; in purge_persistent_grants()