Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/xen/
Dxen-front-pgdir-shbuf.c144 for (i = 0; i < buf->num_grefs; i++) in xen_front_pgdir_shbuf_free()
181 buf->num_grefs = get_num_pages_dir(buf); in backend_calc_num_grefs()
196 buf->num_grefs = get_num_pages_dir(buf) + buf->num_pages; in guest_calc_num_grefs()
282 for (cur_dir_page = 0; cur_dir_page < buf->num_grefs; cur_dir_page++) { in backend_map()
438 ret = gnttab_alloc_grant_references(buf->num_grefs, &priv_gref_head); in grant_references()
479 buf->grefs = kcalloc(buf->num_grefs, sizeof(*buf->grefs), GFP_KERNEL); in alloc_storage()
/kernel/linux/linux-5.10/include/xen/
Dxen-front-pgdir-shbuf.h33 int num_grefs; member