Searched refs:gref_ids (Results 1 – 2 of 2) sorted by relevance
122 uint32_t *gref_ids, struct gntalloc_file_private_data *priv) in add_grefs() argument152 gref_ids[i] = gref->gref_id = rc; in add_grefs()274 uint32_t *gref_ids; in gntalloc_ioctl_alloc() local283 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()
34 __u32 gref_ids[1]; member