Lines Matching refs:file
10 * \file drm_stub.h
184 if (file->is_master)
187 if (file->minor->master && file->minor->master != file->master)
190 if (!file->master)
193 if (!file->minor->master &&
194 file->minor->master != file->master) {
196 file->minor->master = drm_master_get(file->master);
197 file->is_master = 1;
199 ret = dev->driver->master_set(dev, file, false);
201 file->is_master = 0;
202 drm_master_put(&file->minor->master);
214 if (!file->is_master)
217 if (!file->minor->master)
225 dev->driver->master_drop(dev, file, false);
226 drm_master_put(&file->minor->master);
227 file->is_master = 0;