Lines Matching defs:object

57  * _drm_lease_held_master - check to see if an object is leased (or owned) by master (idr_mutex held)
61 * Checks if the specified master holds a lease on the object. Return
64 * true 'master' holds a lease on (or owns) the object
76 * _drm_has_leased - check to see if an object has been leased (idr_mutex held)
83 * true Some lessee holds a lease on the object.
84 * false No lessee has a lease on the object.
100 * @id: the object id
102 * Checks if the specified master holds a lease on the object. Return
105 * true 'master' holds a lease on (or owns) the object
128 * @id: the object id
130 * Checks if the specified master holds a lease on the object. Return
133 * true 'master' holds a lease on (or owns) the object
219 * ERR_PTR(-EACCES) some other master holds the title to any object
220 * ERR_PTR(-ENOENT) some object is not a valid DRM object for this device
221 * ERR_PTR(-EBUSY) some other lessee holds title to this object
222 * ERR_PTR(-EEXIST) same object specified more than once in the provided list
230 int object;
244 idr_for_each_entry(leases, entry, object) {
246 if (!idr_find(&dev->mode_config.object_idr, object))
248 else if (_drm_has_leased(lessor, object))
252 DRM_DEBUG_LEASE("object %d failed %d\n", object, error);
331 int object;
345 idr_for_each_entry(&master->leases, entry, object)
346 idr_remove(&master->leases, object);
389 connector object. */
438 DRM_DEBUG_KMS("invalid object for lease\n");
456 DRM_DEBUG_LEASE("Adding object %d to lease\n", object_id);
460 * objects, but we don't need to point at the object's
562 /* fill and validate the object idr */
567 DRM_DEBUG_LEASE("lease object lookup failed: %i\n", ret);
706 int object;
725 /* lessee can only use allowed object */
729 idr_for_each_entry(object_idr, entry, object) {
731 DRM_DEBUG_LEASE("adding object %d\n", object);
732 ret = put_user(object, object_ids + count);