Home
last modified time | relevance | path

Searched +full:- +full:section (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/Linux-v5.15/scripts/
Dcheck_extable.sh2 # SPDX-License-Identifier: GPL-2.0
7 file ${obj} | grep -q ELF || (echo "${obj} is not an ELF file." 1>&2 ; exit 0)
9 # Bail out early if there isn't an __ex_table section in this object file.
10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null
11 [ $? -ne 0 ] && exit 0
15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 |
16 grep -v $(eval echo -e{${white_list}}) | awk '{print $3}')
19 [ -z "${suspicious_relocs}" ] && exit 0
24 # white listed. If you're adding a new section in the Linux kernel, and
25 # you're expecting this section to contain code which can fault (i.e. the
[all …]
/Linux-v5.15/arch/powerpc/include/asm/
Dhead-64.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * We can't do CPP stringification and concatination directly into the section
13 .section ".head.text.\name\()","ax",@progbits
16 .section ".head.data.\name\()","a",@progbits
19 .section ".head.text.\name\()","ax",@progbits
24 * fixed section entries into them before closing them. Multiple fixed sections
27 * Each fixed section created in a .S file must have corresponding linkage
30 * For each fixed section, code is generated into it in the order which it
31 * appears in the source. Fixed section entries can be placed at a fixed
32 * location within the section using _LOCATION postifx variants. These must
[all …]
/Linux-v5.15/drivers/usb/chipidea/
Dotg_fsm.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include <linux/usb/otg-fsm.h>
14 * A-DEVICE timing constants
18 #define TA_WAIT_VRISE (100) /* a_wait_vrise: section 7.1.2
19 * a_wait_vrise_tmr: section 7.4.5.1
20 * TA_VBUS_RISE <= 100ms, section 4.4
21 * Table 4-1: Electrical Characteristics
22 * ->DC Electrical Timing
25 #define TA_WAIT_VFALL (1000) /* a_wait_vfall: section 7.1.7
26 * a_wait_vfall_tmr: section: 7.4.5.2
[all …]
/Linux-v5.15/Documentation/bpf/
Dllvm_reloc.rst1 .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
12 LLVM BPF backend records each relocation with the following 16-byte
17 Elf64_Addr r_offset; // Offset from the beginning of section.
23 int g1 __attribute__((section("sec")));
24 int g2 __attribute__((section("sec")));
25 static volatile int l1 __attribute__((section("sec")));
26 static volatile int l2 __attribute__((section("sec")));
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
[all …]
/Linux-v5.15/Documentation/livepatch/
Dmodule-elf-format.rst16 Formerly, livepatch required separate architecture-specific code to write
17 relocations. However, arch-specific code to write relocations already
19 code. So, instead of duplicating code and re-implementing what the module
21 loader to perform the all the arch-specific relocation work. Specifically,
26 of arch-specific code required to port livepatch to a particular
29 Since apply_relocate_add() requires access to a module's section header
30 table, symbol table, and relocation section indices, Elf information is
31 preserved for livepatch modules (see section 5). Livepatch manages its own
34 selected from OS-specific ranges according to the definitions from glibc.
37 -----------------------------------------------------
[all …]
/Linux-v5.15/tools/objtool/include/objtool/
Delf.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
28 struct section { struct
36 struct section *base, *reloc; argument
50 struct section *sec; argument
68 struct section *sec;
103 #define OFFSET_STRIDE_MASK (~(OFFSET_STRIDE - 1))
111 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash()
113 u32 ol, oh, idx = sec->idx; in sec_offset_hash()
127 return sec_offset_hash(reloc->sec, reloc->offset); in reloc_hash()
131 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t…
[all …]
/Linux-v5.15/Documentation/arm64/
Dacpi_object_usage.rst8 If a section number is used, it refers to a section number in the ACPI
12 outside of the UEFI Forum (see Section 5.2.6 of the specification).
16 - Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT
18 - Recommended: BERT, EINJ, ERST, HEST, PCCT, SSDT
20 - Optional: BGRT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT, IBFT,
24 - Not supported: BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT, MSDM, OEMx,
30 BERT Section 18.3 (signature == "BERT")
43 BGRT Section 5.2.22 (signature == "BGRT")
47 Optional, not currently supported, with no real use-case for an
50 CPEP Section 5.2.18 (signature == "CPEP")
[all …]
/Linux-v5.15/include/linux/
Dseqlock.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * seqcount_t / seqlock_t - a reader-writer consistency mechanism with
7 * lockless readers (read-only retry loops), and no writer starvation.
12 * - Based on x86_64 vsyscall gettimeofday: Keith Owens, Andrea Arcangeli
13 * - Sequence counters with associated locks, (C) 2020 Linutronix GmbH
17 #include <linux/kcsan-checks.h>
32 * As a consequence, we take the following best-effort approach for raw usage
33 * via seqcount_t under KCSAN: upon beginning a seq-reader critical section,
46 * Write side critical sections must be serialized and non-preemptible.
50 * entering the write section.
[all …]
/Linux-v5.15/mm/
Dsparse.c1 // SPDX-License-Identifier: GPL-2.0
24 * 1) mem_section - memory sections, mem_map's for valid memory
65 struct mem_section *section = NULL; in sparse_index_alloc() local
70 section = kzalloc_node(array_size, GFP_KERNEL, nid); in sparse_index_alloc()
72 section = memblock_alloc_node(array_size, SMP_CACHE_BYTES, in sparse_index_alloc()
74 if (!section) in sparse_index_alloc()
79 return section; in sparse_index_alloc()
85 struct mem_section *section; in sparse_index_init() local
88 * An existing section is possible in the sub-section hotplug in sparse_index_init()
89 * case. First hot-add instantiates, follow-on hot-add reuses in sparse_index_init()
[all …]
/Linux-v5.15/Documentation/locking/
Dseqlock.rst8 Sequence counters are a reader-writer consistency mechanism with
9 lockless readers (read-only retry loops), and no writer starvation. They
15 read side critical section is even and the same sequence count value is
16 read again at the end of the critical section. The data in the set must
17 be copied out inside the read side critical section. If the sequence
18 count has changed between the start and the end of the critical section,
22 critical section. After starting the critical section the sequence count
24 the end of the write side critical section the sequence count becomes
27 A sequence counter write side critical section must never be preempted
30 interrupted writer. If that reader belongs to a real-time scheduling
[all …]
/Linux-v5.15/arch/m68k/ifpsp060/
DTEST.DOC3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
30 -----------------------------------------------------
36 --------------------
56 -----------------------
59 -----------------
60 | | - 128 byte-sized section
61 (1) | Call-Out | - 4 bytes per entry (user fills these in)
63 -----------------
64 | | - 8 bytes per entry
[all …]
Disp.doc3 M68000 Hi-Performance Microprocessor Division
5 Production Release P1.00 -- October 10, 1994
30 ------------------------------------------------
41 64-bit divide
42 64-bit multiply
50 --------------------
70 -----------------------
73 -----------------
74 | | - 128 byte-sized section
75 (1) | Call-Out | - 4 bytes per entry (user fills these in)
[all …]
/Linux-v5.15/arch/ia64/include/asm/
Dasmmacro.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (C) 2000-2001, 2003-2004 Hewlett-Packard Co
7 * David Mosberger-Tang <davidm@hpl.hp.com>
42 * When adding any new .section/.previous entries here, make sure to
43 * also add it to the DISCARD section in arch/ia64/kernel/gate.lds.S or
47 .section "__ex_table", "a" // declare section & section attributes
51 .xdata4 "__ex_table", 99f-., y-.; \
54 .xdata4 "__ex_table", 99f-., y-.+4; \
61 .section "__mca_table", "a" // declare section & section attributes
65 .xdata4 "__mca_table", y-., 99f-.; \
[all …]
/Linux-v5.15/Documentation/firmware-guide/acpi/apei/
Doutput_format.rst1 .. SPDX-License-Identifier: GPL-2.0
13 section: <integer>, severity: <integer>, <severity string>
15 <section flags strings>
18 section_type: <section type string>
19 <section data>
23 <section flags strings># :=
27 <section type string> := generic processor error | memory error | \
30 <section data> :=
31 <generic processor section data> | <memory section data> | \
32 <pcie section data> | <null>
[all …]
/Linux-v5.15/drivers/media/test-drivers/vidtv/
Dvidtv_psi.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * This file contains the logic to work with MPEG Program-Specific Information.
4 * These are defined both in ISO/IEC 13818-1 (systems) and ETSI EN 300 468.
7 * hence 'table' and 'section' are interchangeable for vidtv.
18 * all section lengths start immediately after the 'section_length' field
19 * see ISO/IEC 13818-1 : 2000 and ETSI EN 300 468 V 1.10.1 for
35 REGISTRATION_DESCRIPTOR = 0x05, /* See ISO/IEC 13818-1 section 2.6.8 */
36 NETWORK_NAME_DESCRIPTOR = 0x40, /* See ETSI EN 300 468 section 6.2.27 */
37 SERVICE_LIST_DESCRIPTOR = 0x41, /* See ETSI EN 300 468 section 6.2.35 */
38 SERVICE_DESCRIPTOR = 0x48, /* See ETSI EN 300 468 section 6.2.33 */
[all …]
/Linux-v5.15/LICENSES/deprecated/
DGFDL-1.21 Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later
2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-only
3 Valid-License-Identifier: GFDL-1.2-no-invariants-or-later
4 Valid-License-Identifier: GFDL-1.2-no-invariants-only
5 SPDX-URL: https://spdx.org/licenses/GFDL-1.2-no-invariants-or-later.html
6 Usage-Guide:
8 Invariant Sections, Front-Cover Texts or Back-Cover Texts.
13 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.2-no-invariants-or-later
15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only
17 SPDX-License-Identifier: GFDL-1.2-no-invariants-or-later
[all …]
/Linux-v5.15/arch/mips/include/asm/
Dunaligned-emul.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 ".section\t.fixup,\"ax\"\n\t" \
22 ".section\t__ex_table,\"a\"\n\t" \
27 : "r" (addr), "i" (-EFAULT)); \
39 ".section\t.fixup,\"ax\"\n\t" \
43 ".section\t__ex_table,\"a\"\n\t" \
48 : "r" (addr), "i" (-EFAULT)); \
72 ".section\t.fixup,\"ax\"\n\t" \
76 ".section\t__ex_table,\"a\"\n\t" \
83 : "r" (addr), "i" (-EFAULT)); \
[all …]
/Linux-v5.15/tools/perf/
Dbuiltin-config.c1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-config.c
11 #include <subcmd/parse-options.h>
21 "perf config [<file-option>] [options] [section.name[=value] ...]",
39 struct perf_config_section *section = NULL; in set_config() local
41 const char *first_line = "# this file is auto-generated."; in set_config()
45 return -1; in set_config()
49 return -1; in set_config()
54 perf_config_items__for_each_entry(&set->sections, section) { in set_config()
55 if (!use_system_config && section->from_system_config) in set_config()
[all …]
/Linux-v5.15/tools/objtool/
Delf.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * elf.c - ELF access library
6 * Copyright (C) 2013-2015 Josh Poimboeuf <jpoimboe@redhat.com>
31 #define __elf_table(name) (elf->name##_hash)
32 #define __elf_bits(name) (elf->name##_bits)
45 MAP_PRIVATE|MAP_ANON, -1, 0); \
46 if (__elf_table(name) == (void *)-1L) { \
58 if (sa->offset < sb->offset) in symbol_to_offset()
60 if (sa->offset > sb->offset) in symbol_to_offset()
63 if (sa->len < sb->len) in symbol_to_offset()
[all …]
/Linux-v5.15/tools/perf/util/
Dconfig.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <subcmd/exec-cmd.h>
19 #include "util/llvm-utils.h" /* perf_llvm_config */
22 #include "build-id.h"
83 if (len >= sizeof(value) - 1) in parse_value()
133 quote = 1-quote; in parse_value()
142 return isalnum(c) || c == '-' || c == '_'; in iskeychar()
159 return -1; in get_value()
168 return -1; in get_value()
171 return -1; in get_value()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/pm/inc/
Dsmu11_driver_if_sienna_cichlid.h53 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1)
54 #define MAX_SMNCLK_DPM_LEVEL (NUM_SMNCLK_DPM_LEVELS - 1)
55 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1)
56 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1)
57 #define MAX_DCLK_DPM_LEVEL (NUM_DCLK_DPM_LEVELS - 1)
58 #define MAX_VCLK_DPM_LEVEL (NUM_VCLK_DPM_LEVELS - 1)
59 #define MAX_DCEFCLK_DPM_LEVEL (NUM_DCEFCLK_DPM_LEVELS - 1)
60 #define MAX_DISPCLK_DPM_LEVEL (NUM_DISPCLK_DPM_LEVELS - 1)
61 #define MAX_PIXCLK_DPM_LEVEL (NUM_PIXCLK_DPM_LEVELS - 1)
62 #define MAX_PHYCLK_DPM_LEVEL (NUM_PHYCLK_DPM_LEVELS - 1)
[all …]
/Linux-v5.15/arch/x86/kernel/cpu/sgx/
Dsgx.h1 /* SPDX-License-Identifier: GPL-2.0 */
30 unsigned int section; member
48 * used to store EPC pages for one EPC section and virtual memory area where
62 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_get_epc_phys_addr() local
65 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page); in sgx_get_epc_phys_addr()
67 return section->phys_addr + index * PAGE_SIZE; in sgx_get_epc_phys_addr()
72 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_get_epc_virt_addr() local
75 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page); in sgx_get_epc_virt_addr()
77 return section->virt_addr + index * PAGE_SIZE; in sgx_get_epc_virt_addr()
92 return -ENODEV; in sgx_vepc_init()
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/
Dnvm.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2019, 2021 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
9 #include "iwl-trans.h"
10 #include "iwl-csr.h"
12 #include "iwl-eeprom-parse.h"
13 #include "iwl-eeprom-read.h"
14 #include "iwl-nvm-parse.h"
15 #include "iwl-prph.h"
[all …]
/Linux-v5.15/arch/powerpc/boot/
Drs6000.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 Written by Mimi Ph\373\364ng-Th\345o V\365 of IBM
50 unsigned char o_snentry[2]; /* section number of entry point */
51 unsigned char o_sntext[2]; /* section number of .text section */
52 unsigned char o_sndata[2]; /* section number of .data section */
53 unsigned char o_sntoc[2]; /* section number of TOC */
54 unsigned char o_snloader[2]; /* section number of .loader section */
55 unsigned char o_snbss[2]; /* section number of .bss section */
72 #define RS6K_AOUTHDR_ZMAGIC 0x010B /* paged: text r/o, both page-aligned */
75 /********************** SECTION HEADER **********************/
[all …]
/Linux-v5.15/arch/arc/include/asm/
Duaccess.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 * -__clear_user( ) called multiple times during elf load was byte loop
10 * -Hand crafted constant propagation for "constant" copy sizes
11 * -stock kernel shrunk by 33K at -O3
14 * -Added option to (UN)inline copy_(to|from)_user to reduce code sz
15 * -kernel shrunk by 200K even at -O3 (gcc 4.2.1)
16 * -Enabled when doing -Os
32 * where TASK_SIZE could either be retrieved from thread_info->addr_limit or
39 * non-ngeative, which implies that buffer start will be within limit too.
[all …]

12345678910>>...44