| /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/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 D | c-code-gen.rst | 1 .. 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 …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-adc-ad-sigma-delta | 3 Contact: linux-iio@vger.kernel.org 5 This attribute, if available, initiates the system calibration procedure. This is done on a 10 Contact: linux-iio@vger.kernel.org 12 This attribute, if available, returns a list with the possible calibration modes. 14 "zero_scale" - calibrate to zero scale 15 "full_scale" - calibrate to full scale 19 Contact: linux-iio@vger.kernel.org 21 This attribute, if available, sets up the calibration mode used in the system calibration 23 Writing sets the system calibration mode.
|
| H A D | sysfs-bus-iio-dac-ltc2688 | 3 Contact: linux-iio@vger.kernel.org 8 - disable dither operation; 9 - change dither parameters (eg: frequency, phase...); 10 - enabled dither operation 14 Contact: linux-iio@vger.kernel.org 18 offset might be different as it's always 0 for this attribute. 22 Contact: linux-iio@vger.kernel.org 28 Contact: linux-iio@vger.kernel.org 30 Offset applied to out_voltageY_dither_raw. Read only attribute 35 Contact: linux-iio@vger.kernel.org [all …]
|
| H A D | sysfs-driver-wacom | 4 Contact: linux-bluetooth@vger.kernel.org 14 Contact: linux-input@vger.kernel.org 16 Attribute group for control of the status LEDs and the OLEDs. 17 This attribute group is only available for Intuos 4 M, L, 25 Contact: linux-input@vger.kernel.org 28 Writing to this file sets the status LED luminance (1..127) 35 Contact: linux-input@vger.kernel.org 38 Writing to this file sets the status LED luminance (1..127) 44 Contact: linux-input@vger.kernel.org 47 Writing to this file sets which one of the four (for Intuos 4 [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | ntfs3.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 NTFS3 is fully functional NTFS Read-Write driver. The driver works with NTFS 13 - This driver implements NTFS read/write support for normal, sparse and 15 - Supports native journal replaying. 16 - Supports NFS export of mounted NTFS volumes. 17 - Supports extended attributes. Predefined extended attributes: 19 - *system.ntfs_security* gets/sets security 23 - *system.ntfs_attrib* gets/sets ntfs file/dir attributes. 28 - *system.ntfs_attrib_be* gets/sets ntfs file/dir attributes. 30 Same value as system.ntfs_attrib but always represent as big-endian [all …]
|
| /linux/Documentation/netlink/ |
| H A D | genetlink.yaml | 1 # 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 …]
|
| H A D | genetlink-c.yaml | 1 # 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 D | netlink-raw.yaml | 1 # 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 …]
|
| H A D | genetlink-legacy.yaml | 1 # 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/Documentation/netlink/specs/ |
| H A D | lockd.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 uapi-header: linux/lockd_netlink.h 9 attribute-sets: 10 - 13 - 16 - 17 name: tcp-port 19 - 20 name: udp-port [all …]
|
| H A D | nfsd.yaml | 1 # 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 D | binder.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 --- 8 uapi-header: linux/android/binder_netlink.h 11 attribute-sets: 12 - 20 - 24 - 28 - 29 name: from-pid 32 - [all …]
|
| H A D | fou.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 protocol: genetlink-legacy 8 Foo-over-UDP. 10 c-family-name: fou-genl-name 11 c-version-name: fou-genl-version 12 max-by-define: true 13 kernel-policy: global 16 - 18 name: encap-type [all …]
|
| H A D | ovs_datapath.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 protocol: genetlink-legacy 6 uapi-header: linux/openvswitch.h 8 doc: >- 12 - 13 name: ovs-header 16 - 17 name: dp-ifindex 19 - [all …]
|
| H A D | rt-addr.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: rt-addr 4 protocol: netlink-raw 5 uapi-header: linux/rtnetlink.h 8 doc: >- 12 - 16 - 17 name: ifa-family 19 - [all …]
|
| H A D | handshake.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 7 --- 15 - 17 name: handler-class 18 value-start: 0 20 - 22 name: msg-type 23 value-start: 0 25 - 28 value-start: 0 [all …]
|
| H A D | psp.yaml | 1 # 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 …]
|
| H A D | net_shaper.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: net-shaper 30 Different devices can provide different feature sets, e.g. with no 33 @cap-get operation. 36 - 40 render-max: true 42 - name: unspec 44 - 47 - [all …]
|
| /linux/Documentation/networking/ |
| H A D | l2tp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 58 -------------- 93 ----------- 102 netlink attribute types that can be used with each command. 105 32-bit id. L2TP tunnel ids are given by ``L2TP_ATTR_CONN_ID`` and 109 instances, the L2TPv2 16-bit tunnel/session id is cast to a 32-bit 122 ``L2TP_CMD_TUNNEL_CREATE`` attributes:- 125 Attribute Required Use 127 CONN_ID Y Sets the tunnel (connection) id. 128 PEER_CONN_ID Y Sets the peer tunnel (connection) id. [all …]
|
| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | doc_generator.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8; mode: python -*- 40 def headroom(level: int) -> str: 45 def bold(text: str) -> str: 50 def inline(text: str) -> str: 55 def sanitize(text: str) -> str: 60 def rst_fields(self, key: str, value: str, level: int = 0) -> str: 64 def rst_definition(self, key: str, value: Any, level: int = 0) -> str: 68 def rst_paragraph(self, paragraph: str, level: int = 0) -> str: 72 def rst_bullet(self, item: str, level: int = 0) -> str: [all …]
|
| /linux/include/linux/iio/ |
| H A D | sysfs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 * struct iio_dev_attr - iio specific device attribute 17 * @dev_attr: underlying device attribute 21 * @buffer: the IIO buffer to which this attribute belongs to (if any) 39 * struct iio_const_attr - constant device specific attribute 41 * @string: attribute string 42 * @dev_attr: underlying device attribute 114 * IIO_DEV_ATTR_SAMP_FREQ - sets any internal clock frequency 116 * @_show: output method for the attribute 117 * @_store: input method for the attribute [all …]
|
| /linux/Documentation/usb/ |
| H A D | gadget_uvc.rst | 6 -------- 8 connection. It is intended to run on a Linux system that has USB device-side 24 ----------------------------- 29 --------------------------------------- 35 see Documentation/ABI/testing/configfs-usb-gadget-uvc 47 .. code-block:: bash 54 mkdir -p $FUNCTION 99 .. code-block:: bash 112 mkdir -p $wdir 129 Documentation/userspace-api/media/v4l/pixfmt-packed-yuv.rst. [all …]
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | hugetlbpage.rst | 13 256M and ppc64 supports 4K and 16M. A TLB is a cache of virtual-to-physical 93 Once a number of huge pages have been pre-allocated to the kernel huge page 158 Note that this parameter only applies to non-gigantic huge pages. 179 indicates the current number of pre-allocated huge pages of the default size. 190 task that modifies ``nr_hugepages``. The default for the allowed nodes--when the 191 task has default memory policy--is all on-line nodes with memory. Allowed 216 requested by applications. Writing any non-zero value into this file 236 of the in-use huge pages to surplus huge pages. This will occur even if 238 this condition holds--that is, until ``nr_hugepages+nr_overcommit_hugepages`` is 239 increased sufficiently, or the surplus huge pages go out of use and are freed-- [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 51 * Sets the calling task's LSM context. On success this function 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 [all …]
|