Searched refs:nr_grefs (Results 1 – 3 of 3) sorted by relevance
/drivers/xen/xenbus/ |
D | xenbus_client.c | 77 grant_ref_t *gnt_refs, unsigned int nr_grefs, 470 unsigned int nr_grefs, void **vaddr) in xenbus_map_ring_valloc() argument 472 return ring_ops->map(dev, gnt_refs, nr_grefs, vaddr); in xenbus_map_ring_valloc() 481 unsigned int nr_grefs, in __xenbus_map_ring() argument 492 if (nr_grefs > XENBUS_MAX_RING_GRANTS) in __xenbus_map_ring() 495 for (i = 0; i < nr_grefs; i++) { in __xenbus_map_ring() 504 for (i = 0; i < nr_grefs; i++) { in __xenbus_map_ring() 518 for (i = j = 0; i < nr_grefs; i++) { in __xenbus_map_ring() 543 unsigned int nr_grefs, in xenbus_map_ring_valloc_pv() argument 556 if (nr_grefs > XENBUS_MAX_RING_GRANTS) in xenbus_map_ring_valloc_pv() [all …]
|
/drivers/block/xen-blkback/ |
D | xenbus.c | 187 unsigned int nr_grefs, unsigned int evtchn) in xen_blkif_map() argument 196 err = xenbus_map_ring_valloc(blkif->be->dev, gref, nr_grefs, in xen_blkif_map() 207 XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map() 215 XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map() 223 XEN_PAGE_SIZE * nr_grefs); in xen_blkif_map() 922 unsigned int ring_page_order, nr_grefs, evtchn; in read_per_ring_refs() local 941 nr_grefs = 1; in read_per_ring_refs() 953 nr_grefs = 1 << ring_page_order; in read_per_ring_refs() 954 for (i = 0; i < nr_grefs; i++) { in read_per_ring_refs() 968 blkif->nr_ring_pages = nr_grefs; in read_per_ring_refs() [all …]
|
/drivers/xen/ |
D | grant-table.c | 805 unsigned int nr_grefs, in gnttab_foreach_grant() argument 813 for (i = 0; i < nr_grefs; i++) { in gnttab_foreach_grant()
|