Home
last modified time | relevance | path

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

12345678910>>...41

/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
9 attribute-sets:
10 -
11 name: rpc-status
13 -
16 byte-order: big-endian
17 -
20 -
[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 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 …]
/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-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/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 typ
413 int (*set)(struct ethnl_req_info *req_info, global() member
[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 …]
H A Dvcpu.rst1 .. SPDX-License-Identifier: GPL-2.0
9 kvm_device_attr as other devices, but targets VCPU-wide settings and controls.
18 1.1. ATTRIBUTE: KVM_ARM_VCPU_PMU_V3_IRQ
19 ---------------------------------------
27 -EBUSY The PMU overflow interrupt is already set
28 -EFAULT Error reading interrupt number
29 -ENXIO PMUv3 not supported or the overflow interrupt not set
31 -ENODEV KVM_ARM_VCPU_PMU_V3 feature missing from VCPU
32 -EINVAL Invalid PMU overflow interrupt number supplied or
33 trying to set the IRQ number without using an in-kernel
[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/include/uapi/linux/
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/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/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 …]
H A Dsysfs-bus-cxl4 Contact: linux-cxl@vger.kernel.org
7 all descendant memdevs for unbind. Writing '1' to this attribute
14 Contact: linux-cxl@vger.kernel.org
17 Memory Device Output Payload in the CXL-2.0
24 Contact: linux-cxl@vger.kernel.org
34 Contact: linux-cxl@vger.kernel.org
42 Contact: linux-cxl@vger.kernel.org
46 Payload in the CXL-2.0 specification.
52 Contact: linux-cxl@vger.kernel.org
55 this attribute conveys a comma delimited list of platform
[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
64 * sys_lsm_get_self_attr - Return current task's security module attributes
65 * @attr: which attribute to return
[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.
57 * struct hid_sensor_hub_device - Stores the hub instance data
[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/kernel/
H A Dparams.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 /* Protects all built-in parameters, modules use their own param_lock */
23 /* Use the module's mutex, or if built-in use the built-in mutex */
25 #define KPARAM_MUTEX(mod) ((mod) ? &(mod)->param_lock : &param_lock)
57 list_add(&p->list, &kmalloced_params); in kmalloc_parameter()
60 return p->val; in kmalloc_parameter()
70 if (p->val == param) { in maybe_kfree_parameter()
71 list_del(&p->list); in maybe_kfree_parameter()
81 if (c == '-') in dash2underscore()
104 if (kp->flags & KERNEL_PARAM_FL_HWPARAM && in param_check_unsafe()
[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 …]
/linux/drivers/platform/mellanox/
H A Dmlxreg-io.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/hwmon-sysfs.h>
18 /* Attribute parameters. */
23 * struct mlxreg_io_priv_data - driver's private data:
29 * @mlxreg_io_dev_attr: sysfs sensor device attribute array;
30 * @group: sysfs attribute group;
31 * @groups: list of sysfs attribute group for hwmon registration;
39 struct attribute *mlxreg_io_attr[MLXREG_IO_ATT_NUM + 1];
53 ret = regmap_read(regmap, data->reg, regval); in mlxreg_io_get_reg()
60 * mask indicates which bits are not related and field bit is set zero. in mlxreg_io_get_reg()
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c1 // SPDX-License-Identifier: GPL-2.0
30 cmd->hdr.command = cpu_to_le16(CMD_MESH_ACCESS); in lbs_mesh_access()
31 cmd->hdr.size = cpu_to_le16(sizeof(*cmd)); in lbs_mesh_access()
32 cmd->hdr.result = 0; in lbs_mesh_access()
34 cmd->action = cpu_to_le16(cmd_action); in lbs_mesh_access()
50 * id in bits 14-13-12. in __lbs_mesh_config_send()
52 if (priv->mesh_tlv == TLV_TYPE_MESH_ID) in __lbs_mesh_config_send()
56 cmd->hdr.command = cpu_to_le16(command); in __lbs_mesh_config_send()
57 cmd->hdr.size = cpu_to_le16(sizeof(struct cmd_ds_mesh_config)); in __lbs_mesh_config_send()
58 cmd->hdr.result = 0; in __lbs_mesh_config_send()
[all …]
/linux/Documentation/arch/arm64/
H A Dperf.rst1 .. SPDX-License-Identifier: GPL-2.0
13 :Date: 2019-03-06
16 ------------
18 This attribute excludes userspace.
20 Userspace always runs at EL0 and thus this attribute will exclude EL0.
24 --------------
26 This attribute excludes the kernel.
31 For the host this attribute will exclude EL1 and additionally EL2 on a VHE
34 For the guest this attribute will exclude EL1. Please note that EL2 is
39 ----------
[all …]

12345678910>>...41