Lines Matching refs:fpriv
454 drm_file_t *fpriv;
465 fpriv = mp->fpriv;
466 ASSERT(fpriv);
468 if (--fpriv->refs != 0)
472 dev->driver->preclose(dev, fpriv);
482 dev->lock.filp == fpriv) {
487 dev->driver->reclaim_buffers_locked(dev, fpriv);
497 drm_reclaim_buffers(dev, fpriv);
501 drm_gem_release(dev, fpriv);
505 dev->driver->postclose(dev, fpriv);
507 TAILQ_REMOVE(&dev->files, fpriv, link);
508 drm_free(fpriv, sizeof (*fpriv), DRM_MEM_FILES);