Lines Matching refs:file_priv
521 struct drm_file *file_priv;
541 file_priv = idr_find(&minor->clone_idr, clone_id);
542 if (!file_priv)
545 ret = drm_release(file_priv);
559 struct drm_file *file_priv;
583 file_priv = idr_find(&minor->clone_idr, clone_id);
584 if (!file_priv)
587 return (-(drm_ioctl(dev_id, file_priv, cmd, arg, mode, credp)));
596 struct drm_file *file_priv;
616 file_priv = idr_find(&minor->clone_idr, clone_id);
617 if (!file_priv)
659 struct drm_file *file_priv;
678 file_priv = idr_find(&minor->clone_idr, clone_id);
679 if (!file_priv)
682 (void) drm_read(file_priv, uiop);
691 struct drm_file *file_priv;
710 file_priv = idr_find(&minor->clone_idr, clone_id);
711 if (!file_priv)
715 *phpp = &file_priv->drm_pollhead;
718 *reventsp = drm_poll(file_priv, events);