Searched refs:grefs (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | xen-front-pgdir-shbuf.c | 52 * Calculate number of grefs required to handle this buffer, 53 * e.g. if grefs are required for page directory only or the buffer 85 if (!buf->grefs) in xen_front_pgdir_shbuf_get_dir_start() 88 return buf->grefs[0]; in xen_front_pgdir_shbuf_get_dir_start() 141 if (buf->grefs) { in xen_front_pgdir_shbuf_free() 145 if (buf->grefs[i] != GRANT_INVALID_REF) in xen_front_pgdir_shbuf_free() 146 gnttab_end_foreign_access(buf->grefs[i], in xen_front_pgdir_shbuf_free() 149 kfree(buf->grefs); in xen_front_pgdir_shbuf_free() 155 * Number of grefs a page can hold with respect to the 194 * plus grefs fo in guest_calc_num_grefs() [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | xen-front-pgdir-shbuf.c | 44 * Calculate number of grefs required to handle this buffer, 45 * e.g. if grefs are required for page directory only or the buffer 77 if (!buf->grefs) in xen_front_pgdir_shbuf_get_dir_start() 80 return buf->grefs[0]; in xen_front_pgdir_shbuf_get_dir_start() 133 if (buf->grefs) { in xen_front_pgdir_shbuf_free() 137 if (buf->grefs[i] != INVALID_GRANT_REF) in xen_front_pgdir_shbuf_free() 138 gnttab_end_foreign_access(buf->grefs[i], NULL); in xen_front_pgdir_shbuf_free() 140 kfree(buf->grefs); in xen_front_pgdir_shbuf_free() 146 * Number of grefs a page can hold with respect to the 185 * plus grefs fo in guest_calc_num_grefs() [all...] |
/kernel/linux/linux-6.6/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 371 * @grefs: grant reference array to be filled in 376 * grant references are stored in the @grefs array. In case of error @vaddr 377 * will be set to NULL and @grefs will be filled with INVALID_GRANT_REF. 380 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_setup_ring() 409 grefs[i] = gnttab_claim_grant_reference(&gref_head); in xenbus_setup_ring() 410 gnttab_grant_foreign_access_ref(grefs[i], dev->otherend_id, in xenbus_setup_ring() 422 grefs[i] = INVALID_GRANT_REF; in xenbus_setup_ring() 433 * @grefs: grant reference array 439 grant_ref_t *grefs) in xenbus_teardown_ring() 444 if (grefs[ in xenbus_teardown_ring() 379 xenbus_setup_ring(struct xenbus_device *dev, gfp_t gfp, void **vaddr, unsigned int nr_pages, grant_ref_t *grefs) xenbus_setup_ring() argument 438 xenbus_teardown_ring(void **vaddr, unsigned int nr_pages, grant_ref_t *grefs) xenbus_teardown_ring() argument [all...] |
/kernel/linux/linux-5.10/include/xen/ |
H A D | xen-front-pgdir-shbuf.h | 34 grant_ref_t *grefs; member
|
H A D | xenbus.h | 221 unsigned int nr_pages, grant_ref_t *grefs);
|
/kernel/linux/linux-6.6/include/xen/ |
H A D | xen-front-pgdir-shbuf.h | 34 grant_ref_t *grefs; member
|
H A D | xenbus.h | 225 unsigned int nr_pages, grant_ref_t *grefs); 227 grant_ref_t *grefs);
|
/kernel/linux/linux-5.10/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 371 * @grefs: grant reference array to be filled in 374 * Then fill in @grefs with grant references. Return 0 on success, or 379 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring() 399 grefs[i] = gnttab_claim_grant_reference(&gref_head); in xenbus_grant_ring() 400 gnttab_grant_foreign_access_ref(grefs[i], dev->otherend_id, in xenbus_grant_ring() 378 xenbus_grant_ring(struct xenbus_device *dev, void *vaddr, unsigned int nr_pages, grant_ref_t *grefs) xenbus_grant_ring() argument
|
Completed in 9 milliseconds