/linux/scripts/ |
H A D | check_extable.sh | 2 # 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 …]
|
H A D | generate_builtin_ranges.awk | 1 #!/usr/bin/gawk -f 2 # SPDX-License-Identifier: GPL-2.0 27 mod = substr(s, RSTART + 16, RLENGTH - 16); 30 mod = substr(s, RSTART + 13, RLENGTH - 13); 44 gsub(/-/, "_", mod); 53 # Update the ranges entry for the given module 'mod' in section 'osect'. 57 # section data, and the first module may very well start at the same address. 65 entries[idx] = sprintf("%s %08x- [all...] |
/linux/arch/powerpc/include/asm/ |
H A D | head-64.h | 1 /* 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/drivers/usb/chipidea/ |
H A D | otg_fsm.h | 1 /* 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/tools/objtool/include/objtool/ |
H A D | elf.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 33 struct section { struct 40 struct section *base, *rsec; argument 55 struct section *sec; argument 76 struct section *group_sec; 81 struct section *sec; 108 struct section *section_data; 114 struct section *elf_create_section(struct elf *elf, const char *name, 116 struct section *elf_create_section_pair(struct elf *elf, const char *name, 122 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec, [all …]
|
/linux/Documentation/arch/arm64/ |
H A D | acpi_object_usage.rst | 8 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: AGDI, BGRT, CEDT, CPEP, CSRT, DBG2, DRTM, ECDT, FACS, FPDT, 24 - Not supported: AEST, APMT, BOOT, DBGP, DMAR, ETDT, HPET, IVRS, LPIT, 41 This table describes a non-maskable event, that is used by the platform 51 BERT Section 18.3 (signature == "BERT") 64 BGRT Section 5.2.22 (signature == "BGRT") 68 Optional, not currently supported, with no real use-case for an [all …]
|
H A D | arm-acpi.rst | 23 industry-standard Arm systems, they also apply to more than one operating 25 ACPI and Linux only, on an Arm system -- that is, what Linux expects of 30 ---------------- 33 exist in Linux for describing non-enumerable hardware, after all. In this 34 section we summarize a blog post [3] from Grant Likely that outlines the 40 - ACPI’s byte code (AML) allows the platform to encode hardware behavior, 45 - ACPI’s OSPM defines a power management model that constrains what the 49 - In the enterprise server environment, ACPI has established bindings (such 55 - Choosing a single interface to describe the abstraction between a platform 61 - The new ACPI governance process works well and Linux is now at the same [all …]
|
/linux/Documentation/livepatch/ |
H A D | module-elf-format.rst | 16 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/arch/m68k/ifpsp060/ |
H A D | TEST.DOC | 3 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 …]
|
H A D | isp.doc | 3 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/mm/ |
H A D | sparse.c | 1 // 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/drivers/media/test-drivers/vidtv/ |
H A D | vidtv_psi.h | 1 /* 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/LICENSES/deprecated/ |
H A D | GFDL-1.2 | 1 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 …]
|
H A D | GFDL-1.1 | 1 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 2 Valid-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only 3 Valid-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Valid-License-Identifier: GFDL-1.1-no-invariants-only 5 SPDX-URL: https://spdx.org/licenses/GFDL-1.1-no-invariants-or-later.html 6 Usage-Guide: 8 Invariant Sections, Front-Cover Texts or Back-Cover Texts. 11 userspace-api media documentation). 15 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 17 SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-only [all …]
|
/linux/Documentation/firmware-guide/acpi/apei/ |
H A D | output_format.rst | 1 .. 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/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 1 /* 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/tools/perf/util/ |
H A D | libbfd.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include "bpf-event.h" 5 #include "bpf-utils.h" 14 #include <tools/dis-asm-compat.h> 53 return -1; in bfd_error() 85 a2l->syms = syms; in slurp_symtab() 89 static void find_address_in_section(bfd *abfd, asection *section, void *data) in find_address_in_section() argument 96 if (a2l->found) in find_address_in_section() 100 flags = bfd_get_section_flags(abfd, section); in find_address_in_section() 102 flags = bfd_section_flags(section); in find_address_in_section() [all …]
|
H A D | config.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <subcmd/exec-cmd.h> 23 #include "build-id.h" 50 .ctl_fd = -1, 51 .ctl_fd_ack = -1, 100 if (len >= sizeof(value) - 1) in parse_value() 150 quote = 1-quote; in parse_value() 159 return isalnum(c) || c == '-' || c == '_'; in iskeychar() 176 return -1; in get_value() 185 return -1; in get_value() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_displayid.c | 1 // SPDX-License-Identifier: MIT 17 if (sizeof(*base) > length - index) in displayid_get_header() 18 return ERR_PTR(-EINVAL); in displayid_get_header() 37 dispid_length = sizeof(*base) + base->bytes + 1; in validate_displayid() 38 if (dispid_length > length - idx) in validate_displayid() 39 return ERR_PTR(-EINVAL); in validate_displayid() 45 return ERR_PTR(-EINVAL); in validate_displayid() 63 *length = EDID_LENGTH - 1; in drm_find_displayid_extension() 70 *length = *idx + sizeof(*base) + base->bytes; in drm_find_displayid_extension() 80 iter->drm_edid = drm_edid; in displayid_iter_edid_begin() [all …]
|
/linux/arch/arc/include/asm/ |
H A D | uaccess.h | 1 /* 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 41 * Returns 0 on success, -EFAULT if not. 42 * @ret already contains 0 - given that errors will be less likely [all …]
|
/linux/drivers/mtd/nand/spi/ |
H A D | winbond.c | 1 // SPDX-License-Identifier: GPL-2.0 90 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_ecc() argument 93 if (section > 3) in w25m02gv_ooblayout_ecc() 94 return -ERANGE; in w25m02gv_ooblayout_ecc() 96 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc() 97 region->length = 8; in w25m02gv_ooblayout_ecc() 102 static int w25m02gv_ooblayout_free(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_free() argument 105 if (section > 3) in w25m02gv_ooblayout_free() 106 return -ERANGE; in w25m02gv_ooblayout_free() 108 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free() [all …]
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | sgx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 unsigned int section; member 54 * used to store EPC pages for one EPC section and virtual memory area where 68 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_get_epc_phys_addr() local 71 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page); in sgx_get_epc_phys_addr() 73 return section->phys_addr + index * PAGE_SIZE; in sgx_get_epc_phys_addr() 78 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_get_epc_virt_addr() local 81 index = ((unsigned long)page - (unsigned long)section->pages) / sizeof(*page); in sgx_get_epc_virt_addr() 83 return section->virt_addr + index * PAGE_SIZE; in sgx_get_epc_virt_addr() 101 return -ENODEV; in sgx_vepc_init()
|
/linux/include/media/ |
H A D | demux.h | 4 * The Kernel Digital TV Demux kABI defines a driver-internal interface for 5 * registering low-level, hardware specific driver to a hardware independent 40 * DMX_MAX_FILTER_SIZE: Maximum length (in bytes) of a section/PES filter. 48 * DMX_MAX_SECFEED_SIZE: Maximum length (in bytes) of a private section feed 64 * enum ts_filter_type - filter type bitmap for dmx_ts_feed.set\(\) 69 * @TS_DECODER: Send stream to built-in decoder (if present). 81 * struct dmx_ts_feed - Structure that contains a TS feed filter 83 * @is_filtering: Set to non-zero when filtering in progress 108 * Section reception 112 * struct dmx_section_filter - Structure that describes a section filter [all …]
|
/linux/include/linux/ |
H A D | sctp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 16 * lksctp developers <linux-sctp@vger.kernel.org> 44 /* Section 3.1. SCTP Common Header Format */ 57 /* Section 3.2. Chunk Field Descriptions. */ 65 /* Section 3.2. Chunk Type Values. 87 /* AUTH Extension Section 4.1 */ 90 /* sctp ndata 5.1. I-DATA */ 93 /* PR-SCTP Sec 3.2 */ [all …]
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/ |
H A D | smu11_driver_if_sienna_cichlid.h | 53 #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 …]
|