search for: alloc_ops

Displaying 3 results from an estimated 3 matches for "alloc_ops".

Did you mean: alloc_copy
2024 Jun 18
1
[PATCH v2 3/8] rust: drm: add driver abstractions
...dings::drm_device, + handle: u32, + offset: *mut u64, + ) -> core::ffi::c_int, + >, +} + +/// Trait for memory manager implementations. Implemented internally. +pub trait AllocImpl: Sealed { + /// The C callback operations for this memory manager. + const ALLOC_OPS: AllocOps; +} + +/// The DRM `Driver` trait. +/// +/// This trait must be implemented by drivers in order to create a `struct drm_device` and `struct +/// drm_driver` to be registered in the DRM subsystem. +#[vtable] +pub trait Driver { + /// Context data associated with the DRM driver + ///...
2024 Sep 02
3
[PATCH v2 3/8] rust: drm: add driver abstractions
...> + offset: *mut u64, > + ) -> core::ffi::c_int, > + >, > +} > + > +/// Trait for memory manager implementations. Implemented internally. > +pub trait AllocImpl: Sealed { > + /// The C callback operations for this memory manager. > + const ALLOC_OPS: AllocOps; > +} > + > +/// The DRM `Driver` trait. > +/// > +/// This trait must be implemented by drivers in order to create a `struct drm_device` and `struct > +/// drm_driver` to be registered in the DRM subsystem. > +#[vtable] > +pub trait Driver { > + /// Context...
2024 Sep 03
1
[PATCH v2 3/8] rust: drm: add driver abstractions
...> + ) -> core::ffi::c_int, > > + >, > > +} > > + > > +/// Trait for memory manager implementations. Implemented internally. > > +pub trait AllocImpl: Sealed { > > + /// The C callback operations for this memory manager. > > + const ALLOC_OPS: AllocOps; > > +} > > + > > +/// The DRM `Driver` trait. > > +/// > > +/// This trait must be implemented by drivers in order to create a `struct drm_device` and `struct > > +/// drm_driver` to be registered in the DRM subsystem. > > +#[vtable] > > +p...