Lines Matching refs:grants
62 "Maximum number of grants that may be mapped by one mapping request");
120 kvfree(map->grants);
139 add->grants = kvcalloc(count, sizeof(add->grants[0]), GFP_KERNEL);
148 if (NULL == add->grants ||
263 * Unmap the grants. This may or may not be asynchronous, so it
303 map->grants[pgnr].ref,
304 map->grants[pgnr].domid);
323 map->grants[i].ref,
324 map->grants[i].domid);
349 map->grants[i].ref,
350 map->grants[i].domid);
418 * prevent premature reuse of the grants by gnttab_mmap().
466 * already unmapped some of the grants. Only unmap valid ranges.
639 if (copy_from_user(map->grants, &u->refs,
640 sizeof(map->grants[0]) * op.count) != 0) {