Lines Matching defs:Attribute
523 pub struct Attribute<const ID: u64, O, Data> {
528 // SAFETY: We do not provide any operations on `Attribute`.
529 unsafe impl<const ID: u64, O, Data> Sync for Attribute<ID, O, Data> {}
531 // SAFETY: Ownership of `Attribute` can safely be transferred to other threads.
532 unsafe impl<const ID: u64, O, Data> Send for Attribute<ID, O, Data> {}
534 impl<const ID: u64, O, Data> Attribute<ID, O, Data>
633 /// creating an [`Attribute`]. The type carrying the implementation serve no
639 /// implementation to a specific `Attribute`. `ID` must be passed when declaring
670 /// [`Attribute`] that will appear in the directory representing a [`Group`].
681 /// Null terminated Array of pointers to [`Attribute`]. The type is [`c_void`]
710 attribute: &'static Attribute<ID, O, Data>,
815 /// static CONFIGURATION_MESSAGE_ATTR: kernel::configfs::Attribute<
820 /// kernel::configfs::Attribute::new({
836 /// static CONFIGURATION_BAR_ATTR: kernel::configfs::Attribute<
841 /// kernel::configfs::Attribute::new({
946 // The following macro text expands to a call to `Attribute::add`.
1000 $crate::configfs::Attribute<$attr, $data, $data> =
1002 $crate::configfs::Attribute::new(