| /linux/scripts/gendwarfksyms/ |
| H A D | kabi.c | 1 // SPDX-License-Identifier: GPL-2.0 16 * The rule section consists of four null-terminated strings per 22 * 2. type 23 * Type of the kABI rule. Must be one of the tags defined below. 25 * 3. target 26 * Rule-dependent target, typically the fully qualified name of 27 * the target DIE. 30 * Rule-dependent value. 33 (/* version\0 */ 2 + /* type\0 */ 2 + /* target\0" */ 1 + \ 39 * - For the struct/enum/union in the target field, treat it as a [all …]
|
| /linux/Documentation/driver-api/cxl/platform/example-configurations/ |
| H A D | flexible.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 * Cross-Bridge interleave is described in one CFMWS that covers all capacity. 16 * One CFMWS is also described per-host bridge. 17 * One CFMWS is also described per-device. 23 Subtable Type : 00 [CXL Host Bridge Structure] 32 Subtable Type : 00 [CXL Host Bridge Structure] 41 Subtable Type : 01 [CXL Fixed Memory Window Structure] 53 First Target : 00000007 54 Second Target : 00000006 56 Subtable Type : 01 [CXL Fixed Memory Window Structure] [all …]
|
| H A D | hb-interleave.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Cross-Host-Bridge Interleave 11 * Cross-Bridge interleave is described. 18 Subtable Type : 00 [CXL Host Bridge Structure] 27 Subtable Type : 00 [CXL Host Bridge Structure] 36 Subtable Type : 01 [CXL Fixed Memory Window Structure] 48 First Target : 00000007 49 Second Target : 00000006 53 Subtable Type : 01 [Memory Affinity] 63 Non-Volatile : 0 [all …]
|
| /linux/drivers/acpi/numa/ |
| H A D | hmat.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #include <linux/memory-tiers.h> 95 if (initiator->processor_pxm == cpu_pxm) in find_mem_initiator() 102 struct memory_target *target; in find_mem_target() local 104 list_for_each_entry(target, &targets, node) in find_mem_target() 105 if (target->memory_pxm == mem_pxm) in find_mem_target() 106 return target; in find_mem_target() 111 * hmat_get_extended_linear_cache_size - Retrieve the extended linear cache size 123 struct memory_target *target; in hmat_get_extended_linear_cache_size() local 127 target = find_mem_target(pxm); in hmat_get_extended_linear_cache_size() [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | gdb_xml.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 static const char gdb_xfer_read_target[31] = "qXfer:features:read:target.xml:"; 13 "qXfer:features:read:riscv-64bit-cpu.xml"; 17 "<!DOCTYPE target SYSTEM \"gdb-target.dtd\">" 18 "<target>" 19 "<xi:include href=\"riscv-64bit-cpu.xml\"/>" 20 "</target>"; 24 "<!DOCTYPE feature SYSTEM \"gdb-target.dtd\">" 26 "<reg name=\""DBG_REG_ZERO"\" bitsize=\"64\" type=\"int\" regnum=\"0\"/>" 27 "<reg name=\""DBG_REG_RA"\" bitsize=\"64\" type=\"code_ptr\"/>" [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | cfi.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <asm/insn-eval.h> 13 * Returns the target address and the expected type when regs->ip points 14 * to a compiler-generated CFI trap. 16 static bool decode_cfi_insn(struct pt_regs *regs, unsigned long *target, in decode_cfi_insn() argument 17 u32 *type) in decode_cfi_insn() argument 23 *target = *type = 0; in decode_cfi_insn() 29 * movl -<id>, %r10d ; 6 bytes in decode_cfi_insn() 30 * addl -<pos>(%reg), %r10d; 4 bytes in decode_cfi_insn() 32 * ud2 ; <- regs->ip in decode_cfi_insn() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | cfi.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Returns the target address and the expected type when regs->epc points 12 * to a compiler-generated CFI trap. 14 static bool decode_cfi_insn(struct pt_regs *regs, unsigned long *target, in decode_cfi_insn() argument 15 u32 *type) in decode_cfi_insn() argument 21 *target = *type = 0; in decode_cfi_insn() 27 * lw t1, -4(<reg>) in decode_cfi_insn() 31 * ebreak ; <- regs->epc in decode_cfi_insn() 35 * We can read the expected type and the target address from the in decode_cfi_insn() 38 if (get_kernel_nofault(insn, (void *)regs->epc - 4)) in decode_cfi_insn() [all …]
|
| /linux/Documentation/kbuild/ |
| H A D | gendwarfksyms.rst | 18 ------------ 26 sudo pacman --needed -S libelf zlib 30 sudo apt install libelf-dev libdw-dev zlib1g-dev 34 sudo dnf install elfutils-libelf-devel elfutils-devel zlib-devel 38 sudo zypper install libelf-devel libdw-devel zlib-devel 41 ----- 46 Usage: gendwarfksyms [options] elf-object-file ... < symbol-list 49 -d, --debug Print debugging information 50 --dump-dies Dump DWARF DIE contents 51 --dump-die-map Print debugging information about die_map changes [all …]
|
| /linux/fs/configfs/ |
| H A D | symlink.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * symlink.c - operations for configfs symlinks. 26 do { depth++; } while ((p = p->ci_parent) && !configfs_is_root(p)); in item_depth() 36 p = p->ci_parent; in item_path_length() 45 --length; in fill_item_path() 46 for (p = item; p && !configfs_is_root(p); p = p->ci_parent) { in fill_item_path() 50 length -= cur; in fill_item_path() 52 *(buffer + --length) = '/'; in fill_item_path() 57 struct config_item *target, char *path) in configfs_get_target_path() argument 63 size = item_path_length(target) + depth * 3 - 1; in configfs_get_target_path() [all …]
|
| /linux/fs/ocfs2/dlm/ |
| H A D | dlmthread.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 /* will exit holding res->spinlock, but may drop in function */ 41 /* waits until flags are cleared on res->state */ 46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags() 48 add_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 51 if (res->state & flags) { in __dlm_wait_on_lockres_flags() 52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags() 54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags() 57 remove_wait_queue(&res->wq, &wait); in __dlm_wait_on_lockres_flags() 63 if (list_empty(&res->granted) && in __dlm_lockres_has_locks() [all …]
|
| /linux/scripts/dtc/ |
| H A D | dtc-parser.y | 1 // SPDX-License-Identifier: GPL-2.0-or-later 72 %type <data> propdata 73 %type <data> propdataprefix 74 %type <flags> header 75 %type <flags> headers 76 %type <re> memreserve 77 %type <re> memreserves 78 %type <array> arrayprefix 79 %type <data> bytestring 80 %type <prop> propdef [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | phy-stm32-usbphyc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 22 |_ PHY port#2 ----| |________________ 27 - Amelie Delaunay <amelie.delaunay@foss.st.com> 31 const: st,stm32mp1-usbphyc 42 "#address-cells": 45 "#size-cells": 48 vdda1v1-supply: [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | ptrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 #include <asm/debug-monitors.h> 98 * regs_query_register_offset() - query register offset from its name 102 * pt_regs from its name. If the name is invalid, this returns -EINVAL; 108 for (roff = regoffset_table; roff->name != NULL; roff++) in regs_query_register_offset() 109 if (!strcmp(roff->name, name)) in regs_query_register_offset() 110 return roff->offset; in regs_query_register_offset() 111 return -EINVAL; in regs_query_register_offset() 115 * regs_within_kernel_stack() - check the address in the stack 124 return ((addr & ~(THREAD_SIZE - 1)) == in regs_within_kernel_stack() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-table.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 9 #include "dm-core.h" 10 #include "dm-rq.h" 15 #include <linux/blk-integrity.h> 24 #include <linux/blk-mq.h> 63 return t->index[l] + (n * KEYS_PER_NODE); in get_node() 72 for (; l < t->depth - 1; l++) in high() 73 n = get_child(n, CHILDREN_PER_NODE - 1); in high() 75 if (n >= t->counts[l]) in high() [all …]
|
| /linux/tools/lib/bpf/ |
| H A D | bpf_core_read.h | 1 /* SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) */ 9 * __builtin_preserve_field_info() built-in to get a specific aspect of 18 BPF_FIELD_EXISTS = 2, /* field existence in target kernel */ 24 /* second argument to __builtin_btf_type_id() built-in */ 26 BPF_TYPE_ID_LOCAL = 0, /* BTF type ID in local program */ 27 BPF_TYPE_ID_TARGET = 1, /* BTF type I 156 ___bpf_typeof(type) global() argument 158 ___bpf_typeof1(type,NR) global() argument 162 ___bpf_typeof(type) global() argument 167 ___bpf_field_ref2(type,field) global() argument 170 ___bpf_field_ref2(type,field) global() argument 220 bpf_core_type_id_local(type) global() argument 230 bpf_core_type_id_kernel(type) global() argument 240 bpf_core_type_exists(type) global() argument 250 bpf_core_type_matches(type) global() argument 260 bpf_core_type_size(type) global() argument 337 bpf_core_cast(ptr,type) global() argument [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | rsdump.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: rsdump - AML debugger support for resource structures. 56 * PARAMETERS: resource_list - Pointer to a resource descriptor list 67 u32 type; in acpi_rs_dump_resource_list() local 83 /* Validate Type before dispatch */ in acpi_rs_dump_resource_list() 85 type = resource_list->type; in acpi_rs_dump_resource_list() 86 if (type > ACPI_RESOURCE_TYPE_MAX) { in acpi_rs_dump_resource_list() 88 ("Invalid descriptor type (%X) in resource list\n", in acpi_rs_dump_resource_list() 89 resource_list->type); in acpi_rs_dump_resource_list() 91 } else if (!resource_list->type) { in acpi_rs_dump_resource_list() [all …]
|
| H A D | exstoren.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: exstoren - AML Interpreter object store support, 7 * Copyright (C) 2000 - 2025, Intel Corp. 23 * PARAMETERS: source_desc_ptr - Pointer to the source object 24 * target_type - Current type of the target 25 * walk_state - Current walk state 43 /* Ensure we have a Target that can be stored to */ in acpi_ex_resolve_object() 62 if (source_desc->common.type == ACPI_TYPE_LOCAL_REFERENCE) { in acpi_ex_resolve_object() 76 if (walk_state->opcode == AML_COPY_OBJECT_OP) { in acpi_ex_resolve_object() 82 if ((source_desc->common.type != ACPI_TYPE_INTEGER) && in acpi_ex_resolve_object() [all …]
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_target.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2004 - 2010 Vladislav Bolkhovitin <vst@vlnb.net> 4 * Copyright (C) 2004 - 2005 Leonid Stoljar 6 * Copyright (C) 2007 - 2010 ID7 Ltd. 8 * Forward port and refactoring to modern qla2xxx and target/configfs 10 * Copyright (C) 2010-2011 Nicholas A. Bellinger <nab@kernel.org> 12 * Additional file for the target driver support. 16 * target portion. 27 * data in the target add-on 32 * Must be changed on any change in any target visible interfaces or [all …]
|
| /linux/security/tomoyo/ |
| H A D | tomoyo.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005-2011 NTT DATA CORPORATION 13 * tomoyo_domain - Get "struct tomoyo_domain_info" for current thread. 21 if (s->old_domain_info && !current->in_execve) { in tomoyo_domain() 22 atomic_dec(&s->old_domain_info->users); in tomoyo_domain() 23 s->old_domain_info = NULL; in tomoyo_domain() 25 return s->domain_info; in tomoyo_domain() 29 * tomoyo_cred_prepare - Target for security_prepare_creds(). 43 if (s->old_domain_info && !current->in_execve) { in tomoyo_cred_prepare() 44 atomic_dec(&s->domain_info->users); in tomoyo_cred_prepare() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | mem.c | 32 enum nvkm_memory_target target; member 45 return nvkm_mem(memory)->target; in nvkm_mem_target() 58 if (mem->pages == 1 && mem->mem) in nvkm_mem_addr() 59 return mem->dma[0]; in nvkm_mem_addr() 66 return nvkm_mem(memory)->pages << PAGE_SHIFT; in nvkm_mem_size() 75 .memory = &mem->memory, in nvkm_mem_map_dma() 77 .dma = mem->dma, in nvkm_mem_map_dma() 86 if (mem->mem) { in nvkm_mem_dtor() 87 while (mem->pages--) { in nvkm_mem_dtor() 88 dma_unmap_page(mem->mmu->subdev.device->dev, in nvkm_mem_dtor() [all …]
|
| /linux/Documentation/devicetree/bindings/bus/ |
| H A D | ti-sysc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/bus/ti-sysc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments interconnect target module 10 - Tony Lindgren <tony@atomide.com> 13 Texas Instruments SoCs can have a generic interconnect target module 20 Each interconnect target module can have one or more devices connected to 21 it. There is a set of control registers for managing the interconnect target 24 The interconnect target module control registers are sprinkled into the [all …]
|
| /linux/Documentation/driver-api/surface_aggregator/ |
| H A D | ssh.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 3 .. |u8| replace:: :c:type:`u8 <u8>` 4 .. |u16| replace:: :c:type:`u16 <u16>` 5 .. |TYPE| replace:: ``TYPE`` substdef 28 SAM-over-SSH, as opposed to SAM-over-HID for the older generations. 30 On Surface devices with SAM-over-SSH, SAM is connected to the host via UART 33 and power information and events, thermal read-outs and events, and many 39 document: All of this has been reverse-engineered and may thus be erroneous 42 All CRCs used in the following are two-byte ``crc_itu_t(0xffff, ...)``. 43 All multi-byte values are little-endian, there is no implicit padding between [all …]
|
| /linux/Documentation/bpf/ |
| H A D | llvm_reloc.rst | 1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 12 LLVM BPF backend records each relocation with the following 16-byte 18 Elf64_Xword r_info; // Relocation type and symbol index. 31 Compiled with ``clang --target=bpf -O2 -c test.c``, the following is 32 the code with ``llvm-objdump -dr test.o``:: 52 The following ``llvm-readelf -r test.o`` shows the binary values of the four 56 Offset Info Type Symbol's Value Symbol's Name 64 (Offset 0x0) and the corresponding ``Info`` indicates the relocation type 65 of ``R_BPF_64_64`` (type 1) and the entry in the symbol table (entry 6). 66 The following is the symbol table with ``llvm-readelf -s test.o``:: [all …]
|
| /linux/drivers/scsi/fnic/ |
| H A D | fcpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 25 * Command entry type 38 * Target request types 81 FCPIO_REQ_NOT_SUPPORTED, /* request type is not supported */ 86 * a cmpl message type. In cases where errors occurred, 110 * of the tag field will be the target command and target task management 127 tag->u.req_id = id; in fcpio_tag_id_enc() 133 *id = tag->u.req_id; in fcpio_tag_id_dec() 139 tag->u.ex_id.rx_id = rx_id; in fcpio_tag_exid_enc() 140 tag->u.ex_id.ox_id = ox_id; in fcpio_tag_exid_enc() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | selection-api-examples.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 9 ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` for other devices; change target to 15 .. code-block:: c 18 .type = V4L2_BUF_TYPE_VIDEO_CAPTURE, 19 .target = V4L2_SEL_TGT_CROP_DEFAULT, 23 exit(-1); 24 sel.target = V4L2_SEL_TGT_CROP; 27 exit(-1); 35 .. code-block:: c 38 .type = V4L2_BUF_TYPE_VIDEO_OUTPUT, [all …]
|