/linux/Documentation/netlink/specs/ |
H A D | nftables.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 4 protocol: netlink-raw 11 - 15 - 16 name: nfgen-family 18 - 21 - 22 name: res-id 23 byte-order: big-endian 25 - [all …]
|
H A D | nfsd.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 uapi-header: linux/nfsd_netlink.h 9 attribute-sets: 10 - 11 name: rpc-status 13 - 16 byte-order: big-endian 17 - 20 - 23 - [all …]
|
H A D | devlink.yaml | 1 # 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 - 18 - 20 name: port-type 22 - 24 - [all …]
|
H A D | ethtool.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 8 uapi-header: linux/ethtool_netlink_generated.h 11 - 12 name: udp-tunnel-type 13 enum-name: 15 entries: [ vxlan, geneve, vxlan-gpe ] 16 enum-cnt-name: __ethtool-udp-tunnel-type-cnt 17 render-max: true 18 - [all …]
|
H A D | mptcp_pm.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 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 17 enum-name: mptcp-event-type [all …]
|
H A D | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 8 - 14 attribute 16 - 20 - 23 render-max: true 24 - 26 name: lock-status 29 DPLL_A_LOCK_STATUS attribute 31 - [all …]
|
/linux/Documentation/userspace-api/netlink/ |
H A D | specs.rst | 1 .. 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/networking/netlink_spec/i… 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 D | netlink-raw.rst | 1 .. 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 D | genetlink-legacy.rst | 1 .. 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/admin-guide/gpio/ |
H A D | gpio-virtuser.rst | 1 .. 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 D | gpio-sim.rst | 1 .. 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/Documentation/admin-guide/pm/ |
H A D | intel_uncore_frequency_scaling.rst | 1 .. 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 D | intel_pstate.rst | 1 .. 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/net/ethtool/ |
H A D | netlink.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 28 * ethnl_strz_size() - calculate attribute length for fixed size string 31 * Return: total length of an attribute with null terminated string from @s 39 * ethnl_put_strz() - put string attribute with fixed size string 41 * @attrtype: attribute type 44 * Puts an attribute with null terminated string from @s into the message. 56 return -EMSGSIZE; in ethnl_put_strz() 64 * ethnl_update_u32() - update u32 value from NLA_U32 attribute 66 * @attr: netlink attribute with new value or null 69 * Copy the u32 value from NLA_U32 netlink attribute @attr into variable [all …]
|
/linux/Documentation/filesystems/ext4/ |
H A D | attributes.rst | 1 .. 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 D | vm.rst | 1 .. 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/uapi/linux/ |
H A D | netlink.h | 1 /* 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/ABI/testing/ |
H A D | sysfs-driver-qat_rl | 4 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 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 …]
|
H A D | sysfs-bus-counter | 3 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 …]
|
H A D | sysfs-bus-acpi | 5 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 D | sysfs-devices-edac | 3 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/Documentation/power/ |
H A D | power_supply_class.rst | 8 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/security/ |
H A D | lsm_syscalls.c | 1 // 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/include/linux/ |
H A D | hid-sensor-hub.h | 1 /* 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: Measurment 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 D | running_tips.rst | 1 .. 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 …]
|