Lines Matching defs:objs
785 struct drm_gem_object **objs)
799 objs[i] = obj;
809 drm_gem_object_put(objs[i]);
836 struct drm_gem_object **objs;
845 objs = kvmalloc_objs(*objs, count);
846 if (!objs)
855 ret = objects_lookup(filp, handles, count, objs);
860 *objs_out = objs;
866 kvfree(objs);
1470 * @objs: drm_gem_objects to lock
1471 * @count: Number of objects in @objs
1476 drm_gem_lock_reservations(struct drm_gem_object **objs, int count,
1486 struct drm_gem_object *obj = objs[contended];
1500 ret = dma_resv_lock_interruptible(objs[i]->resv,
1506 dma_resv_unlock(objs[j]->resv);
1509 dma_resv_unlock(objs[contended]->resv);
1528 drm_gem_unlock_reservations(struct drm_gem_object **objs, int count,
1534 dma_resv_unlock(objs[i]->resv);