Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/xen/
Dxen-front-pgdir-shbuf.c136 for (i = 0; i < buf->num_grefs; i++) in xen_front_pgdir_shbuf_free()
172 buf->num_grefs = get_num_pages_dir(buf); in backend_calc_num_grefs()
187 buf->num_grefs = get_num_pages_dir(buf) + buf->num_pages; in guest_calc_num_grefs()
273 for (cur_dir_page = 0; cur_dir_page < buf->num_grefs; cur_dir_page++) { in backend_map()
436 ret = gnttab_alloc_grant_references(buf->num_grefs, &priv_gref_head); in grant_references()
477 buf->grefs = kcalloc(buf->num_grefs, sizeof(*buf->grefs), GFP_KERNEL); in alloc_storage()
/linux-5.19.10/include/xen/
Dxen-front-pgdir-shbuf.h33 int num_grefs; member