Home
last modified time | relevance | path

Searched refs:nr_grefs (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/xen/xenbus/
Dxenbus_client.c90 grant_ref_t *gnt_refs, unsigned int nr_grefs,
473 unsigned int nr_grefs, void **vaddr) in xenbus_map_ring_valloc() argument
480 if (nr_grefs > XENBUS_MAX_RING_GRANTS) in xenbus_map_ring_valloc()
491 err = ring_ops->map(dev, info, gnt_refs, nr_grefs, vaddr); in xenbus_map_ring_valloc()
504 unsigned int nr_grefs, in __xenbus_map_ring() argument
512 if (nr_grefs > XENBUS_MAX_RING_GRANTS) in __xenbus_map_ring()
515 for (i = 0; i < nr_grefs; i++) { in __xenbus_map_ring()
523 for (i = 0; i < nr_grefs; i++) { in __xenbus_map_ring()
536 for (i = j = 0; i < nr_grefs; i++) { in __xenbus_map_ring()
618 unsigned int nr_grefs, in xenbus_map_ring_hvm() argument
[all …]
/kernel/linux/linux-5.10/drivers/block/xen-blkback/
Dxenbus.c188 unsigned int nr_grefs, unsigned int evtchn) in xen_blkif_map() argument
200 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map()
216 rsp_prod, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
217 size = __RING_SIZE(sring_native, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
226 rsp_prod, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
227 size = __RING_SIZE(sring_x86_32, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
236 rsp_prod, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
237 size = __RING_SIZE(sring_x86_64, XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map()
981 unsigned int nr_grefs, evtchn; in read_per_ring_refs() local
991 nr_grefs = blkif->nr_ring_pages; in read_per_ring_refs()
[all …]
/kernel/linux/linux-5.10/include/xen/
Dxenbus.h223 unsigned int nr_grefs, void **vaddr);
Dgrant_table.h311 unsigned int nr_grefs,
/kernel/linux/linux-5.10/drivers/xen/
Dgrant-table.c1132 unsigned int nr_grefs, in gnttab_foreach_grant() argument
1140 for (i = 0; i < nr_grefs; i++) { in gnttab_foreach_grant()