/Linux-v6.1/Documentation/ia64/ |
D | fsys.rst | 2 Light-weight System Calls for IA-64 5 Started: 13-Jan-2003 7 Last update: 27-Sep-2003 9 David Mosberger-Tang 14 "fsys-mode". To recap, the normal states of execution are: 16 - kernel mode: 18 switched over to kernel memory. The user-level state is saved 19 in a pt-regs structure at the top of the kernel memory stack. 21 - user mode: 23 user memory. The user-level state is contained in the [all …]
|
/Linux-v6.1/security/selinux/ss/ |
D | context.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * externally represented as variable-length strings 7 * that can be interpreted by a user or application 24 * A security context consists of an authenticated user 28 u32 user; member 38 memset(&c->range, 0, sizeof(c->range)); in mls_context_init() 45 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 46 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 50 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 51 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() [all …]
|
D | mls.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Implementation of the multi-level security (MLS) policy. 12 * Copyright (C) 2004-2006 Trusted Computer Solutions, Inc. 15 * Updated: Hewlett-Packard <paul@paul-moore.com> 19 * (c) Copyright Hewlett-Packard Development Company, L.P., 2006 43 if (!p->mls_enabled) in mls_compute_context_len() 48 int index_sens = context->range.level[l].sens; in mls_compute_context_len() 49 len += strlen(sym_name(p, SYM_LEVELS, index_sens - 1)); in mls_compute_context_len() 52 head = -2; in mls_compute_context_len() 53 prev = -2; in mls_compute_context_len() [all …]
|
D | constraint.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * beyond the type-based rules in `te' or the role-based 8 * used to prevent a process from transitioning to a new user 11 * process from labeling an object with a different user 31 #define CEXPR_USER 1 /* user */ 36 #define CEXPR_L1L2 32 /* low level 1 vs. low level 2 */ 37 #define CEXPR_L1H2 64 /* low level 1 vs. high level 2 */ 38 #define CEXPR_H1L2 128 /* high level 1 vs. low level 2 */ 39 #define CEXPR_H1H2 256 /* high level 1 vs. high level 2 */ 40 #define CEXPR_L1H1 512 /* low level 1 vs. high level 1 */ [all …]
|
/Linux-v6.1/Documentation/firmware-guide/acpi/ |
D | video_extension.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 Export a sysfs interface for user space to control backlight level 26 Documentation/ABI/stable/sysfs-class-backlight. 32 get the brightness level the firmware thinks it is at; 36 on write, control method _BCM will run to set the requested brightness level; 70 as a "brightness level" indicator. Thus from the user space perspective 74 Notify user space about hotkey event 79 i) For some laptops, when user presses the hotkey, a scancode will be 80 generated and sent to user space through the input device created by 82 following key code will appear to user space:: [all …]
|
/Linux-v6.1/sound/soc/tegra/ |
D | tegra20_spdif.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * tegra20_spdif.h - Definitions for Tegra20 SPDIF driver 6 * Copyright (C) 2011 - NVIDIA, Inc. 9 * Copyright (c) 2008-2009, NVIDIA Corporation 54 /* Transmit user Data */ 75 /* Interrupt when RX user FIFO attention level is reached */ 78 /* Interrupt when TX user FIFO attention level is reached */ 81 /* Interrupt when RX data FIFO attention level is reached */ 84 /* Interrupt when TX data FIFO attention level is reached */ 152 * TX User data FIFO busy. [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | hyperv.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 17 * Place - Suite 330, Boston, MA 02111-1307 USA. 95 * driver accesses. However, FREEZE messages from Hyper-V contain 102 * auto-recovery, it should not receive such messages. 171 * Maximum value size - used for both key names and value data, and includes 182 * Note: This value is used in defining the KVP exchange message - this value 193 * Maximum key size - the registry limit for the length of an entry name 203 * implementing the host/guest protocol. 2) A user level daemon that is 228 * data gathering functionality in a user mode daemon. The user level daemon 230 * kernel and user-level daemon communicate using a connector channel. [all …]
|
D | vbox_vmmdev_types.h | 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR CDDL-1.0) */ 3 * Virtual Device for Guest <-> VMM/Host communication, type definitions 6 * Copyright (C) 2006-2016 Oracle Corporation 20 typedef char type ## _asrt_size[1 - 2*!!(sizeof(struct type) != (size))] 22 /** enum vmmdev_request_type - VMMDev request types. */ 98 /* Ensure the enum is a 32 bit data-type */ 110 /* Requestor user not given. */ 116 /* The root or a admin user is the requestor. */ 118 /* Regular joe user is making the request. */ 120 /* User classification mask. */ [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | thunderbolt.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 some differences at the register level among other things. Connection 18 software connection manager in Linux also advertises security level 19 ``user`` which means PCIe tunneling is disabled by default. The 21 the software connection manager only supports ``user`` security level and 25 ----------------------------------- 27 should be a userspace tool that handles all the low-level details, keeps 31 found in ``Documentation/ABI/testing/sysfs-bus-thunderbolt``. 35 ``/etc/udev/rules.d/99-local.rules``:: 44 security levels available. Intel Titan Ridge added one more security level [all …]
|
/Linux-v6.1/drivers/comedi/drivers/ni_routing/ |
D | README | 13 1) The register values are _NOT_ in user documentation, but rather in 15 increasingly hard to find and the NI-MHDDK (comments in in example code). 21 name enums such that a user might know which enums should be used for 22 varying purposes, but the end-user had to gain a knowledge of register 25 3) The names for signals and registers found in the various register level 26 programming manuals and vendor-provided documentation are _not_ even 27 close to the same names that are in the end-user documentation. 32 NIDAQmx(-base) c-libraries, nor with register level programming, _nor_ 34 information is through the proprietary NI-MAX software, which currently only 36 cannot be exported from NI-MAX, except by screenshot. [all …]
|
/Linux-v6.1/arch/x86/mm/ |
D | pti.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Signed-off-by: Richard Fellner <richard.fellner@student.tugraz.at> 13 * Signed-off-by: Moritz Lipp <moritz.lipp@iaik.tugraz.at> 14 * Signed-off-by: Daniel Gruss <daniel.gruss@iaik.tugraz.at> 15 * Signed-off-by: Michael Schwarz <michael.schwarz@iaik.tugraz.at> 43 #define pr_fmt(fmt) "Kernel/User page tables isolation: " fmt 51 * Define the page-table levels we clone for user-space on 32 132 * Top-level entries added to init_mm's usermode pgd after boot in __pti_set_user_pgtbl() 139 * The user page tables get the full PGD, accessible from in __pti_set_user_pgtbl() 142 kernel_to_user_pgdp(pgdp)->pgd = pgd.pgd; in __pti_set_user_pgtbl() [all …]
|
/Linux-v6.1/arch/xtensa/kernel/ |
D | vectors.S | 4 * This file contains all exception vectors (user, kernel, and double), 13 * Copyright (C) 2005 - 2008 Tensilica, Inc. 20 * We use a two-level table approach. The user and kernel exception vectors 21 * use a first-level dispatch table to dispatch the exception to a registered 23 * The default handler sets up a C-stack and dispatches the exception to a 24 * registerd C handler in the second-level dispatch table. 41 * Note: Neither the kernel nor the user exception handler generate literals. 50 #include <asm/asm-offsets.h> 60 * User exception vector. (Exceptions with PS.UM == 1, PS.EXCM == 0) 63 * We switch to the kernel stack and jump to the first level handler [all …]
|
D | traps.c | 7 * Copyright (C) 1994 - 1999 by Ralf Baechle 14 * Copyright (C) 2001 - 2013 Tensilica Inc. 73 #define USER 0x02 macro 76 { EXCCAUSE_COPROCESSOR ## x ## _DISABLED, USER|KRNL, fast_coprocessor },\ 88 { EXCCAUSE_ILLEGAL_INSTRUCTION, USER, fast_illegal_instruction_user }, 91 { EXCCAUSE_SYSTEM_CALL, USER, fast_syscall_user }, 97 { EXCCAUSE_ALLOCA, USER|KRNL, fast_alloca }, 103 { EXCCAUSE_UNALIGNED, USER, fast_unaligned }, 110 { EXCCAUSE_ITLB_MISS, USER|KRNL, fast_second_level_miss}, 111 { EXCCAUSE_DTLB_MISS, USER|KRNL, fast_second_level_miss}, [all …]
|
/Linux-v6.1/arch/x86/kernel/ |
D | ioport.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This contains the io-permission bitmap code - written by obz, with changes 24 /* Can be NULL when current->thread.iopl_emul == 3 */ in io_bitmap_share() 25 if (current->thread.io_bitmap) { in io_bitmap_share() 30 refcount_inc(¤t->thread.io_bitmap->refcnt); in io_bitmap_share() 31 tsk->thread.io_bitmap = current->thread.io_bitmap; in io_bitmap_share() 38 struct thread_struct *t = &tsk->thread; in task_update_io_bitmap() 40 if (t->iopl_emul == 3 || t->io_bitmap) { in task_update_io_bitmap() 41 /* TSS update is handled on exit to user space */ in task_update_io_bitmap() 54 struct io_bitmap *iobm = tsk->thread.io_bitmap; in io_bitmap_exit() [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | nfc.rst | 15 - NFC adapters management; 16 - Polling for targets; 17 - Low-level data exchange; 21 responsible for providing an interface to control operations and low-level 26 The low-level data exchange interface is provided by the new socket family 29 .. code-block:: none 31 +--------------------------------------+ 32 | USER SPACE | 33 +--------------------------------------+ 35 | low-level | control [all …]
|
/Linux-v6.1/include/asm-generic/ |
D | pgalloc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * __pte_alloc_one_kernel - allocate a page for PTE-level kernel page table 26 * pte_alloc_one_kernel - allocate a page for PTE-level kernel page table 38 * pte_free_kernel - free PTE-level kernel page table page 48 * __pte_alloc_one - allocate a page for PTE-level user page table 76 * pte_alloc_one - allocate a page for PTE-level user page table 95 * pte_free - free PTE-level user page table page 110 * pmd_alloc_one - allocate a page for PMD-level page table 114 * Allocations use %GFP_PGTABLE_USER in user context and 140 BUG_ON((unsigned long)pmd & (PAGE_SIZE-1)); in pmd_free() [all …]
|
/Linux-v6.1/sound/soc/sof/intel/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 This option is not user-selectable but automagically handled by 16 'select' statements at a higher level. 23 This option is not user-selectable but automagically handled by 24 'select' statements at a higher level. 35 This option is not user-selectable but automagically handled by 36 'select' statements at a higher level. 77 DMA and suspend-resume, this is not a recommended option for 273 This option is not user-selectable but automagically handled by 274 'select' statements at a higher level. [all …]
|
/Linux-v6.1/include/linux/ |
D | tty_ldisc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 59 * struct tty_ldisc_ops - ldisc operations 69 * by the ldisc, and set @tty->receive_room to the maximum amount of data 88 * input characters it may have queued to be delivered to the user mode 94 * This function is called when the user requests to read from the @tty. 96 * for the user. If this function is not defined, the user will receive 105 * This function is called when the user requests to write to the @tty. 106 * The line discipline will deliver the characters to the low-level tty 108 * characters first. If this function is not defined, the user will 116 * This function is called when the user requests an ioctl which is not [all …]
|
/Linux-v6.1/Documentation/driver-api/thermal/ |
D | intel_powerclamp.rst | 6 - Arjan van de Ven <arjan@linux.intel.com> 7 - Jacob Pan <jacob.jun.pan@linux.intel.com> 12 - Goals and Objectives 15 - Idle Injection 16 - Calibration 19 - Effectiveness and Limitations 20 - Power vs Performance 21 - Scalability 22 - Calibration 23 - Comparison with Alternative Techniques [all …]
|
/Linux-v6.1/drivers/acpi/acpica/ |
D | nswalk.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nswalk - Functions for walking the ACPI namespace 6 * Copyright (C) 2000 - 2022, Intel Corp. 21 * PARAMETERS: parent_node - Parent node whose children we are 23 * child_node - Previous child that was found. 26 * RETURN: struct acpi_namespace_node - Pointer to the NEXT child or NULL if 45 return (parent_node->child); in acpi_ns_get_next_node() 50 return (child_node->peer); in acpi_ns_get_next_node() 57 * PARAMETERS: type - Type of node to be searched for 58 * parent_node - Parent node whose children we are [all …]
|
/Linux-v6.1/Documentation/admin-guide/pm/ |
D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel(R) Speed Select Technology User Guide 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 ------------ 47 # intel-speed-select --help [all …]
|
/Linux-v6.1/arch/ia64/kernel/ |
D | sigframe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 unsigned long ar_pfs; /* for syscalls, the user-level function-state */ 10 * Place signal handler args where user-level unwinder can find them easily. 11 * DO NOT MOVE THESE. They are part of the IA-64 Linux ABI and there is 12 * user-level code that depends on their presence!
|
/Linux-v6.1/arch/parisc/kernel/ |
D | traps.c | 1 // SPDX-License-Identifier: GPL-2.0 50 #include "../math-emu/math-emu.h" /* for handle_fpe() */ 57 unsigned long mask = 1UL << (nbits - 1); in printbinary() 72 #define FFMT "%016llx" /* fpregs are 64-bit always */ 75 printk("%s%s%02d-%02d " fmt " " fmt " " fmt " " fmt "\n", \ 79 static void print_gr(const char *level, struct pt_regs *regs) in print_gr() argument 84 printk("%s\n", level); in print_gr() 85 printk("%s YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI\n", level); in print_gr() 86 printbinary(buf, regs->gr[0], 32); in print_gr() 87 printk("%sPSW: %s %s\n", level, buf, print_tainted()); in print_gr() [all …]
|
/Linux-v6.1/drivers/scsi/ |
D | scsi_logging.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This defines the scsi logging feature. It is a means by which the user can 9 * really useful for fault tracing. The logging word is divided into 10 3-bit 13 * where these are specified. For a first go-around, 3 bits is more than 45 ((scsi_logging_level >> (SHIFT)) & ((1 << (BITS)) - 1)) 47 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) \ argument 49 if (unlikely((SCSI_LOG_LEVEL(SHIFT, BITS)) > (LEVEL))) \ 56 #define SCSI_CHECK_LOGGING(SHIFT, BITS, LEVEL, CMD) do { } while (0) argument 61 * log events. If logging isn't enabled, they are no-ops and will be 62 * completely absent from the user's code. [all …]
|
/Linux-v6.1/drivers/scsi/megaraid/ |
D | megaraid_ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (c) 2003-2004 LSI Logic Corporation. 10 * Definitions to interface with user level applications 26 #define CL_DLEVEL1 1 /* debug level 1, informative */ 27 #define CL_DLEVEL2 2 /* debug level 2, verbose */ 28 #define CL_DLEVEL3 3 /* debug level 3, very verbose */ 31 * con_log() - console log routine 32 * @level : indicates the severity of the message. 36 * debug level. Also it attaches the appropriate kernel severity level with 39 #define con_log(level, fmt) if (LSI_DBGLVL >= level) printk fmt; argument [all …]
|