Home
last modified time | relevance | path

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

12345678910>>...42

/linux/Documentation/netlink/specs/
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
10 -
12 name: cache-type
14 -
16 name: export-flags
19 - readonly
20 - insecure-port
21 - rootsquash
[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 Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
8 -
14 attribute
16 -
20 -
23 render-max: true
24 -
26 name: lock-status
29 DPLL_A_LOCK_STATUS attribute
[all …]
H A Dovpn.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 # Copyright (c) 2024-2025, OpenVPN Inc.
7 ---
15 -
17 name: nonce-tail-size
19 -
21 name: cipher-alg
22 entries: [none, aes-gcm, chacha20-poly1305]
23 -
25 name: del-peer-reason
[all …]
H A Dnetdev.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 doc: >-
9 -
11 name: page-size
17 -
19 name: xdp-act
20 render-max: true
22 -
24 doc: >-
[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-2026 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 */
30 * ethnl_strz_size() - calculate attribute length for fixed size string
33 * Return: total length of an attribute with null terminated string from @s
41 * ethnl_put_strz() - put string attribute with fixed size string
43 * @attrtype: attribute type
46 * Puts an attribute with null terminated string from @s into the message.
58 return -EMSGSIZE; in ethnl_put_strz()
66 * ethnl_update_u32() - update u32 value from NLA_U32 attribute
68 * @attr: netlink attribute with new value or null
71 * Copy the u32 value from NLA_U32 netlink attribute @attr into variable
[all …]
/linux/Documentation/admin-guide/gpio/
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 …]
H A Dgpio-aggregator.rst1 .. SPDX-License-Identifier: GPL-2.0-only
11 -----------------------------
15 system permissions, on an all-or-nothing basis: either a GPIO controller is
18 The GPIO Aggregator provides access control for a set of one or more GPIOs, by
26 write-only attribute files in sysfs.
28 /sys/bus/platform/drivers/gpio-aggregator/
35 .. code-block:: none
48 is a comma-separated list of GPIO offsets and/or
52 line 19 of "e6052000.gpio" and GPIO lines 20-21 of
55 .. code-block:: sh
[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/Documentation/userspace-api/netlink/
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/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)?$
22 len-or-limit:
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 # pylint: disable=missing-function-docstring, too-many-instance-attributes, too-many-branches
47 self.ident_name = self.name.replace('-', '_')
128 value_start = self.yaml.get('value-start', 0)
159 """ Single Netlink attribute type
161 Represents a single attribute type within an attr space.
164 type string, attribute type
166 attr_set Attribute Set containing this attr
174 selector string, name of attribute used to select
175 sub-message type
[all …]
/linux/Documentation/ABI/testing/
H A 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 …]
H A 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/security/
H A Dlsm_syscalls.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2022 Casey Schaufler <casey@schaufler-ca.com>
23 * lsm_name_to_attr - map an LSM attribute name to its ID
24 * @name: name of the attribute
26 * Returns the LSM attribute value associated with @name, or 0 if
47 * sys_lsm_set_self_attr - Set current task's security module attribute
48 * @attr: which attribute to set
54 * returns 0. If the attribute specified cannot be set a negative
62 rc = mutex_lock_interruptible(&current->signal->cred_guard_mutex); in SYSCALL_DEFINE4()
66 mutex_unlock(&current->signal->cred_guard_mutex); in SYSCALL_DEFINE4()
[all …]
/linux/Documentation/admin-guide/pm/
H A 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
69 -----------
72 hardware-managed P-states (HWP) support. If it works in this mode, the
[all …]
/linux/Documentation/dev-tools/kunit/
H A Drunning_tips.rst1 .. SPDX-License-Identifier: GPL-2.0
11 --------------------------
15 .. code-block:: bash
18 ( cd "$(git rev-parse --show-toplevel)" && ./tools/testing/kunit/kunit.py run "$@" )
26 -------------------------
33 .. code-block:: bash
35 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig
40 .. code-block:: bash
42 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig
49 However, if we wanted to define a set of tests in a less ad hoc way, the next
[all …]
/linux/include/linux/
H A 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: Measurement 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.
46 * @index: Current write index into raw_data for multi-byte reads.
[all …]
H A Ddevice.h1 // SPDX-License-Identifier: GPL-2.0
3 * device.h - generic, centralized driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (c) 2008-2009 Novell Inc.
9 * See Documentation/driver-api/driver-model/ for more information.
50 * struct subsys_interface - interfaces to device functions
82 * This identifies the device type and carries type-specific
99 * struct device_attribute - Interface for exporting device attributes.
100 * @attr: sysfs attribute definition.
[all …]
/linux/samples/kobject/
H A Dkset-example.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@kroah.com>
37 /* 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()
64 return -EIO; in foo_attr_show()
66 return attribute->show(foo, attribute, buf); in foo_attr_show()
[all …]

12345678910>>...42