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() argument148 gref_ids[i] = gref->gref_id = rc; in add_grefs()284 uint32_t *gref_ids; in gntalloc_ioctl_alloc() local293 gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_TEMPORARY); in gntalloc_ioctl_alloc()294 if (!gref_ids) { in gntalloc_ioctl_alloc()315 rc = add_grefs(&op, gref_ids, priv); in gntalloc_ioctl_alloc()330 if (copy_to_user(arg->gref_ids, gref_ids, in gntalloc_ioctl_alloc()331 sizeof(gref_ids[0]) * op.count)) { in gntalloc_ioctl_alloc()337 kfree(gref_ids); in gntalloc_ioctl_alloc()
32 uint32_t gref_ids[1]; member