Home
last modified time | relevance | path

Searched full:attribute (Results 1 – 25 of 4265) sorted by relevance

12345678910>>...171

/kernel/linux/linux-4.19/include/net/
Dnetlink.h66 * 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-4.19/lib/
Dnlattr.c18 /* For these data types, attribute length should be exactly the given
20 * attribute length does not match the expected size a warning is emitted
85 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla()
163 * @head: head of attribute stream
164 * @len: length of attribute stream
165 * @maxtype: maximum attribute type to be expected
169 * Validates all attributes in the specified attribute stream against the
228 * @maxtype: maximum attribute type to be expected
229 * @head: head of attribute stream
230 * @len: length of attribute stream
[all …]
/kernel/linux/linux-5.10/include/net/
Dnetlink.h66 * 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/
Dsysfs-devices-power13 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-4.19/Documentation/ABI/testing/
Dsysfs-devices-power13 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-5.10/lib/
Dnlattr.c18 /* For these data types, attribute length should be exactly the given
20 * attribute length does not match the expected size a warning is emitted
195 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in nla_validate_range_unsigned()
199 "invalid attribute length"); in nla_validate_range_unsigned()
212 "binary attribute size out of range"); in nla_validate_range_unsigned()
377 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla()
381 "invalid attribute length"); in validate_nla()
473 * error message/attribute pointer in validate_nla()
480 /* a nested array attribute is allowed to be empty; if its not, in validate_nla()
496 * error message/attribute pointer in validate_nla()
[all …]
/kernel/linux/linux-4.19/fs/ntfs/
Dattrib.c2 * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project.
42 * @ctx: active attribute search context if present or NULL if not
54 * attribute on return as on entry. However, the actual pointers in @ctx may
68 * the attribute has zero allocated size, i.e. there simply is no runlist.
128 * If we already have the attribute extent containing @vcn in in ntfs_map_runlist_nolock()
132 * the right attribute extent. in ntfs_map_runlist_nolock()
159 * needed attribute extent. in ntfs_map_runlist_nolock()
199 * If there is no attribute list, restoring the search context in ntfs_map_runlist_nolock()
201 * the caller supplied context. If there is an attribute list, in ntfs_map_runlist_nolock()
313 * @ni: ntfs inode of the attribute whose runlist to search
[all …]
Dinode.h49 s64 initialized_size; /* Copy from the attribute record. */
50 s64 allocated_size; /* Copy from the attribute record. */
58 * If NInoAttr() is true, the below fields describe the attribute which
59 * this fake inode belongs to. The actual inode of this attribute is
66 ATTR_TYPE type; /* Attribute type of this fake inode. */
67 ntfschar *name; /* Attribute name of this fake inode. */
68 u32 name_len; /* Attribute name length of this fake inode. */
70 the runlist of the unnamed data attribute
72 attribute (directory) or of the attribute
76 NI_NonResident is clear, the attribute is
[all …]
Dinode.c47 * @na: ntfs attribute which is being tested with
49 * Compare the ntfs attribute embedded in the ntfs specific part of the vfs
50 * inode @vi for equality with the ntfs attribute @na.
73 /* A fake inode describing an attribute. */ in ntfs_test_inode()
89 * @na: ntfs attribute which to initialize @vi to
91 * Initialize the vfs inode @vi with the values from the ntfs attribute @na in
205 * ntfs_attr_iget - obtain a struct inode corresponding to an attribute
206 * @base_vi: vfs base inode containing the attribute
207 * @type: attribute type
208 * @name: Unicode name of the attribute (NULL if unnamed)
[all …]
Dlayout.h201 * in the bitmap attribute of the mft; presumably in order to avoid accidental
207 FILE_MFT = 0, /* Master file table (mft). Data attribute
208 contains the entries and bitmap attribute
211 in data attribute. If cluster size > 4kiB,
214 FILE_LogFile = 2, /* Journalling log in data attribute. */
215 FILE_Volume = 3, /* Volume name attribute and volume information
216 attribute (flags and ntfs version). Windows
219 FILE_AttrDef = 4, /* Array of attribute definitions in data
220 attribute. */
223 data attribute. */
[all …]
/kernel/linux/linux-5.10/fs/ntfs/
Dattrib.c3 * 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 …]
Dinode.h35 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 …]
Dinode.c35 * 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 …]
Dlayout.h187 * 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/
Dcompiler_attributes.h7 * 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,
43 …: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-alias-function-attribute
48 …https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-aligned-function-attribute
49 … gcc: https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#index-aligned-type-attribute
50 …https://gcc.gnu.org/onlinedocs/gcc/Common-Variable-Attributes.html#index-aligned-variable-attribute
57 * which seems to be required by gcc to apply the attribute according
61 …c.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-always_005finline-function-attribute
79 ….gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-assume_005faligned-function-attribute
[all …]
Dsysfs.h30 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 …]
Dcounter.h32 * @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-4.19/include/linux/
Dsysfs.h30 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-5.10/Documentation/filesystems/ext4/
Dattributes.rst11 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-4.19/Documentation/filesystems/ext4/ondisk/
Dattributes.rst11 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-4.19/Documentation/hwmon/
Dhwmon-kernel-api.txt55 function wil create a name sysfs attribute pointing to this name.
60 a pointer to a list of sysfs attribute groups. The list must be NULL terminated.
61 hwmon_device_register_with_groups creates the hwmon device with name attribute
110 sysfs attribute groups.
141 attribute. This function is mandatory.
179 the update_interval attribute (HWMON_C_UPDATE_INTERVAL). The chip supports
221 A complete list of bit values indicating individual attribute support
247 attr: Attribute identifier associated with a specific attribute.
248 For example, the attribute value for HWMON_T_INPUT would be
250 attribute values please see include/linux/hwmon.h.
[all …]
Dibmpowernv17 'hwmon' populates the 'sysfs' tree having attribute files, each for a given
18 sensor type and its attribute data.
21 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
42 sub-group. In POWER9, this attribute corresponds to
43 each OCC. Using this attribute each OCC can be asked to
54 sub-group. In POWER9, this attribute corresponds to
55 each OCC. Using this attribute each OCC can be asked to
64 sub-group. In POWER9, this attribute corresponds to
65 each OCC. Using this attribute each OCC can be asked to
74 sub-group. In POWER9, this attribute corresponds to
[all …]
/kernel/linux/linux-5.10/tools/lib/bpf/
Dnlattr.c87 * Create attribute index based on a stream of attributes.
89 * @arg maxtype Maximum attribute type expected and accepted.
90 * @arg head Head of attribute stream.
91 * @arg len Length of attribute stream.
92 * @arg policy Attribute validation policy.
95 * attribute in the index array using the attribute type as index to
96 * the array. Attribute with a type greater than the maximum type
98 * compatibility. If \a policy is not NULL, the attribute will be
125 pr_warn("Attribute of type %#x found multiple times in message, " in libbpf_nla_parse()
126 "previous attribute is being ignored.\n", type); in libbpf_nla_parse()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c27 * @attr_id: Attribute ID
28 * @string: Pointer to string to be stored in attribute
31 * the attribute buffer. It will return success if provided with a valid
64 /* record attribute header, update message length */ in fm10k_tlv_attr_put_null_string()
76 * fm10k_tlv_attr_get_null_string - Get null terminated string from attribute
77 * @attr: Pointer to attribute
80 * This function pulls the string back out of the attribute and will place
102 * fm10k_tlv_attr_put_mac_vlan - Store MAC/VLAN attribute in message
104 * @attr_id: Attribute ID
109 * in the attribute buffer. It will return success if provided with a
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c27 * @attr_id: Attribute ID
28 * @string: Pointer to string to be stored in attribute
31 * the attribute buffer. It will return success if provided with a valid
64 /* record attribute header, update message length */ in fm10k_tlv_attr_put_null_string()
76 * fm10k_tlv_attr_get_null_string - Get null terminated string from attribute
77 * @attr: Pointer to attribute
80 * This function pulls the string back out of the attribute and will place
102 * fm10k_tlv_attr_put_mac_vlan - Store MAC/VLAN attribute in message
104 * @attr_id: Attribute ID
109 * in the attribute buffer. It will return success if provided with a
[all …]

12345678910>>...171