Home
last modified time | relevance | path

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

12345678910>>...45

/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/include/linux/
Dcounter.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 * struct counter_signal_ext - Counter Signal extensions
32 * @name: attribute name
33 * @read: read callback for this attribute; may be NULL
34 * @write: write callback for this attribute; may be NULL
48 * struct counter_signal - Counter Signal node
50 * @name: device-specific Signal name; ideally, this should match the name
67 * struct counter_signal_enum_ext - Signal enum extension attribute
70 * @set: Set callback function; may be NULL
74 * Signal extension attributes. Enum style attributes are those which have a set
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2020 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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-counter3 Contact: linux-iio@vger.kernel.org
9 Contact: linux-iio@vger.kernel.org
16 Contact: linux-iio@vger.kernel.org
23 Contact: linux-iio@vger.kernel.org
33 An upper or lower limit is set, mimicking limit switches
34 in the mechanical counterpart. The upper limit is set to
35 the Count Y ceiling value, while the lower limit is set
42 non-recycle:
44 underflow takes place. The counter is re-enabled when a
48 modulo-n:
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]

12345678910>>...45