/linux-6.3-rc2/tools/objtool/include/objtool/ |
A D | elf.h | 28 struct section { struct 36 struct section *base, *reloc; argument 51 struct section *sec; argument 75 struct section *sec; 108 struct section *section_data; 122 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash() 164 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, 166 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, 168 struct section *insn_sec, unsigned long insn_off); 170 int elf_write_insn(struct elf *elf, struct section *sec, [all …]
|
/linux-6.3-rc2/scripts/ |
A D | check_extable.sh | 55 …eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | … 62 find_alt_replacement_target ${section} ${section_offset} 72 objdump -hwj ${section} ${obj} | grep -q CODE 78 if is_executable_section ${section}; then 83 echo "Warning: found a reference to section \"${section}\" in __ex_table:" 84 addr2line -fip -j ${section} -e ${obj} ${section_offset} | awk '{print "\t" $0}' 89 …echo "Error: found a reference to non-executable section \"${section}\" in __ex_table at offset ${… 96 case "${section}" in 98 handle_alt_replacement_reloc ${section} ${section_offset} 101 handle_suspicious_generic_reloc ${section} ${section_offset} [all …]
|
A D | kernel-doc | 549 my ($parameter, $section); 632 print ".SH \"$section\"\n"; 667 print ".SH \"$section\"\n"; 684 print ".SH \"$section\"\n"; 697 print ".SH \"$section\"\n"; 907 my $section; 2005 $section = $1; 2123 $section = $newsection; 2163 if ($section =~ m/^@/ || $section eq $section_context) { 2189 $section = $1; [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | config.c | 601 return section; in find_section() 621 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local 623 if (!section) in add_section() 628 if (!section->name) { in add_section() 630 free(section); in add_section() 635 return section; in add_section() 696 if (!section) { in collect_config() 698 if (!section) in collect_config() 858 zfree(§ion->name); in perf_config_section__delete() 859 free(section); in perf_config_section__delete() [all …]
|
A D | config.h | 58 #define perf_config_sections__for_each_entry(list, section) \ argument 59 list_for_each_entry(section, list, node) 75 #define perf_config_set__for_each_entry(set, section, item) \ argument 76 perf_config_sections__for_each_entry(&set->sections, section) \ 77 perf_config_items__for_each_entry(§ion->items, item)
|
/linux-6.3-rc2/arch/x86/kernel/cpu/sgx/ |
A D | sgx.h | 33 unsigned int section; member 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()
|
A D | main.c | 78 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in __sgx_sanitize_pages() local 604 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_free_epc_page() local 628 if (!section->virt_addr) in sgx_setup_epc_section() 632 if (!section->pages) { in sgx_setup_epc_section() 633 memunmap(section->virt_addr); in sgx_setup_epc_section() 642 section->pages[i].section = index; in sgx_setup_epc_section() 643 section->pages[i].flags = 0; in sgx_setup_epc_section() 663 if (!section) in sgx_paddr_to_page() 666 return §ion->pages[PFN_DOWN(paddr - section->phys_addr)]; in sgx_paddr_to_page() 700 section = &sgx_epc_sections[page->section]; in arch_memory_failure() [all …]
|
/linux-6.3-rc2/drivers/mtd/nand/spi/ |
A D | winbond.c | 34 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_ecc() argument 37 if (section > 3) in w25m02gv_ooblayout_ecc() 40 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc() 46 static int w25m02gv_ooblayout_free(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_free() argument 49 if (section > 3) in w25m02gv_ooblayout_free() 52 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free() 77 static int w25n02kv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25n02kv_ooblayout_ecc() argument 80 if (section > 3) in w25n02kv_ooblayout_ecc() 83 region->offset = 64 + (16 * section); in w25n02kv_ooblayout_ecc() 92 if (section > 3) in w25n02kv_ooblayout_free() [all …]
|
A D | ato.c | 30 static int ato25d1ga_ooblayout_ecc(struct mtd_info *mtd, int section, in ato25d1ga_ooblayout_ecc() argument 33 if (section > 3) in ato25d1ga_ooblayout_ecc() 36 region->offset = (16 * section) + 8; in ato25d1ga_ooblayout_ecc() 41 static int ato25d1ga_ooblayout_free(struct mtd_info *mtd, int section, in ato25d1ga_ooblayout_free() argument 44 if (section > 3) in ato25d1ga_ooblayout_free() 47 if (section) { in ato25d1ga_ooblayout_free() 48 region->offset = (16 * section); in ato25d1ga_ooblayout_free()
|
A D | micron.c | 60 static int micron_8_ooblayout_ecc(struct mtd_info *mtd, int section, in micron_8_ooblayout_ecc() argument 63 if (section) in micron_8_ooblayout_ecc() 72 static int micron_8_ooblayout_free(struct mtd_info *mtd, int section, in micron_8_ooblayout_free() argument 75 if (section) in micron_8_ooblayout_free() 90 static int micron_4_ooblayout_ecc(struct mtd_info *mtd, int section, in micron_4_ooblayout_ecc() argument 95 if (section >= spinand->base.memorg.pagesize / in micron_4_ooblayout_ecc() 99 region->offset = (section * 16) + 8; in micron_4_ooblayout_ecc() 105 static int micron_4_ooblayout_free(struct mtd_info *mtd, int section, in micron_4_ooblayout_free() argument 110 if (section >= spinand->base.memorg.pagesize / in micron_4_ooblayout_free() 114 if (section) { in micron_4_ooblayout_free() [all …]
|
A D | paragon.c | 41 static int pn26g0xa_ooblayout_ecc(struct mtd_info *mtd, int section, in pn26g0xa_ooblayout_ecc() argument 44 if (section > 3) in pn26g0xa_ooblayout_ecc() 47 region->offset = 6 + (15 * section); /* 4 BBM + 2 user bytes */ in pn26g0xa_ooblayout_ecc() 53 static int pn26g0xa_ooblayout_free(struct mtd_info *mtd, int section, in pn26g0xa_ooblayout_free() argument 56 if (section > 4) in pn26g0xa_ooblayout_free() 59 if (section == 4) { in pn26g0xa_ooblayout_free() 63 region->offset = 4 + (15 * section); in pn26g0xa_ooblayout_free()
|
A D | gigadevice.c | 66 static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_ecc() argument 69 if (section > 3) in gd5fxgq4xa_ooblayout_ecc() 72 region->offset = (16 * section) + 8; in gd5fxgq4xa_ooblayout_ecc() 78 static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_free() argument 81 if (section > 3) in gd5fxgq4xa_ooblayout_free() 84 if (section) { in gd5fxgq4xa_ooblayout_free() 85 region->offset = 16 * section; in gd5fxgq4xa_ooblayout_free() 127 if (section) in gd5fxgqx_variant2_ooblayout_ecc() 139 if (section) in gd5fxgqx_variant2_ooblayout_free() 158 if (section) in gd5fxgq4xc_ooblayout_256_ecc() [all …]
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-config.c | 39 struct perf_config_section *section = NULL; in set_config() local 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() 57 fprintf(fp, "[%s]\n", section->name); in set_config() 59 perf_config_items__for_each_entry(§ion->items, item) { in set_config() 74 struct perf_config_section *section; in show_spec_config() local 81 if (!strstarts(var, section->name)) in show_spec_config() 85 const char *name = var + strlen(section->name) + 1; in show_spec_config() 104 struct perf_config_section *section; in show_config() local 110 perf_config_set__for_each_entry(set, section, item) { in show_config() [all …]
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | llvm_reloc.rst | 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"))); 83 from the start of ``.data`` section. 90 the section offset is written to the original insn 98 section offset for static variables/functions. The non-section-offset 153 int global __attribute__((section("sec2"))); 161 Disassembly of section .text: 180 Disassembly of section sec1: [all …]
|
/linux-6.3-rc2/Documentation/firmware-guide/acpi/apei/ |
A D | output_format.rst | 15 <section flags strings> 18 section_type: <section type string> 19 <section data> 23 <section flags strings># := 30 <section data> := 31 <generic processor section data> | <memory section data> | \ 32 <pcie section data> | <null> 34 <generic processor section data> := 63 <memory section data> := 87 <pcie section data> := [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | nvm.c | 40 .type = cpu_to_le16(section), in iwl_nvm_write_chunk() 65 section, le16_to_cpu(nvm_resp->status)); in iwl_nvm_write_chunk() 79 .type = cpu_to_le16(section), in iwl_nvm_read_chunk() 159 ret = iwl_nvm_write_chunk(mvm, section, offset, in iwl_nvm_write_section() 204 section, offset, length); in iwl_nvm_read_section() 213 "NVM section %d read completed\n", section); in iwl_nvm_read_section() 301 int ret, section; in iwl_nvm_init() local 317 for (section = 0; section < NVM_MAX_NUM_SECTIONS; section++) { in iwl_nvm_init() 336 mvm->nvm_sections[section].data = temp; in iwl_nvm_init() 337 mvm->nvm_sections[section].length = ret; in iwl_nvm_init() [all …]
|
/linux-6.3-rc2/tools/objtool/ |
A D | elf.c | 98 struct section *sec; in find_section_by_name() 111 struct section *sec; in find_section_by_index() 269 struct section *sec; in read_sections() 537 struct section *base, 897 struct section *sec; in read_relocs() 1143 static struct section *elf_create_rel_reloc_section(struct elf *elf, struct section *base) in elf_create_rel_reloc_section() 1146 struct section *sec; in elf_create_rel_reloc_section() 1176 struct section *sec; in elf_create_rela_reloc_section() 1208 struct section *base, in elf_create_reloc_section() 1393 struct section *sec; in elf_write() [all …]
|
/linux-6.3-rc2/drivers/mtd/nand/raw/ |
A D | sm_common.c | 12 static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_ooblayout_ecc() argument 15 if (section > 1) in oob_sm_ooblayout_ecc() 19 oobregion->offset = ((section + 1) * 8) - 3; in oob_sm_ooblayout_ecc() 24 static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_ooblayout_free() argument 27 switch (section) { in oob_sm_ooblayout_free() 61 static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_ecc() argument 64 if (section) in oob_sm_small_ooblayout_ecc() 73 static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_free() argument 76 switch (section) { in oob_sm_small_ooblayout_free()
|
/linux-6.3-rc2/Documentation/locking/ |
A D | seqlock.rst | 17 be copied out inside the read side critical section. If the sequence 22 critical section. After starting the critical section the sequence count 48 write side section. If the read section can be invoked from hardirq or 50 disabled before entering the write section. 76 /* ... [[write-side critical section]] ... */ 85 /* ... [[read-side critical section]] ... */ 189 /* ... [[write-side critical section]] ... */ 202 /* ... [[read-side critical section]] ... */ 208 from entering its critical section. This read lock is 213 /* ... [[read-side critical section]] ... */ [all …]
|
/linux-6.3-rc2/arch/m68k/ifpsp060/ |
A D | TEST.DOC | 60 | | - 128 byte-sized section 68 | | - code section 74 The first section of this module is the "Call-out" section. This section 76 the end of this file). The purpose of this section is to allow the test 78 by the host operating system. This section MUST be exactly 128 bytes in 83 the starting address of the "call-out" section. The "Call-out" section must 87 The second section, the "Entry-point" section, is used by external routines 102 0 bytes from the top of the "Entry-point" section.) 104 The third section is the code section. After entering through an "Entry-point", 194 # beginning of "Call-out" section; provided by integrator. [all …]
|
A D | fpsp.doc | 66 | | - 128 byte-sized section 74 | | - code section 80 The first section of this module is the "Call-out" section. This section 81 is NOT INCLUDED in fpsp.sa (an example "Call-out" section is provided at 82 the end of the file fskeleton.s). The purpose of this section is to allow 84 by the host operating system. This section MUST be exactly 128 bytes in 89 of the "call-out" section. The "Call-out" section must sit adjacent to the 92 The second section, the "Entry-point" section, is used by external routines 96 are listed in section "68060 FPSP entry points" below. A calling routine 107 48 bytes from the top of the "Entry-point" section.) [all …]
|
A D | isp.doc | 74 | | - 128 byte-sized section 82 | | - code section 88 The first section of this module is the "Call-out" section. This section 89 is NOT INCLUDED in isp.sa (an example "Call-out" section is provided at 90 the end of the file iskeleton.s). The purpose of this section is to allow 92 by the host operating system. This section MUST be exactly 128 bytes in 97 of the "call-out" section. The "Call-out" section must sit adjacent to the 100 The second section, the "Entry-point" section, is used by external routines 104 are listed in section "68060 ISP entry points" below. A calling routine 116 point is located 0 bytes from the top of the "Entry-point" section.) [all …]
|
/linux-6.3-rc2/drivers/mtd/nand/ |
A D | ecc.c | 163 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_sp() argument 169 if (section > 1) in nand_ooblayout_ecc_sp() 172 if (!section) { in nand_ooblayout_ecc_sp() 192 if (section > 1) in nand_ooblayout_free_sp() 196 if (section) in nand_ooblayout_free_sp() 203 if (!section) in nand_ooblayout_free_sp() 229 if (section || !total_ecc_bytes) in nand_ooblayout_ecc_lp() 244 if (section) in nand_ooblayout_free_lp() 274 if (section) in nand_ooblayout_ecc_lp_hamming() 302 if (section < 0 || section > 1) in nand_ooblayout_free_lp_hamming() [all …]
|
/linux-6.3-rc2/Documentation/livepatch/ |
A D | module-elf-format.rst | 29 Since apply_relocate_add() requires access to a module's section header 30 table, symbol table, and relocation section indices, Elf information is 87 relocation section(s) to the driver once it loads. 92 between a livepatch relocation section and the target section (usually the 93 text section of a function) to which the relocation(s) apply. It is 101 access the relocation section and apply the relocations. 107 3.1 Livepatch relocation section format 133 The actual name of the section to which this relocation section applies. 138 **Livepatch relocation section names:** 202 that reloc section. [all …]
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | head-64.h | 13 .section ".head.text.\name\()","ax",@progbits 16 .section ".head.data.\name\()","a",@progbits 19 .section ".head.text.\name\()","ax",@progbits 77 .section ".linker_stub_catch","ax",@progbits; \ 81 .section ".text","ax",@progbits; \ 87 .section ".text","ax",@progbits; \
|