/linux/fs/ |
H A D | bpf_fs_kfuncs.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * bpf_get_task_exe_file - get a reference on the exe_file struct file member of 22 * @task: task_struct of which the nested mm_struct exe_file member to get a 25 * Get a reference on the exe_file struct file member field of the mm_struct 32 * This BPF kfunc may only be called from BPF LSM programs. 48 * bpf_put_file - put a reference on the supplied file 51 * Put a reference on the supplied *file*. Only referenced file pointers may be 56 * This BPF kfunc may only be called from BPF LSM programs. 64 * bpf_path_d_path - resolve the pathname for the supplied path 76 * This BPF kfunc may only be called from BPF LSM programs. [all …]
|
/linux/include/uapi/linux/ |
H A D | psp-dbc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 24 * struct dbc_user_nonce - Nonce exchange structure (input/output). 27 * 1: authentication: PSP will return multi-use nonce. 39 * struct dbc_user_setuid - UID exchange structure (input). 49 * struct dbc_user_param - Parameter exchange structure (input/output). 50 * @msg_index: Message indicating what parameter to set or get (input) 53 * - When sending a message this is to be created by software 55 * - For interpreting results, this signature is updated by the 70 * -EINVAL: invalid input 71 * -E2BIG: excess data passed [all …]
|
H A D | ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 * have the same layout for 32-bit and 64-bit userland. 38 * struct ethtool_cmd - DEPRECATED, link control and status 43 * interface supports autonegotiation or auto-detection. 44 * Read-only. 48 * auto-detection. 56 * @autoneg: Enable/disable autonegotiation and auto-detection; 60 * Read-only. 62 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. 64 * obsoleted by &struct ethtool_coalesce. Read-only; deprecated. [all …]
|
H A D | dcbnl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (c) 2008-2011, Intel Corporation. 16 * Place - Suite 330, Boston, MA 02111-1307 USA. 50 * ---- 53 * 1 credit-based shaper 55 * 3-254 reserved 94 * given in u-seconds 106 * rpgGd is given as log2(Gd), where Gd may only be powers of 2 109 * value is given as percentage (1-100) 114 * the QCN capable hardware may add CN-TAG TLV to the [all …]
|
H A D | fs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * sending patches for review to linux-fsdevel@vger.kernel.org and 10 * linux-api@vger.kernel.org. 27 * the file limit at runtime and only root can increase the per-process 29 * upper limit on files-per-process. 162 /* extent-same (dedupe) ioctls; these MUST match the btrfs ioctl definitions */ 168 __s64 dest_fd; /* in - destination file */ 169 __u64 dest_offset; /* in - start of extent in destination */ 170 __u64 bytes_deduped; /* out - total # of bytes we were able 177 __s32 status; /* out - see above description */ [all …]
|
H A D | vhost.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 /* Userspace interface for in-kernel virtio accelerators. */ 18 #define VHOST_FILE_UNBIND -1 76 /* Get accessor: reads index, writes value in num */ 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 83 * This is a legacy only API that is simply ignored when VIRTIO_F_VERSION_1 is 86 * support SET also support GET. 117 /* Get busy loop timeout (in us) */ 121 /* Set or get vhost backend capability */ [all …]
|
H A D | fcntl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 * Cancel a blocking posix lock; internal use only until we expose an 32 * Set and get of pipe page size array 38 * Set/Get seals 55 * Set/Get write life time hints. {GET,SET}_RW_HINT operate on the 56 * underlying inode, while {GET,SET}_FILE_RW_HINT operate only on 65 * Valid hint values for F_{GET,SET}_RW_HINT. 0 is "not set", or can be 78 * v4.13-rc1~212^2~51. 93 /* Reserved kernel ranges [-100], [-10000, -40000]. */ 94 #define AT_FDCWD -100 /* Special value for dirfd used to [all …]
|
H A D | wireless.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 * Authors : Jean Tourrilhes - HPL - <jt@hpl.hp.com> 8 * Copyright (c) 1997-2007 Jean Tourrilhes, All Rights Reserved. 16 * Initial APIs (1996 -> onward) : 17 * ----------------------------- 44 * New driver API (2002 -> onward) : 45 * ------------------------------- 46 * This file is only concerned with the user space API and common definitions. 53 * Wireless Events (2002 -> onward) : 54 * -------------------------------- [all …]
|
/linux/arch/sparc/kernel/ |
H A D | spiterrs.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * We pass the AFAR in as-is, and we encode the status 7 * information as described in asm-sparc64/sfafsr.h 18 ldxa [%g0] ASI_AFSR, %g4 ! Get AFSR 21 * UDBE_CE in %g1. It only clears ESTATE_ERR_CE in the ESTATE 25 ldxa [%g0] ASI_AFAR, %g5 ! Get AFAR 40 * error bits as-needed. We only clear them if the UE bit is 41 * set. Likewise, __spitfire_cee_trap below will only do so 44 * NOTE: UltraSparc-I/II have high and low UDB error 46 * present on those chips. UltraSparc-IIi only [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-dfl-fme | 1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num 5 Description: Read-only. One DFL FPGA device may have more than 1 9 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id 13 Description: Read-only. It returns Bitstream (static FPGA region) 17 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata 21 Description: Read-only. It returns Bitstream (static FPGA region) meta 25 What: /sys/bus/platform/devices/dfl-fme.0/cache_size 29 Description: Read-only. It returns cache size of this FPGA device. 31 What: /sys/bus/platform/devices/dfl-fme.0/fabric_version 35 Description: Read-only. It returns fabric version of this FPGA device. [all …]
|
H A D | sysfs-platform-dfl-port | 1 What: /sys/bus/platform/devices/dfl-port.0/id 5 Description: Read-only. It returns id of this port. One DFL FPGA device 9 What: /sys/bus/platform/devices/dfl-port.0/afu_id 13 Description: Read-only. User can program different PR bitstreams to FPGA 18 What: /sys/bus/platform/devices/dfl-port.0/power_state 22 Description: Read-only. It reports the APx (AFU Power) state, different APx 24 returns "0" - Normal / "1" - AP1 / "2" - AP2 / "6" - AP6. 26 What: /sys/bus/platform/devices/dfl-port.0/ap1_event 30 Description: Read-write. Read this file for AP1 (AFU Power State 1) event. 34 What: /sys/bus/platform/devices/dfl-port.0/ap2_event [all …]
|
/linux/tools/perf/util/ |
H A D | dwarf-aux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * dwarf-aux.h : libdw auxiliary interfaces 18 /* Get DW_AT_comp_dir (should be NULL with older gcc) */ 21 /* Get a line number and file name for given address */ 29 /* Get DW_AT_linkage_name (should be NULL for C binary) */ 32 /* Get the lowest PC in DIE (including range list) */ 47 /* Get callsite line number of inline-function instance */ 50 /* Get callsite file name of inlined function instance */ 53 /* Get declared file name of a DIE */ 56 /* Get type die */ [all …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu_phase.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Maxime Ripard <maxime.ripard@free-electrons.com> 7 #include <linux/clk-provider.h> 22 reg = readl(phase->common.base + phase->common.reg); in ccu_phase_get_phase() 23 delay = (reg >> phase->shift); in ccu_phase_get_phase() 24 delay &= (1 << phase->width) - 1; in ccu_phase_get_phase() 29 /* Get our parent clock, it's the one that can adjust its rate */ in ccu_phase_get_phase() 32 return -EINVAL; in ccu_phase_get_phase() 37 return -EINVAL; in ccu_phase_get_phase() 39 /* Now, get our parent's parent (most likely some PLL) */ in ccu_phase_get_phase() [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | fcntl.h |
|
/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 ------------ 30 --------------- 45 This is a read-only attribute. If users adjust max_freq_khz, 50 This is a read-only attribute. If users adjust min_freq_khz, 60 This attribute is used to get the current uncore frequency. 63 ----------------------------------------------------------------- 92 This attribute is used to get the power domain id of this instance. 95 This attribute is used to get the Linux die id of this instance. [all …]
|
H A D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 45 To get help with the tool, execute the command below:: 47 # intel-speed-select --help [all …]
|
/linux/drivers/misc/eeprom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 Enable this driver to get read/write support to most I2C EEPROMs 15 board. Use these generic chip names, instead of vendor-specific 24 as read-only won't help recover from this. Also, if your chip 25 has any software write-protect mechanism you may want to review the 29 full functionality is not available. Only smaller devices are 42 Enable this driver to get read/write support to most SPI EEPROMs 54 If you say yes here you get read-only support for the user EEPROM of 55 the Maxim MAX6874/5 EEPROM-programmable, quad power-supply 58 All other features of this chip should be accessed via i2c-dev. [all …]
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | fs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * sending patches for review to linux-fsdevel@vger.kernel.org and 10 * linux-api@vger.kernel.org. 27 * the file limit at runtime and only root can increase the per-process 29 * upper limit on files-per-process. 162 /* extent-same (dedupe) ioctls; these MUST match the btrfs ioctl definitions */ 168 __s64 dest_fd; /* in - destination file */ 169 __u64 dest_offset; /* in - start of extent in destination */ 170 __u64 bytes_deduped; /* out - total # of bytes we were able 177 __s32 status; /* out - see above description */ [all …]
|
H A D | vhost.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 /* Userspace interface for in-kernel virtio accelerators. */ 18 #define VHOST_FILE_UNBIND -1 76 /* Get accessor: reads index, writes value in num */ 80 * or VHOST_VRING_BIG_ENDIAN (other values return -EINVAL). 82 * returns -EBUSY. 83 * This is a legacy only API that is simply ignored when VIRTIO_F_VERSION_1 is 86 * support SET also support GET. 117 /* Get busy loop timeout (in us) */ 121 /* Set or get vhost backend capability */ [all …]
|
H A D | fcntl.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 * Cancel a blocking posix lock; internal use only until we expose an 32 * Set and get of pipe page size array 38 * Set/Get seals 55 * Set/Get write life time hints. {GET,SET}_RW_HINT operate on the 56 * underlying inode, while {GET,SET}_FILE_RW_HINT operate only on 65 * Valid hint values for F_{GET,SET}_RW_HINT. 0 is "not set", or can be 78 * v4.13-rc1~212^2~51. 93 /* Reserved kernel ranges [-100], [-10000, -40000]. */ 94 #define AT_FDCWD -100 /* Special value for dirfd used to [all …]
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 1 // SPDX-License-Identifier: GPL-2.0 43 /// PHY drivers get duplex information from hardware and update the current state. 45 /// PHY is in full-duplex mode. 47 /// PHY is in half-duplex mode. 62 /// - Referencing a `phy_device` using this struct asserts that you are in 64 /// - This struct always has a valid `self.0.mdio.dev`. 71 // [`Driver::resume`] and [`Driver::suspend`] also are called where only one thread can access 82 /// - the pointer must point at a valid `phy_device`, and the caller 85 /// - `(*ptr).mdio.dev` must be a valid. 86 unsafe fn from_raw<'a>(ptr: *mut bindings::phy_device) -> &'a mut Self { in from_raw() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | reporting-issues.rst | 1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0) 36 ensure it's vanilla (IOW: not patched and not using add-on modules). Also make 45 commit-id and CC everyone in the sign-off-by chain. 51 Step-by-step guide how to report issues to the kernel maintainers 58 step-by-step approach. It still tries to be brief for readability and leaves 59 out a lot of details; those are described below the step-by-step guide in a 89 kernel modules on-the-fly, which solutions like DKMS might be doing locally 98 needs to get reported to the kernel developers separately, unless they are 129 up there, scroll down to the instructions for issues only happening with 165 help yourself, if you don't get any help or if it's unsatisfying. [all …]
|
/linux/include/uapi/mtd/ |
H A D | mtd-abi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Copyright © 1999-2010 David Woodhouse <dwmw2@infradead.org> et al. 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 55 * @MTD_OPS_RAW: data are transferred as-is, with no error correction; 69 * struct mtd_write_req - data structure for requesting a write operation 72 * @len: length of data buffer (only lower 32 bits are used) 73 * @ooblen: length of OOB buffer (only lower 32 bits are used) 74 * @usr_data: user-provided data buffer 75 * @usr_oob: user-provided OOB buffer 80 * writes in various modes. To write to OOB-only, set @usr_data == NULL, and to [all …]
|
/linux/drivers/platform/chrome/wilco_ec/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 8 If you say Y here, you get support for talking to the ChromeOS 9 Wilco EC over an eSPI bus. This uses a simple byte-level protocol 19 If you say Y here, you get support for sending raw commands to 22 interface is intended for debug only and will not be present 29 If you say Y here, you get support for the EC to send events 38 If you say Y here, you get support to query EC telemetry data from
|
/linux/arch/arm/kernel/ |
H A D | iwmmxt.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * Copyright (c) 2003-2004, MontaVista Software, Inc. 17 #include <asm/asm-offsets.h> 82 ldr r1, [r3] @ get current Concan owner 85 add r0, r10, #TI_IWMMXT_STATE @ get task Concan save area 170 @ clear CUP/MUP (only if r1 != 0) 196 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area 197 ldr r1, [r3] @ get current Concan owner 243 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area 244 ldr r3, [r3] @ get current Concan owner [all …]
|