/linux-5.10/drivers/staging/media/atomisp/include/linux/ |
D | atomisp_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #include <asm/intel-family.h> 26 #include <media/v4l2-subdev.h> 72 /* CSI2-MIPI specific format: Generic short packet data. It is used to 85 /* CSI2-MIPI specific format: YUV data. 87 ATOMISP_INPUT_FORMAT_YUV420_8_SHIFT, /* YUV420 8-bit (Chroma Shifted 89 ATOMISP_INPUT_FORMAT_YUV420_10_SHIFT, /* YUV420 8-bit (Chroma Shifted 92 /* CSI2-MIPI specific format: Generic long packet data 94 ATOMISP_INPUT_FORMAT_EMBEDDED, /* Embedded 8-bit non Image Data */ 96 /* CSI2-MIPI specific format: User defined byte-based data. For example, [all …]
|
/linux-5.10/include/uapi/linux/ |
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-5.10/include/linux/sched/ |
D | user.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * Some day this will be a full-fledged user tracking system.. 15 atomic_t processes; /* How many processes does this user have? */ 16 atomic_t sigpending; /* How many pending signals does this user have? */ 35 #if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \ 36 defined(CONFIG_NET) || defined(CONFIG_IO_URING) 40 atomic_t nr_watches; /* The number of watches this user currently has */ 43 /* Miscellaneous per-user rate limit */ 55 /* per-UID process charging. */ 59 refcount_inc(&u->__count); in get_uid()
|
/linux-5.10/sound/core/ |
D | memory.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * copy_to_user_fromio - copy data from mmio-space to user-space 15 * @dst: the destination pointer on user-space 19 * Copies the data from mmio-space to user-space. 21 * Return: Zero if successful, or non-zero on failure. 25 #if defined(__i386__) || defined(CONFIG_SPARC32) in copy_to_user_fromio() 26 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; in copy_to_user_fromio() 35 return -EFAULT; in copy_to_user_fromio() 36 count -= c; in copy_to_user_fromio() 46 * copy_from_user_toio - copy data from user-space to mmio-space [all …]
|
/linux-5.10/fs/afs/ |
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-5.10/arch/powerpc/include/asm/nohash/32/ |
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-5.10/security/keys/ |
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-5.10/arch/mips/include/asm/ |
D | stackframe.h | 19 #include <asm/asm-offsets.h> 45 #if defined(CONFIG_CPU_R3000) || defined(CONFIG_CPU_TX39XX) 66 #elif !defined(CONFIG_CPU_MIPSR6) 76 #if !defined(CONFIG_CPU_HAS_SMARTMIPS) && !defined(CONFIG_CPU_MIPSR6) 84 #if !defined(CONFIG_CPU_HAS_SMARTMIPS) && !defined(CONFIG_CPU_MIPSR6) 120 #if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32) 153 * stack) to workaround the Out-of-order Issue in Loongson2F 169 #if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32) 213 * to user addresses if the RPS mispredicts. That's harmless 214 * when user and kernel share the same address space, but with [all …]
|
/linux-5.10/drivers/staging/media/atomisp/pci/ |
D | css_receiver_2400_common_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit … 29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit … 30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega… 31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit … 32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit … 44 …EIVER_2400_DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type … 45 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-b… 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-b… 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_4 51 /* 11 0011 User Defined 8-b… [all …]
|
D | isp_acquisition_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 /* --------------------------------------------------*/ 26 /* --------------------------------------------------*/ 28 /* --------------------------------------------------*/ 32 /* --------------------------------------------------*/ 34 /* --------------------------------------------------*/ 88 /* --------------------------------------------------*/ 90 /* --------------------------------------------------*/ 93 #define ACQ_TOKEN_WIDTH (ACQ_TOKEN_ID_MSB - ACQ_TOKEN_ID_LSB + 1) // 4 133 /* --------------------------------------------------*/ [all …]
|
D | isp_capture_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 /* --------------------------------------------------*/ 29 /* --------------------------------------------------*/ 31 /* --------------------------------------------------*/ 61 /* --------------------------------------------------*/ 63 /* --------------------------------------------------*/ 113 /* --------------------------------------------------*/ 115 /* --------------------------------------------------*/ 118 #define CAPT_TOKEN_WIDTH (CAPT_TOKEN_ID_MSB - CAPT_TOKEN_ID_LSB + 1) /* 4 … 156 #define CAPT_CMD_BITS (CAPT_TOKEN_ID_MSB - CAPT_TOKEN_ID_LSB + 1) [all …]
|
/linux-5.10/drivers/staging/media/atomisp/pci/css_2401_system/hrt/ |
D | mipi_backend_common_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8 24 /* 01 1000 YUV420 8-bit … 29 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_10 25 /* 01 1001 YUV420 10-bit … 30 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV420_8L 26 /* 01 1010 YUV420 8-bit lega… 31 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_8 30 /* 01 1110 YUV422 8-bit … 32 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_YUV422_10 31 /* 01 1111 YUV422 10-bit … 44 …EIVER_2400_DATA_FORMAT_ID_USR_DEF_1 48 /* 11 0000 JPEG [User Defined 8-bit Data Type … 45 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_2 49 /* 11 0001 User Defined 8-b… 46 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_3 50 /* 11 0010 User Defined 8-b… 47 #define _HRT_CSS_RECEIVER_2400_DATA_FORMAT_ID_USR_DEF_4 51 /* 11 0011 User Defined 8-b… [all …]
|
/linux-5.10/Documentation/kbuild/ |
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-5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_context_types.h | 2 * SPDX-License-Identifier: MIT 15 #include <linux/radix-tree.h> 50 * struct i915_gem_context - client state 63 * @engines: User defined engines for this context 69 * may be defined in the array, as well as composite virtual 77 * context, and I915_EXEC_BSD is weird). For a use defined 80 * User defined by I915_CONTEXT_PARAM_ENGINE (when the 91 * In full-ppgtt mode, each context has its own address space ensuring 102 * Note that who created the context may not be the principle user, 130 * @user_flags: small set of booleans controlled by the user [all …]
|
/linux-5.10/Documentation/virt/kvm/devices/ |
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-5.10/Documentation/kernel-hacking/ |
D | hacking.rst | 20 this document, being grossly under-qualified, but I always wanted to 30 - not associated with any process, serving a hardware interrupt; 32 - not associated with any process, serving a softirq or tasklet; 34 - running in kernel space, associated with a process (user context); 36 - running a process in user space. 44 We'll see a number of ways that the user context can block interrupts, 45 to become truly non-preemptable. 47 User Context 48 ------------ 50 User context is when you are coming in from a system call or other trap: [all …]
|
/linux-5.10/arch/powerpc/include/uapi/asm/ |
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-5.10/arch/arm/kernel/ |
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> 20 #include <mach/entry-macro.S> 26 #include "entry-header.S" 29 #if defined(CONFIG_TRACE_IRQFLAGS) || defined(CONFIG_CONTEXT_TRACKING) 44 * have tracing, context tracking and rseq debug disabled - the overheads 55 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing 60 /* perform architecture specific actions before user return */ 92 ldr r1, [tsk, #TI_FLAGS] @ re-check for syscall tracing [all …]
|
/linux-5.10/arch/arm/mm/ |
D | proc-macros.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <asm/asm-offsets.h> 16 * vma_vm_mm - get mm pointer from vma pointer (vma->vm_mm) 23 * vma_vm_flags - get vma->vm_flags 30 * 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-5.10/Documentation/power/ |
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 are three per-task flags used for that, PF_NOFREEZE, PF_FROZEN 19 PF_NOFREEZE unset (all user space processes and some kernel threads) are 25 freeze_processes() (defined in kernel/power/process.c) is called. A system-wide 26 variable system_freezing_cnt (as opposed to a per-task flag) is used to indicate 29 fake signal to all user space processes, and wakes up all the kernel threads. 31 results in a call to __refrigerator() (defined in kernel/freezer.c), which sets 35 to as 'the freezer' (these functions are defined in kernel/power/process.c, 36 kernel/freezer.c & include/linux/freezer.h). User space processes are generally [all …]
|
/linux-5.10/tools/include/linux/ |
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__) 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-5.10/arch/alpha/include/uapi/asm/ |
D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 8 * application is Linux specific so (user-) name space pollution is 15 * and we don't want to impact user mode with our change to ll64 18 * However, some user programs are fine with this. They can 19 * flag __SANE_USERSPACE_TYPES__ to get int-ll64.h here. 21 #if !defined(__SANE_USERSPACE_TYPES__) && !defined(__KERNEL__) 22 #include <asm-generic/int-l64.h> 24 #include <asm-generic/int-ll64.h>
|
/linux-5.10/Documentation/admin-guide/acpi/ |
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. 60 ASL Optimizing Compiler version 20140214-64 [Mar 29 2014] 61 Copyright (c) 2000 - 2014 Intel Corporation 63 ASL Input: minnomax.asl - 30 lines, 614 bytes, 7 keywords 64 AML Output: minnowmax.aml - 165 bytes, 6 named objects, 1 executable opcodes 74 This option allows loading of user defined SSDTs from initrd and it is useful 91 mkdir -p kernel/firmware/acpi 96 find kernel | cpio -H newc --create > /boot/instrumented_initrd [all …]
|
/linux-5.10/include/linux/ |
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. 50 /* single stepping state bits (used on ARM and PA-RISC) */ 82 * ptrace_may_access - check whether the caller is permitted to access 99 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() 104 if (unlikely(child->ptrace)) in ptrace_unlink() 114 * ptrace_parent - return the task that is tracing the given task [all …]
|
/linux-5.10/kernel/ |
D | sysctl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Added kernel/java-{interpreter,appletviewer}, 96/5/10, Mike Shaver. 11 * Added kswapd-interval, ctrl-alt-del, printk stuff, 1/8/97, Chris Horn. 94 #if defined(CONFIG_PROVE_LOCKING) || defined(CONFIG_LOCK_STAT) 107 #if defined(CONFIG_SYSCTL) 114 static int __maybe_unused neg_one = -1; 155 * enum sysctl_writes_mode - supported sysctl write modes 174 SYSCTL_WRITES_LEGACY = -1, 182 #if defined(HAVE_ARCH_PICK_MMAP_LAYOUT) || \ 183 defined(CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT) [all …]
|