/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | xfer_mode_rate.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 23 #define XFERMODE_IDX_I3C_HDR_DDR 0x01 /* I3C HDR-DDR Mode */ 24 #define XFERMODE_IDX_I3C_HDR_T 0x02 /* I3C HDR-Ternary Mode */ 25 #define XFERMODE_IDX_I3C_HDR_BT 0x03 /* I3C HDR-BT Mode */ 54 #define XFERRATE_I3C_SDR_USER6 0x06 /* User Defined */ 55 #define XFERRATE_I3C_SDR_USER7 0x07 /* User Defined */ 59 #define XFERRATE_I2C_USER2 0x02 /* User Defined */ 60 #define XFERRATE_I2C_USER3 0x03 /* User Defined */ 61 #define XFERRATE_I2C_USER4 0x04 /* User Defined */ 62 #define XFERRATE_I2C_USER5 0x05 /* User Defined */ [all …]
|
/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <media/v4l2-subdev.h> 60 /* CSI2-MIPI specific format: Generic short packet data. It is used to 73 /* CSI2-MIPI specific format: YUV data. 75 ATOMISP_INPUT_FORMAT_YUV420_8_SHIFT, /* YUV420 8-bit (Chroma Shifted 77 ATOMISP_INPUT_FORMAT_YUV420_10_SHIFT, /* YUV420 8-bit (Chroma Shifted 80 /* CSI2-MIPI specific format: Generic long packet data 82 ATOMISP_INPUT_FORMAT_EMBEDDED, /* Embedded 8-bit non Image Data */ 84 /* CSI2-MIPI specific format: User defined byte-based data. For example, 86 * the User Defined Data Type 4 and the MPEG data as the [all …]
|
/linux/include/uapi/linux/ |
H A D | acct.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * BSD Process Accounting for Linux - Definitions 8 * BSD-style process accounting. The kernel accounting code and all 9 * user-level programs that try to do something useful with the 12 * Copyright (C) 1995 - 1997 Marco van Wieringen - ELM Consultancy B.V. 25 * comp_t is a 16-bit "floating" point number with a 3-bit base 8 26 * exponent and a 13-bit fraction. 27 * comp2_t is 24-bit with 5-bit base 2 exponent and 20 bit fraction 49 __u16 ac_uid16; /* LSB of Real User ID */ 54 comp_t ac_utime; /* User Time */ [all …]
|
/linux/fs/afs/ |
H A D | afs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #define AFS_NMAXNSERVERS 13 /* Maximum servers in a N/U-class volume record */ 31 AFSVL_ROVOL, /* read-only volume */ 54 afs_vnodeid_t vnode; /* Lower 64-bits of file index within volume */ 55 u32 vnode_hi; /* Upper 32-bits of file index */ 110 #define AFS_ACE_READ 0x00000001U /* - permission to read a file/dir */ 111 #define AFS_ACE_WRITE 0x00000002U /* - permission to write/chmod a file */ 112 #define AFS_ACE_INSERT 0x00000004U /* - permission to create dirent in a dir */ 113 #define AFS_ACE_LOOKUP 0x00000008U /* - permission to lookup a file/dir in a dir */ 114 #define AFS_ACE_DELETE 0x00000010U /* - permission to delete a dirent from a dir */ [all …]
|
/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | mmu-44x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <asm/asm-const.h> 36 #define PPC44x_TLB_U0 0x00008000 /* User 0 */ 37 #define PPC44x_TLB_U1 0x00004000 /* User 1 */ 38 #define PPC44x_TLB_U2 0x00002000 /* User 2 */ 39 #define PPC44x_TLB_U3 0x00001000 /* User 3 */ 40 #define PPC44x_TLB_W 0x00000800 /* Caching is write-through */ 47 #define PPC44x_TLB_UX 0x00000020 /* User execution */ 48 #define PPC44x_TLB_UW 0x00000010 /* User write */ 49 #define PPC44x_TLB_UR 0x00000008 /* User read */ [all …]
|
/linux/security/keys/ |
H A D | user_defined.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* user_defined.c: user defined key type 13 #include <keys/user-type.h> 20 * user defined keys take an arbitrary string as the description and an 24 .name = "user", 57 * Preparse a user defined key payload 62 size_t datalen = prep->datalen; in user_preparse() 64 if (datalen <= 0 || datalen > 32767 || !prep->data) in user_preparse() 65 return -EINVAL; in user_preparse() 69 return -ENOMEM; in user_preparse() [all …]
|
/linux/Documentation/kbuild/ |
H A D | kconfig-macro-language.rst | 6 ------- 21 $(CC) -o $(APP) $(SRC) 27 gcc -o foo foo.c 32 The idea is quite similar in Kconfig - it is possible to describe a Kconfig 38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC)) 46 Then, Kconfig moves onto the evaluation stage to resolve inter-symbol 47 dependency as explained in kconfig-language.rst. 51 --------- 56 $( ). The parentheses are required even for single-letter variable names; $X is 62 A simply expanded variable is defined using the := assignment operator. Its [all …]
|
/linux/include/linux/sched/ |
H A D | user.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 * Some day this will be a full-fledged user tracking system.. 26 #if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \ 27 defined(CONFIG_NET) || defined(CONFIG_IO_URING) || \ 28 defined(CONFIG_VFIO_PCI_ZDEV_KVM) || IS_ENABLED(CONFIG_IOMMUFD) 32 atomic_t nr_watches; /* The number of watches this user currently has */ 35 /* Miscellaneous per-user rate limit */ 47 /* per-UID process charging. */ 51 refcount_inc(&u->__count); in get_uid()
|
/linux/Documentation/driver-api/surface_aggregator/clients/ |
H A D | dtx.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 10 User-Space DTX (Clipboard Detachment System) Interface 14 and re-attachment handling. To this end, it provides the ``/dev/surface/dtx`` 15 device file, through which it can interface with a user-space daemon. This 18 unloading/reloading the graphics-driver, user-notifications, etc. 24 change. Commands are always driver-initiated, whereas events are always 56 ------------ 60 the *open* state, the clipboard can be removed by a user. 65 being hot-unplugged while in use. More details can be found in the 70 -------------------- [all …]
|
/linux/sound/core/ |
H A D | memory.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * copy_to_user_fromio - copy data from mmio-space to user-space 16 * @dst: the destination pointer on user [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 21 ------------------------------------------- 24 :Returns: -EBUSY if a vcpu is already defined, otherwise 0 29 ---------------------------------------- 32 :Returns: -EINVAL if CMMA was not enabled; 39 ----------------------------------------- 41 :Parameters: in attr->addr the address for the new limit of guest memory 42 :Returns: -EFAULT if the given address is not accessible; 43 -EINVAL if the virtual machine is of type UCONTROL; [all …]
|
/linux/arch/arm/mm/ |
H A D | proc-macros.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <asm/asm-offsets.h> 17 * vma_vm_mm - get mm pointer from vma pointer (vma->vm_mm) 24 * vma_vm_flags - get vma->vm_flags 31 * act_mm - get current->active_mm 42 * mmid - get context id from mm pointer (mm->context.id) 43 * note, this field is 64bit, so in big-endian the two words are swapped too. 54 * mask_asid - mask the ASID from the context ID 71 * dcache_line_size - get the minimum D-cache line size from the CTR register 89 * icache_line_size - get the minimum I-cache line size from the CTR register [all …]
|
/linux/arch/powerpc/include/uapi/asm/ |
H A D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 5 * application is Linux specific so (user-) name space pollution is 19 * and we don't want to impact user mode with our change to ll64 22 * However, some user programs are fine with this. They can 23 * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. 25 #if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__) 26 # include <asm-generic/int-l64.h> 28 # include <asm-generic/int-ll64.h>
|
/linux/arch/xtensa/kernel/ |
H A D | entry.S | 2 * Low-level exception handling 8 * Copyright (C) 2004 - 2008 by Tensilica Inc. 17 #include <asm/asm-offsets.h> 22 #include <asm/asm-uaccess.h> 29 #include <variant/tie-asm.h> 34 * 100....0 -> 1 35 * 010....0 -> 2 36 * 000....1 -> WSBITS 42 nsau \bit, \mask # 32-WSBITS ... 31 (32 iff 0) 43 addi \bit, \bit, WSBITS - 32 + 1 # uppest bit set -> return 1 [all …]
|
/linux/Documentation/admin-guide/acpi/ |
H A D | ssdt-overlays.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 In order to support ACPI open-ended hardware configurations (e.g. development 19 user defined SSDT tables that contain the board specific information. 59 ASL Optimizing Compiler version 20140214-64 [Mar 29 2014] 60 Copyright (c) 2000 - 2014 Intel Corporation 62 ASL Input: minnomax.asl - 30 lines, 614 bytes, 7 keywords 63 AML Output: minnowmax.aml - 165 bytes, 6 named objects, 1 executable opcodes 73 This option allows loading of user defined SSDTs from initrd and it is useful 90 mkdir -p kernel/firmware/acpi 95 find kernel | cpio -H newc --create > /boot/instrumented_initrd [all …]
|
/linux/include/linux/ |
H A D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 /* Add sp to seccomp_data, as seccomp is user API, we don't want to modify it */ 26 * The owner ship rules for task->ptrace which holds the ptrace 27 * flags is simple. When a task is running it owns it's task->ptrace 28 * flags. When the a task is stopped the ptracer owns task->ptrace. 75 * ptrace_may_access - check whether the caller is permitted to access 92 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 97 if (unlikely(child->ptrace)) in ptrace_unlink() 107 * ptrace_parent - return the task that is tracing the given task 119 if (unlikely(task->ptrace)) in ptrace_parent() [all …]
|
/linux/arch/arm/kernel/ |
H A D | entry-common.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/arch/arm/kernel/entry-common.S 14 #include <asm/unistd-oabi.h> 19 #include "entry-header.S" 22 #if defined(CONFIG_TRACE_IRQFLAGS) || defined(CONFIG_CONTEXT_TRACKING_USER) 37 * have tracing, context tracking and rseq debug disabled - the overheads 45 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 75 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 81 /* Slower path - fall through to work_pending */ 92 movlt scno, #(__NR_restart_syscall - __NR_SYSCALL_BASE) [all …]
|
/linux/arch/x86/include/asm/ |
H A D | sgx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright(c) 2016-20 Intel Corporation. 14 * This file contains both data structures defined by SGX architecture and Linux 15 * defined software data structures and functions. The two should not be mixed 49 * SGX_ENCLS_FAULT_FLAG - flag signifying an ENCLS return code is a trapnr 57 * convert all faults to -EFAULT. 67 * enum sgx_return_code - The return code type for ENCLS, ENCLU and ENCLV 87 /* The modulus size for 3072-bit RSA keys. */ 91 * enum sgx_miscselect - additional information to an SSA frame 108 * enum sgx_attributes - the attributes field in &struct sgx_secs [all …]
|
/linux/tools/include/linux/ |
H A D | ring_buffer.h | 9 * user space requires the following barrier pairing (quote 15 * kernel user 17 * if (LOAD ->data_tail) { LOAD ->data_head 21 * STORE ->data_head STORE ->data_tail 27 * load of the ->data_tail and the stores of $data. In case 28 * ->data_tail indicates there is no room in the buffer to 57 #if defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__) || \ in ring_buffer_read_head() 58 defined(__ia64__) || defined(__sparc__) && defined(__arch64__) || defined(__riscv) in ring_buffer_read_head() 59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head() 61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head() [all …]
|
/linux/include/rdma/ |
H A D | ib_cm.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 274 * ib_cm_handler - User-defined callback to process communication events. 280 * new @cm_id. The new @cm_id is returned to the user through this callback. 281 * Clients are responsible for destroying the new @cm_id. For peer-to-peer 283 * to a user's existing communication identifier. 286 * however, returning a non-zero value instructs the communication manager to 305 * ib_create_cm_id - Allocate a communication identifier. 308 * @cm_handler: Callback invoked to notify the user of CM events. 309 * @context: User specified context associated with the communication 320 * ib_destroy_cm_id - Destroy a connection identifier. [all …]
|
/linux/Documentation/scsi/ |
H A D | st.rst | 1 .. SPDX-License-Identifier: GPL-2.0 21 1. Each user can specify the tape parameters he/she wants to use 23 flexible method and applicable to single-user workstations. However, 24 in a multiuser environment the next user finds the tape parameters in 25 state the previous user left them. 32 drive performs auto-detection of the tape format well (like some 33 QIC-drives). The result is that any tape can be read, writing can be 37 does not perform auto-detection well enough and there is a single 40 or not :-). 42 The user can override the parameters defined by the system [all …]
|
/linux/Documentation/power/ |
H A D | freezing-of-tasks.rst | 10 The freezing of tasks is a mechanism by which user space processes and some 11 kernel threads are controlled during hibernation or system-wide suspend (on some 17 There is one per-task flag (PF_NOFREEZE) and three per-task states 19 The tasks that have PF_NOFREEZE unset (all user space tasks and some kernel 23 to system-wide suspend too). 26 freeze_processes() (defined in kernel/power/process.c) is called. A system-wide 27 static key freezer_active (as opposed to a per-task flag or state) is used to 30 try_to_freeze_tasks() that sends a fake signal to all user space processes, and 32 calling try_to_freeze(), which results in a call to __refrigerator() (defined 36 referred to as 'the freezer' (these functions are defined in [all …]
|
/linux/tools/perf/Documentation/ |
H A D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 --- [all...] |
H A D | perf-probe.txt | 1 perf-probe(1) 5 ---- 6 perf-probe - Define new dynamic tracepoints 9 -------- 11 'perf probe' [options] --add='PROBE' [...] 15 'perf probe' [options] --del='[GROUP:]EVENT' [...] 17 'perf probe' --list[=[GROUP:]EVENT] 19 'perf probe' [options] --line='LINE' 21 'perf probe' [options] --vars='PROBEPOINT' 23 'perf probe' [options] --funcs [all …]
|
/linux/arch/arm/include/asm/ |
H A D | uaccess-asm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 #include <asm/asm-offsets.h> 21 adds \tmp, \addr, #\size - 1 34 subs \tmp, \tmp, \addr @ tmp = limit - 1 - addr 36 subshs \tmp, \tmp, \size @ tmp = limit - (addr + size) } 42 #if defined(CONFIG_CPU_SW_DOMAIN_PAN) 46 * Whenever we re-enter userspace, the domains should always be 58 * Whenever we re-enter userspace, the domains should always be 68 #elif defined(CONFIG_CPU_TTBR0_PAN) 109 #if defined(CONFIG_CPU_SW_DOMAIN_PAN) || defined(CONFIG_CPU_USE_DOMAINS) [all …]
|