Lines Matching defs:attribute
519 /// A configfs attribute.
521 /// An attribute appears as a file in configfs, inside a folder that represent
522 /// the group that the attribute belongs to.
525 attribute: Opaque<bindings::configfs_attribute>,
610 /// Create a new attribute.
612 /// The attribute will appear as a file with name given by `name`.
615 attribute: Opaque::new(bindings::configfs_attribute {
631 /// Operations supported by an attribute.
635 /// purpose other than specifying the attribute operations.
639 /// attribute of the group. The constant type parameter `ID` maps the
646 /// attribute for this operation.
649 /// Renders the value of an attribute.
651 /// This function is called by the kernel to read the value of an attribute.
653 /// Implementations should write the rendering of the attribute to `page`
657 /// Stores the value of an attribute.
659 /// This function is called by the kernel to update the value of an attribute.
711 attribute: &'static Attribute<ID, O, Data>,
716 const { assert!(I < N - 1, "Invalid attribute index") };
720 unsafe { (&mut *self.0.get())[I] = core::ptr::from_ref(attribute).cast_mut().cast() };