Lines Matching defs:handle
197 u32 handle;
208 ret = drm_gem_handle_create(file, &obj->base, &handle);
216 /* drop reference from allocate - handle holds it now */
219 *handle_p = handle;
232 args->size, &args->handle);
237 uint32_t handle)
239 return drm_gem_handle_delete(file, handle);
242 * Creates a new mm object and returns a handle to it.
250 args->size, &args->handle);
395 * Reads data from the object referenced by handle.
414 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
583 * Writes data to the object referenced by handle.
602 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
659 /* Non-interruptible callers can't handle -EAGAIN, hence return
914 /* Only handle setting domains to types used by the CPU. */
931 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
980 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
1016 obj = drm_gem_object_lookup(dev, file, args->handle);
1237 uint32_t handle,
1248 obj = to_intel_bo(drm_gem_object_lookup(dev, file, handle));
1295 return i915_gem_mmap_gtt(file, dev, args->handle, &args->offset);
2788 /* GPU reset can handle this error */
2880 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
2916 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3170 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3178 args->handle);
3215 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3223 args->handle);
3252 obj = to_intel_bo(drm_gem_object_lookup(dev, file, args->handle));
3830 phys_obj->handle = drm_pci_alloc(dev, size, 0, 0xffffffff, 1);
3831 if (!phys_obj->handle) {
3857 drm_pci_free(phys_obj->handle);
3889 char *src = (caddr_t)(obj->phys_obj->handle->vaddr + (i * PAGE_SIZE));
3948 char *src = (caddr_t)(obj->phys_obj->handle->vaddr + (i * PAGE_SIZE));
3972 obj_addr = (void *)(uintptr_t)(obj->phys_obj->handle->vaddr + args->offset);