Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/xen/
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()
277 uint32_t *gref_ids; in gntalloc_ioctl_alloc() local
286 gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_KERNEL); in gntalloc_ioctl_alloc()
287 if (!gref_ids) { in gntalloc_ioctl_alloc()
308 rc = add_grefs(&op, gref_ids, priv); in gntalloc_ioctl_alloc()
323 if (copy_to_user(arg->gref_ids, gref_ids, in gntalloc_ioctl_alloc()
324 sizeof(gref_ids[0]) * op.count)) { in gntalloc_ioctl_alloc()
330 kfree(gref_ids); in gntalloc_ioctl_alloc()
/linux-4.19.296/include/uapi/xen/
Dgntalloc.h34 __u32 gref_ids[1]; member