Home
last modified time | relevance | path

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

12345678910>>...44

/linux/Documentation/netlink/specs/
H A Dnftables.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: netlink-raw
7 doc: >-
11 -
15 -
16 name: nfgen-family
18 -
21 -
22 name: res-id
[all …]
H A Dnfsd.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 uapi-header: linux/nfsd_netlink.h
9 attribute-sets:
10 -
11 name: rpc-status
13 -
16 byte-order: big-endian
17 -
20 -
[all …]
H A Ddevlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
10 -
12 name: sb-pool-type
14 -
16 -
18 -
20 name: port-type
22 -
[all …]
H A Dethtool.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 protocol: genetlink-legacy
8 uapi-header: linux/ethtool_netlink_generated.h
10 c-family-name: ethtool-genl-name
11 c-version-name: ethtool-genl-version
14 -
15 name: udp-tunnel-type
16 enum-name:
18 entries: [vxlan, geneve, vxlan-gpe]
[all …]
H A Dmptcp_pm.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: genetlink-legacy
7 c-family-name: mptcp-pm-name
8 c-version-name: mptcp-pm-ver
9 max-by-define: true
10 kernel-policy: per-op
11 cmd-cnt-name: --mptcp-pm-cmd-after-last
14 -
16 name: event-type
[all …]
H A Dtc.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
4 protocol: netlink-raw
5 uapi-header: linux/pkt_cls.h
8 doc: >-
13 -
18 -
21 -
25 -
28 -
[all …]
H A Dpsp.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
9 -
12 entries: [hdr0-aes-gcm-128, hdr0-aes-gcm-256,
13 hdr0-aes-gmac-128, hdr0-aes-gmac-256]
15 attribute-sets:
16 -
19 -
25 -
29 -
[all …]
/linux/Documentation/userspace-api/netlink/
H A 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 - see :ref:`Documentation/netlink/specs/index.rst <…
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 …]
H A Dnetlink-raw.rst1 .. SPDX-License-Identifier: BSD-3-Clause
8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol
14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>`
17 information. The raw netlink families also make use of type-specific
18 sub-messages.
21 -------
29 .. code-block:: yaml
31 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
33 name: rt-addr
34 protocol: netlink-raw
[all …]
H A 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 …]
H A Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
15 -------
28 Attribute type nests
29 --------------------
31 New Netlink families should use ``multi-attr`` to define arrays.
33 define array types reusing attribute type to carry information.
35 For reference the ``multi-attr`` array may look like this::
37 [ARRAY-ATTR]
41 [SOME-OTHER-ATTR]
[all …]
/linux/Documentation/ABI/testing/
H A 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 …]
H A 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
41 If the counter device supports compare registers -- registers
[all …]
H A Dsysfs-driver-qat_rl4 Contact: qat-linux@intel.com
6 (WO) This attribute is used to perform an operation on an SLA.
9 Input values must be filled through the associated attribute in
21 * get: Returns the configuration of the specified SLA in id attribute
25 * update: Updates the SLA with new values set in the following attributes
28 * rm: Removes the specified SLA in the id attribute.
34 This attribute is only available for qat_4xxx and qat_6xxx devices.
39 Contact: qat-linux@intel.com
45 The value is a 64-bit bit mask and is written/displayed in hex.
50 i.e. the one provided with the srv attribute. The service
[all …]
/linux/Documentation/admin-guide/pm/
H A 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 …]
/linux/Documentation/admin-guide/gpio/
H A Dgpio-virtuser.rst1 .. SPDX-License-Identifier: GPL-2.0-only
8 consumer devices can be instantiated from device-tree or over configfs.
10 A virtual consumer uses the driver-facing GPIO APIs and allows to cover it with
11 automated tests driven by user-space. The GPIOs are requested using
15 -----------------------
17 The gpio-consumer module registers a configfs subsystem called
18 ``'gpio-virtuser'``. For details of the configfs filesystem, please refer to
25 **Group:** ``/config/gpio-virtuser``
27 This is the top directory of the gpio-consumer configfs tree.
29 **Group:** ``/config/gpio-consumer/example-name``
[all …]
H A 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/include/uapi/linux/
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2025 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 …]
H A 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/net/ethtool/
H A Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0-only */
31 * ethnl_strz_size() - calculate attribute length for fixed size string
34 * Return: total length of an attribute with null terminated string from @s
42 * ethnl_put_strz() - put string attribute with fixed size string
44 * @attrtype: attribute type
47 * Puts an attribute with null terminated string from @s into the message.
59 return -EMSGSIZE; in ethnl_put_strz()
67 * ethnl_update_u32() - update u32 value from NLA_U32 attribute
69 * @attr: netlink attribute with new value or null
72 * Copy the u32 value from NLA_U32 netlink attribute @attr into variable
[all …]
/linux/Documentation/filesystems/ext4/
H A 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/Documentation/virt/kvm/devices/
H A 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/include/net/
H A 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/Documentation/netlink/
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
27 required: [ name, doc, attribute-sets, operations ]
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
37 self.ident_name = self.name.replace('-', '_')
119 value_start = self.yaml.get('value-start', 0)
150 """ Single Netlink attribute type
152 Represents a single attribute type within an attr space.
155 type string, attribute type
157 attr_set Attribute Set containing this attr
165 selector string, name of attribute used to select
166 sub-message type
168 is_auto_scalar bool, attr is a variable-size scalar
[all …]

12345678910>>...44