Home
last modified time | relevance | path

Searched +full:attribute +full:- +full:set (Results 1 – 25 of 1143) sorted by relevance

12345678910>>...46

/Linux-v6.6/Documentation/userspace-api/netlink/
Dspecs.rst1 .. SPDX-License-Identifier: BSD-3-Clause
10 hand written Netlink code for each new family, command, attribute.
17 - the C uAPI header
18 - documentation of the protocol as a ReST file
19 - policy tables for input attribute validation
20 - operation tables
25 See :doc:`intro-specs` for a practical starting guide.
28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)``
40 - ``genetlink`` - most streamlined, should be used by all new families
41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing
[all …]
Dc-code-gen.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 allowed in older families by the ``genetlink-c`` protocol level,
14 of ``name`` in an attribute, and ``$family`` is the name of the
17 The upper case is used to denote literal values, e.g. ``$family-CMD``
22 and with dashes (``-``) replaced by underscores (``_``).
25 appended (``do`` -> ``do_``).
30 ``c-family-name`` controls the name of the ``#define`` for the family
31 name, default is ``$family-FAMILY-NAME``.
33 ``c-version-name`` controls the name of the ``#define`` for the version
34 of the family, default is ``$family-FAMILY-VERSION``.
[all …]
Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
14 Attribute type nests
15 --------------------
17 New Netlink families should use ``multi-attr`` to define arrays.
19 define array types reusing attribute type to carry information.
21 For reference the ``multi-attr`` array may look like this::
23 [ARRAY-ATTR]
27 [SOME-OTHER-ATTR]
28 [ARRAY-ATTR]
[all …]
/Linux-v6.6/Documentation/netlink/specs/
Dethtool.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 -
11 name: udp-tunnel-type
12 enum-name:
14 entries: [ vxlan, geneve, vxlan-gpe ]
15 -
20 attribute-sets:
21 -
24 -
[all …]
Ddevlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 -
12 name: sb-pool-type
14 -
16 -
19 attribute-sets:
20 -
22 name-prefix: devlink-attr-
24 -
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-class-firmware-attributes1 What: /sys/class/firmware-attributes/*/attributes/*/
12 Unless otherwise specified in an attribute description all attributes are optional
13 and will accept UTF-8 input.
16 A file that can be read to obtain the type of attribute.
17 This attribute is mandatory.
21 - enumeration: a set of pre-defined valid values
22 - integer: a range of numerical values
23 - string
26 -----------------
27 - ordered-list - a set of ordered list valid values
[all …]
Dsysfs-bus-counter3 Contact: linux-iio@vger.kernel.org
7 Valid attribute values are boolean.
11 Contact: linux-iio@vger.kernel.org
16 MTCLKA-MTCLKB:
20 MTCLKC-MTCLKD:
26 Contact: linux-iio@vger.kernel.org
28 Discrete set of available values for the respective device
33 Contact: linux-iio@vger.kernel.org
39 Contact: linux-iio@vger.kernel.org
45 Contact: linux-iio@vger.kernel.org
[all …]
Dsysfs-bus-acpi5 This attribute indicates the full path of ACPI namespace
17 This attribute indicates the PNP IDs of the device object.
25 This attribute indicates the hardware ID (_HID) of the
34 This attribute contains the output of the device object's
41 This attribute contains the output of the device object's
50 This attribute contains the output of the device object's
57 Writing 1 to this attribute will trigger hot removal of
72 Bit [0] Set if the device is present.
73 Bit [1] Set if the device is enabled and decoding its
75 Bit [2] Set if the device should be shown in the UI.
[all …]
Dsysfs-devices-edac3 Contact: linux-edac@vger.kernel.org
4 Description: This write-only control file will zero all the statistical
14 Contact: linux-edac@vger.kernel.org
15 Description: This attribute file displays how many seconds have elapsed
21 Contact: linux-edac@vger.kernel.org
22 Description: This attribute file displays the type of memory controller
27 Contact: linux-edac@vger.kernel.org
28 Description: This attribute file displays, in count of megabytes, of memory
33 Contact: linux-edac@vger.kernel.org
34 Description: This attribute file displays the total count of uncorrectable
[all …]
/Linux-v6.6/include/uapi/linux/
Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2023 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
132 * the %NL80211_ATTR_SUPPORTED_IFTYPES attribute, but by listing the
[all …]
Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 #define NETLINK_ISCSI 8 /* Open-iSCSI */
45 * struct nlmsghdr - fixed format metadata header of Netlink messages
99 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
106 NLMSG_ALIGN((nlh)->nlmsg_len)))
108 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
109 (nlh)->nlmsg_len <= (len))
110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
123 * followed by the message contents unless NETLINK_CAP_ACK was set
[all …]
/Linux-v6.6/net/ethtool/
Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0-only */
27 * ethnl_strz_size() - calculate attribute length for fixed size string
30 * Return: total length of an attribute with null terminated string from @s
38 * ethnl_put_strz() - put string attribute with fixed size string
40 * @attrtype: attribute type
43 * Puts an attribute with null terminated string from @s into the message.
55 return -EMSGSIZE; in ethnl_put_strz()
63 * ethnl_update_u32() - update u32 value from NLA_U32 attribute
65 * @attr: netlink attribute with new value or null
68 * Copy the u32 value from NLA_U32 netlink attribute @attr into variable
[all …]
/Linux-v6.6/fs/ntfs/
Dinode.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of
4 * the Linux-NTFS project.
6 * Copyright (c) 2001-2007 Anton Altaparmakov
30 * The NTFS in-memory inode structure. It is just used as an extension to the
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
46 * pointed to by base_ntfs_ino and nr_extents is always set to -1 (see
[all …]
Dlayout.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS
6 * Copyright (c) 2001-2005 Anton Altaparmakov
71 approx. 4.7x10^21 bytes. (-; */
117 * operator! (-8
163 * been written to disk. The values 0 and -1 (ie. 0xffff) are not used. All
165 * are set to it (during writing). If they are not, an incomplete multi sector
170 * (obviously) finish before the last le16 of the first 512-byte sector.
175 NTFS_RECORD_TYPE magic; /* A four-byte magic identifying the record
187 * in the bitmap attribute of the mft; presumably in order to avoid accidental
[all …]
Dinode.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * inode.c - NTFS kernel inode handling.
5 * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
31 * ntfs_test_inode - compare two (possibly fake) inodes for equality
35 * Compare the ntfs attribute embedded in the ntfs specific part of the vfs
36 * inode @vi for equality with the ntfs attribute @data.
38 * If searching for the normal file/directory inode, set @na->type to AT_UNUSED.
39 * @na->name and @na->name_len are then ignored.
51 if (vi->i_ino != na->mft_no) in ntfs_test_inode()
57 if (unlikely(na->type != AT_UNUSED)) in ntfs_test_inode()
[all …]
/Linux-v6.6/Documentation/filesystems/ext4/
Dattributes.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -------------------
11 all attribute names begin with “user”; this restriction seems to have
17 sb.inode_size = 256, then there are 256 - (128 + 28) = 100 bytes
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
32 .. list-table::
34 :header-rows: 1
36 * - Offset
[all …]
/Linux-v6.6/Documentation/admin-guide/gpio/
Dgpio-sim.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
6 The configfs GPIO Simulator (gpio-sim) provides a way to create simulated GPIO
12 ------------------------
14 The gpio-sim module registers a configfs subsystem called ``'gpio-sim'``. For
21 **Group:** ``/config/gpio-sim``
23 This is the top directory of the gpio-sim configfs tree.
25 **Group:** ``/config/gpio-sim/gpio-device``
27 **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
[all …]
/Linux-v6.6/Documentation/admin-guide/pm/
Dintel_uncore_frequency_scaling.rst1 .. SPDX-License-Identifier: GPL-2.0
8 :Copyright: |copy| 2022-2023 Intel Corporation
13 ------------
18 algorithms monitor workload usage of uncore and set a desirable frequency.
21 want to have control over it. The objective is similar to allowing users to set
30 ---------------
44 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.
[all …]
Dintel_pstate.rst1 .. SPDX-License-Identifier: GPL-2.0
22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.]
24 For the processors supported by ``intel_pstate``, the P-state concept is broader
27 information about that). For this reason, the representation of P-states used
32 ``intel_pstate`` maps its internal representation of P-states to frequencies too
38 Since the hardware P-state selection interface used by ``intel_pstate`` is
43 time the corresponding CPU is taken offline and need to be re-initialized when
47 only way to pass early-configuration-time parameters to it is via the kernel
66 -----------
69 hardware-managed P-states (HWP) support. If it works in this mode, the
[all …]
/Linux-v6.6/Documentation/virt/kvm/devices/
Dvm.rst1 .. SPDX-License-Identifier: GPL-2.0
9 struct kvm_device_attr as other devices, but targets VM-wide settings
20 1.1. ATTRIBUTE: KVM_S390_VM_MEM_ENABLE_CMMA
21 -------------------------------------------
24 :Returns: -EBUSY if a vcpu is already defined, otherwise 0
28 1.2. ATTRIBUTE: KVM_S390_VM_MEM_CLR_CMMA
29 ----------------------------------------
32 :Returns: -EINVAL if CMMA was not enabled;
38 1.3. ATTRIBUTE KVM_S390_VM_MEM_LIMIT_SIZE
39 -----------------------------------------
[all …]
/Linux-v6.6/include/net/
Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * ------------------------------------------------------------------------
14 * ------------------------------------------------------------------------
17 * <--- nlmsg_total_size(payload) --->
18 * <-- nlmsg_msg_size(payload) ->
19 * +----------+- - -+-------------+- - -+-------- - -
21 * +----------+- - -+-------------+- - -+-------- - -
22 * nlmsg_data(nlh)---^ ^
23 * nlmsg_next(nlh)-----------------------+
26 * <---------------------- nlmsg_len(nlh) --------------------->
[all …]
/Linux-v6.6/Documentation/power/
Dpower_supply_class.rst8 properties to user-space.
10 It defines core set of attributes, which should be applicable to (almost)
14 Each attribute has well defined meaning, up to unit of measure used. While
20 The core attribute set is subject to the standard Linux evolution (i.e.
21 if it will be found that some attribute is applicable to many power supply
22 types or their drivers, it can be added to the core set).
34 Power supply class has predefined set of attributes, this eliminates code
38 So, userspace gets predictable set of attributes and their units for any
60 +--------------------------------------------------------------------------+
61 | **Charge/Energy/Capacity - how to not confuse** |
[all …]
/Linux-v6.6/include/linux/
Dhid-sensor-hub.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/hid-sensor-ids.h>
15 * struct hid_sensor_hub_attribute_info - Attribute info
17 * @attrib_id: Attribute id for this attribute.
20 * @units: Measurment unit for this attribute.
23 * @logical_minimum: Logical minimum value for this attribute.
24 * @logical_maximum: Logical maximum value for this attribute.
39 * struct sensor_hub_pending - Synchronous read pending information
43 * @attr_usage_id: Usage Id of a field, E.g. X-AXIS for a gyro.
57 * struct hid_sensor_hub_device - Stores the hub instance data
[all …]
/Linux-v6.6/include/linux/iio/
Diio.h1 /* SPDX-License-Identifier: GPL-2.0-only */
39 * struct iio_chan_spec_ext_info - Extended channel info attribute
40 * @name: Info attribute name
41 * @shared: Whether this attribute is shared between all channels.
42 * @read: Read callback for this info attribute, may be NULL.
43 * @write: Write callback for this info attribute, may be NULL.
58 * struct iio_enum - Enum channel info attribute
61 * @set: Set callback function, may be NULL.
65 * Enum style attributes are those which have a set of strings which map to
68 * contains a list of all available items. The set callback will be called when
[all …]
/Linux-v6.6/drivers/staging/greybus/
Daudio_manager_module.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2015-2016 Google Inc.
22 struct attribute attr;
32 struct attribute *attr, char *buf) in gb_audio_module_attr_show()
34 struct gb_audio_manager_module_attribute *attribute; in gb_audio_module_attr_show() local
37 attribute = to_gb_audio_module_attr(attr); in gb_audio_module_attr_show()
40 if (!attribute->show) in gb_audio_module_attr_show()
41 return -EIO; in gb_audio_module_attr_show()
43 return attribute->show(module, attribute, buf); in gb_audio_module_attr_show()
47 struct attribute *attr, in gb_audio_module_attr_store()
[all …]

12345678910>>...46