| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/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 */ 53 comp_t ac_utime; /* User Time */ [all …]
|
| /kernel/linux/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()
|
| /kernel/linux/linux-4.19/Documentation/virtual/kvm/devices/ |
| D | vm.txt | 6 struct kvm_device_attr as other devices, but targets VM-wide settings 17 Returns: -EBUSY if a vcpu is already defined, otherwise 0 23 Returns: -EINVAL if CMMA was not enabled 30 Parameters: in attr->addr the address for the new limit of guest memory 31 Returns: -EFAULT if the given address is not accessible 32 -EINVAL if the virtual machine is of type UCONTROL 33 -E2BIG if the given guest memory is to big for that machine 34 -EBUSY if a vcpu is already defined 35 -ENOMEM if not enough memory is available for a new shadow guest mapping 49 Allows user space to retrieve machine and kvm specific cpu related information: [all …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/fs/afs/ |
| D | afs.h | 20 #define AFS_NMAXNSERVERS 13 /* Maximum servers in a N/U-class volume record */ 32 AFSVL_ROVOL, /* read-only volume */ 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 */ 115 #define AFS_ACE_LOCK 0x00000020U /* - permission to lock a file */ 116 #define AFS_ACE_ADMINISTER 0x00000040U /* - permission to change ACL */ 117 #define AFS_ACE_USER_A 0x01000000U /* - 'A' user-defined permission */ [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/include/asm/ |
| 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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/security/keys/ |
| D | user_defined.c | 1 /* user_defined.c: user defined key type 17 #include <keys/user-type.h> 24 * user defined keys take an arbitrary string as the description and an 28 .name = "user", 61 * Preparse a user defined key payload 66 size_t datalen = prep->datalen; in user_preparse() 68 if (datalen <= 0 || datalen > 32767 || !prep->data) in user_preparse() 69 return -EINVAL; in user_preparse() 73 return -ENOMEM; in user_preparse() 76 prep->quotalen = datalen; in user_preparse() [all …]
|
| /kernel/linux/linux-4.19/sound/core/ |
| D | memory.c | 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 * copy_to_user_fromio - copy data from mmio-space to user-space 30 * @dst: the destination pointer on user-space 34 * Copies the data from mmio-space to user-space. 36 * Return: Zero if successful, or non-zero on failure. 40 #if defined(__i386__) || defined(CONFIG_SPARC32) in copy_to_user_fromio() 41 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; in copy_to_user_fromio() 50 return -EFAULT; in copy_to_user_fromio() 51 count -= c; in copy_to_user_fromio() 61 * copy_from_user_toio - copy data from user-space to mmio-space [all …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-4.19/Documentation/kbuild/ |
| D | kconfig-macro-language.txt | 2 ------- 17 $(CC) -o $(APP) $(SRC) 23 gcc -o foo foo.c 28 The idea is quite similar in Kconfig - it is possible to describe a Kconfig 34 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC)) 42 Then, Kconfig moves onto the evaluation stage to resolve inter-symbol 43 dependency as explained in kconfig-language.txt. 47 --------- 52 $( ). The parentheses are required even for single-letter variable names; $X is 58 A simply expanded variable is defined using the := assignment operator. Its [all …]
|
| /kernel/linux/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 …]
|
| /kernel/linux/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 …]
|
| /kernel/liteos_a/arch/arm/arm/src/ |
| D | los_hw_exc.S | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved. 61 #if defined(LOSCFG_CC_STACKPROTECTOR_ALL) || \ 62 defined(LOSCFG_CC_STACKPROTECTOR_STRONG) || \ 63 defined(LOSCFG_CC_STACKPROTECTOR) 70 #if !defined(LOSCFG_ARCH_FPU_DISABLE) 75 #if defined(LOSCFG_ARCH_FPU_VFP_D32) 76 VPUSH {D16-D31} 78 VPUSH {D0-D15} 83 #if !defined(LOSCFG_ARCH_FPU_DISABLE) [all …]
|
| /kernel/linux/linux-4.19/include/linux/sched/ |
| D | user.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * Some day this will be a full-fledged user tracking system.. 17 atomic_t processes; /* How many processes does this user have? */ 18 atomic_t sigpending; /* How many pending signals does this user have? */ 42 #if defined(CONFIG_PERF_EVENTS) || defined(CONFIG_BPF_SYSCALL) || \ 43 defined(CONFIG_NET) 47 /* Miscellaneous per-user rate limit */ 59 /* per-UID process charging. */ 63 refcount_inc(&u->__count); in get_uid()
|
| /kernel/linux/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 …]
|
| /kernel/linux/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>
|