| /kernel/linux/linux-6.6/include/net/ |
| D | netlink.h | 66 * nlmsg_find_attr() find an attribute in a message 78 * Attribute Format: 89 * struct nlattr netlink attribute header 91 * Attribute Construction: 92 * nla_reserve(skb, type, len) reserve room for an attribute 93 * nla_reserve_nohdr(skb, len) reserve room for an attribute w/o hdr 94 * nla_put(skb, type, len, data) add attribute to skb 95 * nla_put_nohdr(skb, len, data) add attribute w/o hdr 98 * Attribute Construction for Basic Types: 99 * nla_put_u8(skb, type, value) add u8 attribute to skb [all …]
|
| /kernel/linux/linux-5.10/include/net/ |
| D | netlink.h | 66 * nlmsg_find_attr() find an attribute in a message 78 * Attribute Format: 89 * struct nlattr netlink attribute header 91 * Attribute Construction: 92 * nla_reserve(skb, type, len) reserve room for an attribute 93 * nla_reserve_nohdr(skb, len) reserve room for an attribute w/o hdr 94 * nla_put(skb, type, len, data) add attribute to skb 95 * nla_put_nohdr(skb, len, data) add attribute w/o hdr 98 * Attribute Construction for Basic Types: 99 * nla_put_u8(skb, type, value) add u8 attribute to skb [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-devices-power | 13 The /sys/devices/.../power/wakeup attribute allows the user 39 The /sys/devices/.../power/control attribute allows the user 50 drivers. Changing this attribute to "on" prevents the driver 58 The /sys/devices/.../async attribute allows the user space to 70 The value of this attribute may be changed by writing either 76 devices this attribute is set to "enabled" by bus type code or 84 The /sys/devices/.../wakeup_count attribute contains the number 86 attribute is read-only. If the device is not capable to wake up 87 the system from sleep states, this attribute is not present. 89 states, this attribute is empty. [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-devices-power | 13 The /sys/devices/.../power/wakeup attribute allows the user 39 The /sys/devices/.../power/control attribute allows the user 50 drivers. Changing this attribute to "on" prevents the driver 58 The /sys/devices/.../async attribute allows the user space to 70 The value of this attribute may be changed by writing either 76 devices this attribute is set to "enabled" by bus type code or 84 The /sys/devices/.../wakeup_count attribute contains the number 86 attribute is read-only. If the device is not capable to wake up 87 the system from sleep states, this attribute is not present. 89 states, this attribute is empty. [all …]
|
| D | sysfs-class-firmware-attributes | 12 Unless otherwise specified in an attribute description all attributes are optional 16 A file that can be read to obtain the type of attribute. 17 This attribute is mandatory. 30 All attribute types support the following values: 39 This attribute is mandatory. 73 increments of current_value this attribute accepts. 91 A file that can be read to obtain attribute-level 92 dependency rule. It says an attribute X will become read-only or 93 suppressed, if/if-not attribute Y is configured. 97 [ReadOnlyIf:<attribute>=<value>] [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | nlattr.c | 19 /* For these data types, attribute length should be exactly the given 21 * attribute length does not match the expected size a warning is emitted 210 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in nla_validate_range_unsigned() 214 "invalid attribute length"); in nla_validate_range_unsigned() 227 "binary attribute size out of range"); in nla_validate_range_unsigned() 401 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla() 405 "invalid attribute length"); in validate_nla() 497 * error message/attribute pointer in validate_nla() 504 /* a nested array attribute is allowed to be empty; if its not, in validate_nla() 520 * error message/attribute pointer in validate_nla() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | nlattr.c | 19 /* For these data types, attribute length should be exactly the given 21 * attribute length does not match the expected size a warning is emitted 196 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in nla_validate_range_unsigned() 200 "invalid attribute length"); in nla_validate_range_unsigned() 213 "binary attribute size out of range"); in nla_validate_range_unsigned() 379 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla() 383 "invalid attribute length"); in validate_nla() 475 * error message/attribute pointer in validate_nla() 482 /* a nested array attribute is allowed to be empty; if its not, in validate_nla() 498 * error message/attribute pointer in validate_nla() [all …]
|
| /kernel/linux/linux-6.6/fs/ntfs/ |
| D | attrib.c | 3 * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. 28 * @ctx: active attribute search context if present or NULL if not 40 * attribute on return as on entry. However, the actual pointers in @ctx may 54 * the attribute has zero allocated size, i.e. there simply is no runlist. 114 * If we already have the attribute extent containing @vcn in in ntfs_map_runlist_nolock() 118 * the right attribute extent. in ntfs_map_runlist_nolock() 145 * needed attribute extent. in ntfs_map_runlist_nolock() 185 * If there is no attribute list, restoring the search context in ntfs_map_runlist_nolock() 187 * the caller supplied context. If there is an attribute list, in ntfs_map_runlist_nolock() 299 * @ni: ntfs inode of the attribute whose runlist to search [all …]
|
| D | inode.h | 35 s64 initialized_size; /* Copy from the attribute record. */ 36 s64 allocated_size; /* Copy from the attribute record. */ 44 * If NInoAttr() is true, the below fields describe the attribute which 45 * this fake inode belongs to. The actual inode of this attribute is 52 ATTR_TYPE type; /* Attribute type of this fake inode. */ 53 ntfschar *name; /* Attribute name of this fake inode. */ 54 u32 name_len; /* Attribute name length of this fake inode. */ 56 the runlist of the unnamed data attribute 58 attribute (directory) or of the attribute 62 NI_NonResident is clear, the attribute is [all …]
|
| D | inode.c | 35 * Compare the ntfs attribute embedded in the ntfs specific part of the vfs 36 * inode @vi for equality with the ntfs attribute @data. 60 /* A fake inode describing an attribute. */ in ntfs_test_inode() 78 * Initialize the vfs inode @vi with the values from the ntfs attribute @data in 192 * ntfs_attr_iget - obtain a struct inode corresponding to an attribute 193 * @base_vi: vfs base inode containing the attribute 194 * @type: attribute type 195 * @name: Unicode name of the attribute (NULL if unnamed) 198 * Obtain the (fake) struct inode corresponding to the attribute specified by 202 * If the attribute inode is in the cache, it is just returned with an [all …]
|
| D | layout.h | 187 * in the bitmap attribute of the mft; presumably in order to avoid accidental 193 FILE_MFT = 0, /* Master file table (mft). Data attribute 194 contains the entries and bitmap attribute 197 in data attribute. If cluster size > 4kiB, 200 FILE_LogFile = 2, /* Journalling log in data attribute. */ 201 FILE_Volume = 3, /* Volume name attribute and volume information 202 attribute (flags and ntfs version). Windows 205 FILE_AttrDef = 4, /* Array of attribute definitions in data 206 attribute. */ 209 data attribute. */ [all …]
|
| /kernel/linux/linux-5.10/fs/ntfs/ |
| D | attrib.c | 3 * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. 28 * @ctx: active attribute search context if present or NULL if not 40 * attribute on return as on entry. However, the actual pointers in @ctx may 54 * the attribute has zero allocated size, i.e. there simply is no runlist. 114 * If we already have the attribute extent containing @vcn in in ntfs_map_runlist_nolock() 118 * the right attribute extent. in ntfs_map_runlist_nolock() 145 * needed attribute extent. in ntfs_map_runlist_nolock() 185 * If there is no attribute list, restoring the search context in ntfs_map_runlist_nolock() 187 * the caller supplied context. If there is an attribute list, in ntfs_map_runlist_nolock() 299 * @ni: ntfs inode of the attribute whose runlist to search [all …]
|
| D | inode.h | 35 s64 initialized_size; /* Copy from the attribute record. */ 36 s64 allocated_size; /* Copy from the attribute record. */ 44 * If NInoAttr() is true, the below fields describe the attribute which 45 * this fake inode belongs to. The actual inode of this attribute is 52 ATTR_TYPE type; /* Attribute type of this fake inode. */ 53 ntfschar *name; /* Attribute name of this fake inode. */ 54 u32 name_len; /* Attribute name length of this fake inode. */ 56 the runlist of the unnamed data attribute 58 attribute (directory) or of the attribute 62 NI_NonResident is clear, the attribute is [all …]
|
| D | inode.c | 35 * Compare the ntfs attribute embedded in the ntfs specific part of the vfs 36 * inode @vi for equality with the ntfs attribute @data. 60 /* A fake inode describing an attribute. */ in ntfs_test_inode() 78 * Initialize the vfs inode @vi with the values from the ntfs attribute @data in 192 * ntfs_attr_iget - obtain a struct inode corresponding to an attribute 193 * @base_vi: vfs base inode containing the attribute 194 * @type: attribute type 195 * @name: Unicode name of the attribute (NULL if unnamed) 198 * Obtain the (fake) struct inode corresponding to the attribute specified by 202 * If the attribute inode is in the cache, it is just returned with an [all …]
|
| D | layout.h | 187 * in the bitmap attribute of the mft; presumably in order to avoid accidental 193 FILE_MFT = 0, /* Master file table (mft). Data attribute 194 contains the entries and bitmap attribute 197 in data attribute. If cluster size > 4kiB, 200 FILE_LogFile = 2, /* Journalling log in data attribute. */ 201 FILE_Volume = 3, /* Volume name attribute and volume information 202 attribute (flags and ntfs version). Windows 205 FILE_AttrDef = 4, /* Array of attribute definitions in data 206 attribute. */ 209 data attribute. */ [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | compiler_attributes.h | 7 * map to compiler attribute(s), unless one of the compilers does not support 8 * the attribute. In that case, __has_attribute is used to check for support 17 * This file is meant to be sorted (by actual attribute name, 45 …: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alias-function-attribute 50 …https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-aligned-function-attribute 51 … gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-aligned-type-attribute 52 …https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-aligned-variable-attribute 59 * which seems to be required by gcc to apply the attribute according 63 …c.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-always_005finline-function-attribute 81 ….gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-assume_005faligned-function-attribute [all …]
|
| D | sysfs.h | 30 struct attribute { struct 41 * sysfs_attr_init - initialize a dynamically allocated sysfs attribute argument 42 * @attr: struct attribute to initialize 44 * Initialize a dynamically allocated struct attribute so we can 47 * Lockdep gives a nice error when your attribute is added to 62 * struct attribute_group - data structure used to declare an attribute group. 63 * @name: Optional: Attribute group name 64 * If specified, the attribute group will be created in 67 * attribute of the group. Will be called repeatedly for each 68 * non-binary attribute in the group. Only read/write [all …]
|
| D | counter.h | 32 * @name: attribute name 33 * @read: read callback for this attribute; may be NULL 34 * @write: write callback for this attribute; may be NULL 67 * struct counter_signal_enum_ext - Signal enum extension attribute 80 * parameter. The set callback is called when the attribute is updated; the 95 * @_name: Attribute name 110 * @_name: Attribute name ("_available" will be appended to the name) 113 * Creates a read only attribute that lists all the available enum items in a 150 * @name: attribute name 151 * @read: read callback for this attribute; may be NULL [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/netlink/ |
| D | specs.rst | 10 hand written Netlink code for each new family, command, attribute. 19 - policy tables for input attribute validation 46 all old genetlink families, strange attribute formats, binary structures etc. 148 attribute-sets 152 All families have at least one attribute set, most have multiple. 153 ``attribute-sets`` is an array, with each entry describing a single set. 157 formats seen in kernel comments). In the spec subordinate attribute sets 158 are not defined inline as a nest, but defined in a separate attribute set 170 Uniquely identifies the attribute set, operations and nested attributes 179 are contained. The ``value`` of each attribute in the fractional [all …]
|
| /kernel/linux/linux-6.6/arch/s390/hypfs/ |
| D | hypfs_vm_fs.c | 20 #define ATTRIBUTE(dir, name, member) \ macro 45 ATTRIBUTE(guest_dir, "onlinetime_us", data->el_time); in hypfs_vm_create_guest() 51 ATTRIBUTE(cpus_dir, "cputime_us", data->used_cpu); in hypfs_vm_create_guest() 52 ATTRIBUTE(cpus_dir, "capped", capped_value); in hypfs_vm_create_guest() 53 ATTRIBUTE(cpus_dir, "dedicated", dedicated_flag); in hypfs_vm_create_guest() 54 ATTRIBUTE(cpus_dir, "count", data->vcpus); in hypfs_vm_create_guest() 56 * Note: The "weight_min" attribute got the wrong name. in hypfs_vm_create_guest() 60 ATTRIBUTE(cpus_dir, "weight_min", data->ocpus); in hypfs_vm_create_guest() 61 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest() 62 ATTRIBUTE(cpus_dir, "weight_cur", data->cpu_shares); in hypfs_vm_create_guest() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | compiler_attributes.h | 7 * map to compiler attribute(s), unless one of the compilers does not support 8 * the attribute. In that case, __has_attribute is used to check for support 17 * This file is meant to be sorted (by actual attribute name, 24 …: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alias-function-attribute 29 …https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-aligned-function-attribute 30 … gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-aligned-type-attribute 31 …https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-aligned-variable-attribute 41 …/gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alloc_005fsize-function-attribute 48 * which seems to be required by gcc to apply the attribute according 52 …c.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-always_005finline-function-attribute [all …]
|
| D | sysfs.h | 30 struct attribute { struct 41 * sysfs_attr_init - initialize a dynamically allocated sysfs attribute argument 42 * @attr: struct attribute to initialize 44 * Initialize a dynamically allocated struct attribute so we can 47 * Lockdep gives a nice error when your attribute is added to 62 * struct attribute_group - data structure used to declare an attribute group. 63 * @name: Optional: Attribute group name 64 * If specified, the attribute group will be created in 67 * attribute of the group. Will be called repeatedly for each 68 * non-binary attribute in the group. Only read/write [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | amt.h | 26 /* This attribute specify mode etier Gateway or Relay. */ 28 /* This attribute specify Relay port. 29 * AMT interface is created as Gateway mode, this attribute is used 31 * AMT interface is created as Relay mode, this attribute is used 35 /* This attribute specify Gateway port. 36 * AMT interface is created as Gateway mode, this attribute is used 38 * AMT interface is created as Relay mode, this attribute is not used. 41 /* This attribute specify physical device */ 43 /* This attribute specify local ip address */ 45 /* This attribute specify Relay ip address. [all …]
|
| /kernel/linux/linux-6.6/Documentation/filesystems/ext4/ |
| D | attributes.rst | 11 all attribute names begin with “user”; this restriction seems to have 18 available for in-inode extended attribute storage. The second place 21 block to contain a pointer to a second extended attribute block (or even 23 attribute's value to be stored in a separate data block, though as of 46 The beginning of an extended attribute block is in 76 - Checksum of the extended attribute block. 83 of the extended attribute block, and the entire block (header + 109 - Attribute name index. There is a discussion of this below. 113 - Location of this attribute's value on the disk block where it is stored. 114 Multiple attributes can share the same value. For an inode attribute [all …]
|
| /kernel/linux/linux-5.10/Documentation/filesystems/ext4/ |
| D | attributes.rst | 11 all attribute names begin with “user”; this restriction seems to have 18 available for in-inode extended attribute storage. The second place 21 block to contain a pointer to a second extended attribute block (or even 23 attribute's value to be stored in a separate data block, though as of 46 The beginning of an extended attribute block is in 76 - Checksum of the extended attribute block. 83 of the extended attribute block, and the entire block (header + 109 - Attribute name index. There is a discussion of this below. 113 - Location of this attribute's value on the disk block where it is stored. 114 Multiple attributes can share the same value. For an inode attribute [all …]
|