Home
last modified time | relevance | path

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

12345678910>>...44

/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 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 …]
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
66 -----------
69 hardware-managed P-states (HWP) support. If it works in this mode, the
[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, bu
3679 __u32 set; global() member
[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/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 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 …]
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/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/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/power/
H A 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/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>
21 * lsm_name_to_attr - map an LSM attribute name to its ID
22 * @name: name of the attribute
24 * Returns the LSM attribute value associated with @name, or 0 if
45 * sys_lsm_set_self_attr - Set current task's security module attribute
46 * @attr: which attribute to set
52 * returns 0. If the attribute specified cannot be set a negative
62 * sys_lsm_get_self_attr - Return current task's security module attributes
63 * @attr: which attribute to return
[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.
57 * struct hid_sensor_hub_device - Stores the hub instance data
[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;
53 struct attribute *attr, in foo_attr_show()
56 struct foo_attribute *attribute; in foo_attr_show() local
59 attribute = to_foo_attr(attr); in foo_attr_show()
62 if (!attribute->show) in foo_attr_show()
63 return -EIO; in foo_attr_show()
65 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 …]

12345678910>>...44