Lines Matching refs:filp
395 * Removes the mapping from handle to filp for this object.
398 drm_gem_handle_delete(struct drm_file *filp, u32 handle)
412 spin_lock(&filp->table_lock);
415 obj = idr_list_find(&filp->object_idr, handle);
417 spin_unlock(&filp->table_lock);
423 (void) idr_list_remove(&filp->object_idr, handle);
424 spin_unlock(&filp->table_lock);
427 dev->driver->gem_close_object(obj, filp);
496 drm_gem_object_lookup(struct drm_device *dev, struct drm_file *filp,
501 spin_lock(&filp->table_lock);
504 obj = idr_list_find(&filp->object_idr, handle);
506 spin_unlock(&filp->table_lock);
512 spin_unlock(&filp->table_lock);
658 * Called at close time when the filp is going away.
660 * Releases any remaining references on objects by this filp.