Lines Matching defs:File
23 pub type DriverFile<T> = drm::File<<<T as DriverObject>::Driver as drm::Driver>::File>;
33 /// Open a new handle to an existing object, associated with a File.
38 /// Close a handle to an existing object, associated with a File.
109 /// Creates a new handle for the object associated with a given `File`
111 fn create_handle<D, F>(&self, file: &drm::File<F>) -> Result<u32>
114 D: drm::Driver<Object = Self, File = F>,
125 /// Looks up an object by its handle for a given `File`.
126 fn lookup_handle<D, F>(file: &drm::File<F>, handle: u32) -> Result<ARef<Self>>
129 D: drm::Driver<Object = Self, File = F>,
139 // - A `drm::Driver` can only have a single `File` implementation.