Lines Matching refs:lessee_id
82 _drm_find_lessee(struct drm_master *master, int lessee_id) in _drm_find_lessee() argument
85 return idr_find(&drm_lease_owner(master)->lessee_idr, lessee_id); in _drm_find_lessee()
216 DRM_DEBUG_LEASE("lessor %d\n", lessor->lessee_id); in drm_lease_create()
246 lessee->lessee_id = id; in drm_lease_create()
252 …DRM_DEBUG_LEASE("new lessee %d %p, lessor %d %p\n", lessee->lessee_id, lessee, lessor->lessee_id, … in drm_lease_create()
271 DRM_DEBUG_LEASE("drm_lease_destroy %d\n", master->lessee_id); in drm_lease_destroy()
279 if (master->lessee_id != 0) { in drm_lease_destroy()
280 DRM_DEBUG_LEASE("remove master %d from device list of lessees\n", master->lessee_id); in drm_lease_destroy()
281 idr_remove(&(drm_lease_owner(master)->lessee_idr), master->lessee_id); in drm_lease_destroy()
295 DRM_DEBUG_LEASE("drm_lease_destroy done %d\n", master->lessee_id); in drm_lease_destroy()
311 DRM_DEBUG_LEASE("revoke leases for %p %d\n", master, master->lessee_id); in _drm_lease_revoke()
566 DRM_DEBUG_LEASE("Returning fd %d id %d\n", fd, lessee->lessee_id); in drm_mode_create_lease_ioctl()
568 cl->lessee_id = lessee->lessee_id; in drm_mode_create_lease_ioctl()
607 DRM_DEBUG_LEASE("List lessees for %d\n", lessor->lessee_id); in drm_mode_list_lessees_ioctl()
616 DRM_DEBUG_LEASE("Add lessee %d\n", lessee->lessee_id); in drm_mode_list_lessees_ioctl()
617 ret = put_user(lessee->lessee_id, lessee_ids + count); in drm_mode_list_lessees_ioctl()
657 DRM_DEBUG_LEASE("get lease for %d\n", lessee->lessee_id); in drm_mode_get_lease_ioctl()
702 DRM_DEBUG_LEASE("revoke lease for %d\n", arg->lessee_id); in drm_mode_revoke_lease_ioctl()
711 lessee = _drm_find_lessee(lessor, arg->lessee_id); in drm_mode_revoke_lease_ioctl()