Home
last modified time | relevance | path

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

12345678910>>...124

/linux-6.12.1/include/net/
Dnetlink.h67 * nlmsg_find_attr() find an attribute in a message
79 * Attribute Format:
90 * struct nlattr netlink attribute header
92 * Attribute Construction:
93 * nla_reserve(skb, type, len) reserve room for an attribute
94 * nla_reserve_nohdr(skb, len) reserve room for an attribute w/o hdr
95 * nla_put(skb, type, len, data) add attribute to skb
96 * nla_put_nohdr(skb, len, data) add attribute w/o hdr
99 * Attribute Construction for Basic Types:
100 * nla_put_u8(skb, type, value) add u8 attribute to skb
[all …]
/linux-6.12.1/drivers/gpu/drm/msm/registers/
Drules-fd.xsd65 <attribute name="name" type="string" use="required" />
66 <attribute name="email" type="string" use="required" />
73 <attribute name="name" type="string" use="required" />
92 <attribute name="file" type="string" use="required" />
105 <attribute name="year" type="nonNegativeInteger" use="optional" />
117 <attribute name="name" type="NMTOKEN" use="required" />
118 <attribute name="prefix" type="NMTOKENS" use="optional" />
119 <attribute name="width" type="rng:DomainWidth" use="optional" />
120 <attribute name="varset" type="NMTOKEN" use="optional" />
121 <attribute name="variants" type="string" use="optional" />
[all …]
/linux-6.12.1/lib/
Dnlattr.c19 /* For these data types, attribute length should be exactly the given
21 * attribute length does not match the expected size a warning is emitted
214 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in nla_validate_range_unsigned()
218 "invalid attribute length"); in nla_validate_range_unsigned()
231 "binary attribute size out of range"); in nla_validate_range_unsigned()
414 pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", in validate_nla()
418 "invalid attribute length"); in validate_nla()
457 "invalid attribute length"); in validate_nla()
519 * error message/attribute pointer in validate_nla()
526 /* a nested array attribute is allowed to be empty; if its not, in validate_nla()
[all …]
/linux-6.12.1/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 …]
Dsysfs-class-firmware-attributes12 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 …]
/linux-6.12.1/Documentation/userspace-api/netlink/
Dspecs.rst10 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.
143 attribute-sets
147 All families have at least one attribute set, most have multiple.
148 ``attribute-sets`` is an array, with each entry describing a single set.
152 formats seen in kernel comments). In the spec subordinate attribute sets
153 are not defined inline as a nest, but defined in a separate attribute set
165 Uniquely identifies the attribute set, operations and nested attributes
174 are contained. The ``value`` of each attribute in the fractional
[all …]
Dnetlink-raw.rst66 :doc:`tc<../../networking/netlink_spec/tc>` use attribute nesting as an
86 those shared characteristics we refer to the payload of the wrapper attribute as
89 A sub-message attribute uses the value of another attribute as a selector key to
90 choose the right sub-message format. For example if the following attribute has
97 and we encounter the following attribute spec:
108 the value of the ``kind`` attribute i.e. ``gre`` as the key to choose the
118 attribute-set: linkinfo-bridge-attrs
121 attribute-set: linkinfo-gre-attrs
124 attribute-set: linkinfo-geneve-attrs
126 This would decode the attribute value as a sub-message with the attribute-set
[all …]
/linux-6.12.1/arch/s390/hypfs/
Dhypfs_vm_fs.c20 #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 …]
/linux-6.12.1/fs/bcachefs/
Dsysfs.h9 struct attribute;
12 extern struct attribute *bch2_fs_files[];
13 extern struct attribute *bch2_fs_counters_files[];
14 extern struct attribute *bch2_fs_internal_files[];
15 extern struct attribute *bch2_fs_opts_dir_files[];
16 extern struct attribute *bch2_fs_time_stats_files[];
17 extern struct attribute *bch2_dev_files[];
30 static struct attribute *bch2_fs_files[] = {};
31 static struct attribute *bch2_fs_counters_files[] = {};
32 static struct attribute *bch2_fs_internal_files[] = {};
[all …]
/linux-6.12.1/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,
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 …]
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 a
70 * attribute of the group. Will be called repeatedly for
71 * each non-binary attribute in the group. Only read/write
[all …]
Dtsm.h58 * @TSM_REPORT_GENERATION: index of the report generation number attribute
59 * @TSM_REPORT_PROVIDER: index of the provider name attribute
60 * @TSM_REPORT_PRIVLEVEL: index of the desired privilege level attribute
61 * @TSM_REPORT_PRIVLEVEL_FLOOR: index of the minimum allowed privileg level attribute
62 * @TSM_REPORT_SERVICE_PROVIDER: index of the service provider identifier attribute
63 * @TSM_REPORT_SERVICE_GUID: index of the service GUID attribute
64 * @TSM_REPORT_SERVICE_MANIFEST_VER: index of the service manifest version attribute
78 * @TSM_REPORT_INBLOB: index of the binary report input attribute
79 * @TSM_REPORT_OUTBLOB: index of the binary report output attribute
80 * @TSM_REPORT_AUXBLOB: index of the binary auxiliary data attribute
[all …]
/linux-6.12.1/Documentation/admin-guide/gpio/
Dgpio-virtuser.rst31 **Attribute:** ``/config/gpio-consumer/example-name/live``
33 **Attribute:** ``/config/gpio-consumer/example-name/dev_name``
37 The read-only ``dev_name`` attribute exposes the name of the device as it will
42 The ``'live'`` attribute allows to trigger the actual creation of the device
60 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/key``
62 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/offset``
64 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/drive``
66 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/pull``
68 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/active_low``
70 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/transitory``
[all …]
/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.h28 * @uncore_attr_group: Attribute group storage
29 * @max_freq_khz_kobj_attr: Storage for kobject attribute max_freq_khz
30 * @mix_freq_khz_kobj_attr: Storage for kobject attribute min_freq_khz
31 * @initial_max_freq_khz_kobj_attr: Storage for kobject attribute initial_max_freq_khz
32 * @initial_min_freq_khz_kobj_attr: Storage for kobject attribute initial_min_freq_khz
33 * @current_freq_khz_kobj_attr: Storage for kobject attribute current_freq_khz
34 * @domain_id_kobj_attr: Storage for kobject attribute domain_id
35 * @fabric_cluster_id_kobj_attr: Storage for kobject attribute fabric_cluster_id
36 * @package_id_kobj_attr: Storage for kobject attribute package_id
38 Storage for kobject attribute elc_low_threshold_percent
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/Documentation/admin-guide/pm/
Dintel_uncore_frequency_scaling.rst44 Out of reset, this attribute represent the maximum possible frequency.
45 This is a read-only attribute. If users adjust max_freq_khz,
46 they can always go back to maximum using the value from this attribute.
49 Out of reset, this attribute represent the minimum possible frequency.
50 This is a read-only attribute. If users adjust min_freq_khz,
51 they can always go back to minimum using the value from this attribute.
54 This attribute is used to set the maximum uncore frequency.
57 This attribute is used to set the minimum uncore frequency.
60 This attribute is used to get the current uncore frequency.
92 This attribute is used to get the power domain id of this instance.
[all …]
/linux-6.12.1/include/uapi/linux/
Damt.h26 /* 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 …]
Dnetlink.h137 * @NLMSGERR_ATTR_OFFS: offset of the invalid attribute in the original
142 * @NLMSGERR_ATTR_POLICY: policy for a rejected attribute
143 * @NLMSGERR_ATTR_MISS_TYPE: type of a missing required attribute,
144 * %NLMSGERR_ATTR_MISS_NEST will not be present if the attribute was
146 * @NLMSGERR_ATTR_MISS_NEST: offset of the nest where attribute was missing
148 * @NLMSGERR_ATTR_MAX: highest attribute number
237 * | N | O | Attribute Type |
252 /* Generic 32 bitflags attribute content sent to the kernel.
272 * Normally, it should be retrieved via a dump inside another attribute
277 * enum netlink_attribute_type - type of an attribute
[all …]
Dnl80211.h132 * the %NL80211_ATTR_SUPPORTED_IFTYPES attribute, but by listing the
141 * is exported in the %NL80211_ATTR_SOFTWARE_IFTYPES attribute.
144 * in the %NL80211_ATTR_INTERFACE_COMBINATIONS attribute. Basically,
196 * %NL80211_ATTR_WANT_1X_4WAY_HS attribute flag. Drivers supporting this
197 * offload may reject the %NL80211_CMD_CONNECT when the attribute flag is
284 * attribute given in wiphy capabilities.
331 * to or will include the new %NL80211_ATTR_MLO_LINKS attribute.
333 * now need to be given the %NL80211_ATTR_MLO_LINK_ID attribute, e.g. to
383 * attribute %NL80211_ATTR_IFINDEX. If multiple BSSID advertisements are
533 * using the %NL80211_ATTR_IE attribute. The first cycle of the
[all …]
/linux-6.12.1/Documentation/netlink/specs/
Dnftables.yaml229 attribute-sets:
1089 attribute-set: expr-bitwise-attrs
1092 attribute-set: expr-cmp-attrs
1095 attribute-set: expr-counter-attrs
1098 attribute-set: expr-ct-attrs
1101 attribute-set: expr-fib-attrs
1104 attribute-set: expr-flow-offload-attrs
1107 attribute-set: expr-immediate-attrs
1110 attribute-set: expr-lookup-attrs
1113 attribute-set: expr-meta-attrs
[all …]
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_tlv.c44 * @msg: Message header we are adding flag attribute to
45 * @attr_id: ID of flag attribute we are adding to message
47 * Return: -ENOSPC if there is no room for the attribute. Otherwise 0.
49 * Adds a 1 DWORD flag attribute to the message. The presence of this
50 * attribute can be used as a boolean value indicating true, otherwise the
66 /* Record attribute type and size */ in fbnic_tlv_attr_put_flag()
79 * @msg: Message header we are adding flag attribute to
80 * @attr_id: ID of flag attribute we are adding to message
84 * Return: -ENOSPC if there is no room for the attribute. Otherwise 0.
108 /* Record attribute type and size */ in fbnic_tlv_attr_put_value()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/Documentation/netlink/
Dnetlink-raw.yaml21 required: [ name, doc, attribute-sets, operations ]
130 The netlink attribute type. Members of type 'binary' or 'pad'
138 description: Documentation for the struct member attribute.
141 description: Name of the enum type used for the attribute.
174 attribute-sets:
175 description: Definition of attribute spaces for this family.
178 description: Definition of a single attribute space.
193 Name for the enum type of the attribute, if empty no name will be used.
208 description: The explicit name for last member of attribute enum.
222 description: The netlink attribute type
[all …]
Dgenetlink-legacy.yaml26 required: [ name, doc, attribute-sets, operations ]
133 description: The netlink attribute type
140 description: Documentation for the struct member attribute.
143 description: Name of the enum type used for the attribute.
153 attribute-sets:
154 description: Definition of attribute spaces for this family.
157 description: Definition of a single attribute space.
172 Name for the enum type of the attribute, if empty no name will be used.
187 description: The explicit name for last member of attribute enum.
201 description: The netlink attribute type
[all …]

12345678910>>...124