grants 183 drivers/block/xen-blkfront.c struct list_head grants; grants 311 drivers/block/xen-blkfront.c list_add(&gnt_list_entry->node, &rinfo->grants); grants 319 drivers/block/xen-blkfront.c &rinfo->grants, node) { grants 334 drivers/block/xen-blkfront.c BUG_ON(list_empty(&rinfo->grants)); grants 335 drivers/block/xen-blkfront.c gnt_list_entry = list_first_entry(&rinfo->grants, struct grant, grants 1264 drivers/block/xen-blkfront.c if (!list_empty(&rinfo->grants)) { grants 1266 drivers/block/xen-blkfront.c &rinfo->grants, node) { grants 1505 drivers/block/xen-blkfront.c list_add(&s->grants_used[i]->node, &rinfo->grants); grants 1516 drivers/block/xen-blkfront.c list_add_tail(&s->grants_used[i]->node, &rinfo->grants); grants 1525 drivers/block/xen-blkfront.c list_add(&s->indirect_grants[i]->node, &rinfo->grants); grants 1540 drivers/block/xen-blkfront.c list_add_tail(&s->indirect_grants[i]->node, &rinfo->grants); grants 1932 drivers/block/xen-blkfront.c INIT_LIST_HEAD(&rinfo->grants); grants 2192 drivers/block/xen-blkfront.c unsigned int psegs, grants, memflags; grants 2200 drivers/block/xen-blkfront.c grants = BLKIF_MAX_SEGMENTS_PER_REQUEST; grants 2207 drivers/block/xen-blkfront.c grants = GRANTS_PER_PSEG; grants 2211 drivers/block/xen-blkfront.c grants = info->max_indirect_segments; grants 2212 drivers/block/xen-blkfront.c psegs = DIV_ROUND_UP(grants, GRANTS_PER_PSEG); grants 2215 drivers/block/xen-blkfront.c (grants + INDIRECT_GREFS(grants)) * BLK_RING_SIZE(info)); grants 2225 drivers/block/xen-blkfront.c int num = INDIRECT_GREFS(grants) * BLK_RING_SIZE(info); grants 2238 drivers/block/xen-blkfront.c kvcalloc(grants, grants 2246 drivers/block/xen-blkfront.c kvcalloc(INDIRECT_GREFS(grants), grants 2675 drivers/block/xen-blkfront.c list_for_each_entry_safe(gnt_list_entry, tmp, &rinfo->grants, grants 2685 drivers/block/xen-blkfront.c list_add_tail(&gnt_list_entry->node, &rinfo->grants); grants 59 drivers/xen/gntdev-common.h struct ioctl_gntdev_grant_ref *grants; grants 482 drivers/xen/gntdev-dmabuf.c map->grants[i].domid = domid; grants 483 drivers/xen/gntdev-dmabuf.c map->grants[i].ref = refs[i]; grants 121 drivers/xen/gntdev.c kfree(map->grants); grants 139 drivers/xen/gntdev.c add->grants = kcalloc(count, sizeof(add->grants[0]), GFP_KERNEL); grants 145 drivers/xen/gntdev.c if (NULL == add->grants || grants 284 drivers/xen/gntdev.c map->grants[pgnr].ref, grants 285 drivers/xen/gntdev.c map->grants[pgnr].domid); grants 311 drivers/xen/gntdev.c map->grants[i].ref, grants 312 drivers/xen/gntdev.c map->grants[i].domid); grants 330 drivers/xen/gntdev.c map->grants[i].ref, grants 331 drivers/xen/gntdev.c map->grants[i].domid); grants 685 drivers/xen/gntdev.c if (copy_from_user(map->grants, &u->refs, grants 686 drivers/xen/gntdev.c sizeof(map->grants[0]) * op.count) != 0) {