Home
last modified time | relevance | path

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

12345678910>>...82

/linux/drivers/gpu/drm/msm/registers/
H A 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/lib/
H A 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/fs/ntfs/
H A Dattrib.c3 * NTFS attribute operations.
34 * Extended attribute, reparse point are not expected to be larger than this size.
43 * @ctx: active attribute search context if present or NULL if not
55 * attribute on return as on entry. However, the actual pointers in @ctx may
69 * the attribute has zero allocated size, i.e. there simply is no runlist.
132 * If we already have the attribute extent containing @vcn in in ntfs_map_runlist_nolock()
136 * the right attribute extent. in ntfs_map_runlist_nolock()
163 * needed attribute extent. in ntfs_map_runlist_nolock()
205 * If there is no attribute list, restoring the search context in ntfs_map_runlist_nolock()
207 * the caller supplied context. If there is an attribute list, in ntfs_map_runlist_nolock()
[all …]
/linux/include/linux/
H A 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 …]
H A 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
68 * struct attribute_group - data structure used to declare an attribute group.
69 * @name: Optional: Attribute group name
70 * If specified, the attribute group will be created in a
76 * attribute of the group. Will be called repeatedly for
77 * each non-binary attribute in the group. Only read/write
[all …]
H A Dtsm.h59 * @TSM_REPORT_GENERATION: index of the report generation number attribute
60 * @TSM_REPORT_PROVIDER: index of the provider name attribute
61 * @TSM_REPORT_PRIVLEVEL: index of the desired privilege level attribute
62 * @TSM_REPORT_PRIVLEVEL_FLOOR: index of the minimum allowed privileg level attribute
63 * @TSM_REPORT_SERVICE_PROVIDER: index of the service provider identifier attribute
64 * @TSM_REPORT_SERVICE_GUID: index of the service GUID attribute
65 * @TSM_REPORT_SERVICE_MANIFEST_VER: index of the service manifest version attribute
79 * @TSM_REPORT_INBLOB: index of the binary report input attribute
80 * @TSM_REPORT_OUTBLOB: index of the binary report output attribute
81 * @TSM_REPORT_AUXBLOB: index of the binary auxiliary data attribute
[all …]
/linux/arch/s390/hypfs/
H A Dhypfs_vm_fs.c20 #define ATTRIBUTE(dir, name, member) \ macro
44 ATTRIBUTE(guest_dir, "onlinetime_us", data->el_time); in hypfs_vm_create_guest()
50 ATTRIBUTE(cpus_dir, "cputime_us", data->used_cpu); in hypfs_vm_create_guest()
51 ATTRIBUTE(cpus_dir, "capped", capped_value); in hypfs_vm_create_guest()
52 ATTRIBUTE(cpus_dir, "dedicated", dedicated_flag); in hypfs_vm_create_guest()
53 ATTRIBUTE(cpus_dir, "count", data->vcpus); in hypfs_vm_create_guest()
55 * Note: The "weight_min" attribute got the wrong name. in hypfs_vm_create_guest()
59 ATTRIBUTE(cpus_dir, "weight_min", data->ocpus); in hypfs_vm_create_guest()
60 ATTRIBUTE(cpus_dir, "weight_max", data->cpu_max); in hypfs_vm_create_guest()
61 ATTRIBUTE(cpus_dir, "weight_cur", data->cpu_shares); in hypfs_vm_create_guest()
[all …]
/linux/drivers/platform/x86/intel/uncore-frequency/
H A Duncore-frequency-common.h41 * @uncore_attr_group: Attribute group storage
42 * @max_freq_khz_kobj_attr: Storage for kobject attribute max_freq_khz
43 * @min_freq_khz_kobj_attr: Storage for kobject attribute min_freq_khz
44 * @initial_max_freq_khz_kobj_attr: Storage for kobject attribute initial_max_freq_khz
45 * @initial_min_freq_khz_kobj_attr: Storage for kobject attribute initial_min_freq_khz
46 * @current_freq_khz_kobj_attr: Storage for kobject attribute current_freq_khz
47 * @domain_id_kobj_attr: Storage for kobject attribute domain_id
48 * @fabric_cluster_id_kobj_attr: Storage for kobject attribute fabric_cluster_id
49 * @package_id_kobj_attr: Storage for kobject attribute package_id
51 * Storage for kobject attribute elc_low_threshold_percent
[all …]
/linux/Documentation/admin-guide/pm/
H A 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/Documentation/filesystems/ext4/
H A 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/include/uapi/linux/
H A 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 …]
H A 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 …]
/linux/rust/syn/
H A Dattr.rs22 /// An attribute, like `#[repr(transparent)]`.
44 /// The `style` field of type `AttrStyle` distinguishes whether an attribute
47 /// Every attribute has a `path` that indicates the intended interpretation
48 /// of the rest of the attribute's contents. The path and the optional
50 /// attribute in three possible varieties:
53 /// path, for example the `#[test]` attribute.
82 /// # Parsing from tokens to Attribute
87 /// [`Attribute::parse_outer`] or [`Attribute::parse_inner`] depending on
95 /// use syn::{Attribute, Ident, Result, Token};
103 /// attrs: Vec<Attribute>,
[all …]
H A Dmeta.rs3 //! Facility for interpreting structured content inside of an `Attribute`.
17 /// *Warning:* When parsing attribute args **other than** the
21 /// is concealed from attribute macros by rustc. Use
22 /// [`Attribute::parse_nested_meta`] instead.
24 /// [`Attribute::parse_nested_meta`]: crate::Attribute::parse_nested_meta
28 /// This example implements an attribute macro whose invocations look like this:
37 /// The "parameters" supported by the attribute are:
151 /// - [`Attribute::parse_nested_meta`] if you have an entire `Attribute` to
153 /// better error messages because `Attribute` holds span information for all
157 /// macro and parsing the arguments to the attribute macro, i.e. the ones
[all …]
/linux/drivers/net/ethernet/intel/fm10k/
H A 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/tools/lib/bpf/
H A 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 o in libbpf_nla_parse()
[all...]
/linux/Documentation/admin-guide/gpio/
H A Dgpio-sim.rst27 **Attribute:** ``/config/gpio-sim/gpio-device/dev_name``
29 **Attribute:** ``/config/gpio-sim/gpio-device/live``
32 attribute is read-only and allows the user-space to read the platform device
33 name (e.g. ``'gpio-sim.0'``). The ``'live'`` attribute allows to trigger the
40 **Attribute:** ``/config/gpio-sim/gpio-device/gpio-bankX/chip_name``
42 **Attribute:** ``/config/gpio-sim/gpio-device/gpio-bankX/num_lines``
45 ``'chip_name'`` attribute is read-only and allows the user-space to read the
46 device name of the bank device. The ``'num_lines'`` attribute allows to specify
51 **Attribute:** ``/config/gpio-sim/gpio-device/gpio-bankX/lineY/name``
53 **Attribute:** ``/config/gpio-sim/gpio-device/gpio-bankX/lineY/valid``
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-edac15 Description: This attribute file displays how many seconds have elapsed
22 Description: This attribute file displays the type of memory controller
28 Description: This attribute file displays, in count of megabytes, of memory
34 Description: This attribute file displays the total count of uncorrectable
42 Description: This attribute file displays the number of UEs that have
49 Description: This attribute file displays the total count of correctable
59 Description: This attribute file displays the number of CEs that
69 Description: Read/Write attribute file that controls memory scrubbing.
71 writing a minimum bandwidth in bytes/sec to the attribute file.
76 the value of the attribute file will be -1.
[all …]
H A Dsysfs-devices-lpss_ltr14 The /sys/devices/.../lpss_ltr/ltr_mode attribute contains an
18 This attribute is read-only. If the device's runtime PM status
19 is not "active", attempts to read from this attribute cause
26 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
30 This attribute is read-only. If the device's runtime PM status
31 is not "active", attempts to read from this attribute cause
38 The /sys/devices/.../lpss_ltr/auto_ltr attribute contains the
42 This attribute is read-only. If the device's runtime PM status
43 is not "active", attempts to read from this attribute cause
H A Dsysfs-bus-thunderbolt22 boot attribute is set to 1.
28 Description: This attribute tells whether the system supports
31 attribute under each device.
37 Description: This attribute tells whether the system uses IOMMU
46 Description: This attribute holds current Thunderbolt security level
52 appropriate value to the authorized attribute
68 Description: This attribute is used to authorize Thunderbolt devices
72 Contents of this attribute will be 0 when the device is not
79 deauthorization attribute under domain contains 1)
83 When key attribute contains 32 byte hex string the possible
[all …]
/linux/sound/pci/asihpi/
H A Dhpicmn.c325 if (phm->u.c.attribute == HPI_METER_PEAK) { in hpi_check_control_cache_single()
328 } else if (phm->u.c.attribute == HPI_METER_RMS) { in hpi_check_control_cache_single()
345 if (phm->u.c.attribute == HPI_VOLUME_GAIN) { in hpi_check_control_cache_single()
348 } else if (phm->u.c.attribute == HPI_VOLUME_MUTE) { in hpi_check_control_cache_single()
365 if (phm->u.c.attribute == HPI_MULTIPLEXER_SOURCE) { in hpi_check_control_cache_single()
373 if (phm->u.c.attribute == HPI_CHANNEL_MODE_MODE) in hpi_check_control_cache_single()
379 if (phm->u.c.attribute == HPI_LEVEL_GAIN) { in hpi_check_control_cache_single()
386 if (phm->u.c.attribute == HPI_TUNER_FREQ) in hpi_check_control_cache_single()
388 else if (phm->u.c.attribute == HPI_TUNER_BAND) in hpi_check_control_cache_single()
390 else if (phm->u.c.attribute == HPI_TUNER_LEVEL_AVG) in hpi_check_control_cache_single()
[all …]
/linux/Documentation/hwmon/
H A Dibmpowernv.rst18 'hwmon' populates the 'sysfs' tree having attribute files, each for a given
19 sensor type and its attribute data.
22 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id'
44 sub-group. In POWER9, this attribute corresponds to
45 each OCC. Using this attribute each OCC can be asked to
57 sub-group. In POWER9, this attribute corresponds to
58 each OCC. Using this attribute each OCC can be asked to
68 sub-group. In POWER9, this attribute corresponds to
69 each OCC. Using this attribute each OCC can be asked to
79 sub-group. In POWER9, this attribute corresponds to
[all …]
/linux/include/linux/iio/
H A Dsysfs.h16 * struct iio_dev_attr - iio specific device attribute
17 * @dev_attr: underlying device attribute
21 * @buffer: the IIO buffer to which this attribute belongs to (if any)
39 * struct iio_const_attr - constant device specific attribute
41 * @string: attribute string
42 * @dev_attr: underlying device attribute
116 * @_show: output method for the attribute
117 * @_store: input method for the attribute
124 * @_show: output method for the attribute
132 * @_string: frequency string for the attribute
[all …]
/linux/drivers/hid/
H A Dhid-sensor-custom.c31 struct hid_sensor_hub_attribute_info attribute; member
34 struct attribute *attrs[HID_CUSTOM_TOTAL_ATTRS];
66 static struct attribute hid_custom_attrs[HID_CUSTOM_TOTAL_ATTRS] = {
189 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
190 sensor_inst->power_state->attribute.index, in set_power_report_state()
194 sensor_inst->report_state->attribute.report_id, in set_power_report_state()
195 sensor_inst->report_state->attribute.index, in set_power_report_state()
200 sensor_inst->power_state->attribute.logical_minimum; in set_power_report_state()
202 sensor_inst->power_state->attribute.report_id, in set_power_report_state()
203 sensor_inst->power_state->attribute.index, in set_power_report_state()
[all …]
/linux/samples/kobject/
H A Dkset-example.c37 /* a custom attribute that works just for a struct foo_obj. */
39 struct attribute attr;
54 struct attribute *attr, in foo_attr_show()
57 const struct foo_attribute *attribute; in foo_attr_show() local
60 attribute = to_foo_attr(attr); in foo_attr_show()
63 if (!attribute->show) in foo_attr_show()
66 return attribute->show(foo, attribute, buf); in foo_attr_show()
74 struct attribute *attr, in foo_attr_store()
77 const struct foo_attribute *attribute; in foo_attr_store() local
80 attribute = to_foo_attr(attr); in foo_attr_store()
[all …]

12345678910>>...82