Home
last modified time | relevance | path

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

/openbmc/linux/drivers/xen/
H A Dgntalloc.c122 uint32_t *gref_ids, struct gntalloc_file_private_data *priv) in add_grefs() argument
152 gref_ids[i] = gref->gref_id = rc; in add_grefs()
274 uint32_t *gref_ids; in gntalloc_ioctl_alloc() local
283 gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_KERNEL); in gntalloc_ioctl_alloc()
284 if (!gref_ids) { in gntalloc_ioctl_alloc()
305 rc = add_grefs(&op, gref_ids, priv); in gntalloc_ioctl_alloc()
320 if (copy_to_user(arg->gref_ids, gref_ids, in gntalloc_ioctl_alloc()
321 sizeof(gref_ids[0]) * op.count)) { in gntalloc_ioctl_alloc()
327 kfree(gref_ids); in gntalloc_ioctl_alloc()
/openbmc/linux/include/uapi/xen/
H A Dgntalloc.h34 __u32 gref_ids[1]; member