/kernel/linux/linux-5.10/tools/objtool/ |
D | elf.h | 28 struct section { struct 36 struct section *base, *reloc; argument 51 struct section *sec; argument 74 struct section *sec; 109 static inline u32 sec_offset_hash(struct section *sec, unsigned long offset) in sec_offset_hash() 129 struct section *elf_create_section(struct elf *elf, const char *name, unsigned int sh_flags, size_t… 131 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, 133 int elf_add_reloc_to_insn(struct elf *elf, struct section *sec, 135 struct section *insn_sec, unsigned long insn_off); 137 int elf_write_insn(struct elf *elf, struct section *sec, [all …]
|
D | elf.c | 130 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name() 132 struct section *sec; in find_section_by_name() 141 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index() 144 struct section *sec; in find_section_by_index() 164 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset() 178 struct symbol *find_func_by_offset(struct section *sec, unsigned long offset) in find_func_by_offset() 192 struct symbol *find_symbol_containing(const struct section *sec, unsigned long offset) in find_symbol_containing() 206 struct symbol *find_func_containing(struct section *sec, unsigned long offset) in find_func_containing() 231 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range() 260 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | config.c | 537 struct perf_config_section *section; in find_section() local 539 list_for_each_entry(section, sections, node) in find_section() 540 if (!strcmp(section->name, section_name)) in find_section() 541 return section; in find_section() 547 struct perf_config_section *section) in find_config_item() argument 551 list_for_each_entry(item, §ion->items, node) in find_config_item() 561 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local 563 if (!section) in add_section() 566 INIT_LIST_HEAD(§ion->items); in add_section() 567 section->name = strdup(section_name); in add_section() [all …]
|
D | config.h | 52 #define perf_config_sections__for_each_entry(list, section) \ argument 53 list_for_each_entry(section, list, node) 69 #define perf_config_set__for_each_entry(set, section, item) \ argument 70 perf_config_sections__for_each_entry(&set->sections, section) \ 71 perf_config_items__for_each_entry(§ion->items, item)
|
/kernel/linux/linux-5.10/scripts/ |
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 …]
|
D | kernel-doc | 416 my $section = $section_default; 666 my ($parameter, $section); 707 foreach $section (@{$args{'sectionlist'}}) { 708 print ".SH \"", uc $section, "\"\n"; 709 output_highlight($args{'sections'}{$section}); 717 my ($parameter, $section); 748 foreach $section (@{$args{'sectionlist'}}) { 749 print ".SH \"$section\"\n"; 750 output_highlight($args{'sections'}{$section}); 758 my ($parameter, $section); [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/ |
D | gigadevice.c | 47 static int gd5fxgq4xa_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_ecc() argument 50 if (section > 3) in gd5fxgq4xa_ooblayout_ecc() 53 region->offset = (16 * section) + 8; in gd5fxgq4xa_ooblayout_ecc() 59 static int gd5fxgq4xa_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4xa_ooblayout_free() argument 62 if (section > 3) in gd5fxgq4xa_ooblayout_free() 65 if (section) { in gd5fxgq4xa_ooblayout_free() 66 region->offset = 16 * section; in gd5fxgq4xa_ooblayout_free() 105 static int gd5fxgq4_variant2_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgq4_variant2_ooblayout_ecc() argument 108 if (section) in gd5fxgq4_variant2_ooblayout_ecc() 117 static int gd5fxgq4_variant2_ooblayout_free(struct mtd_info *mtd, int section, in gd5fxgq4_variant2_ooblayout_free() argument [all …]
|
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()
|
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()
|
/kernel/linux/linux-5.10/tools/perf/ |
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 80 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config() 81 if (!strstarts(var, section->name)) in show_spec_config() 84 perf_config_items__for_each_entry(§ion->items, item) { in show_spec_config() 85 const char *name = var + strlen(section->name) + 1; in show_spec_config() [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/ |
D | ecc.c | 156 static int nand_ooblayout_ecc_sp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_sp() argument 162 if (section > 1) in nand_ooblayout_ecc_sp() 165 if (!section) { in nand_ooblayout_ecc_sp() 182 static int nand_ooblayout_free_sp(struct mtd_info *mtd, int section, in nand_ooblayout_free_sp() argument 185 if (section > 1) in nand_ooblayout_free_sp() 189 if (section) in nand_ooblayout_free_sp() 196 if (!section) in nand_ooblayout_free_sp() 216 static int nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section, in nand_ooblayout_ecc_lp() argument 222 if (section || !total_ecc_bytes) in nand_ooblayout_ecc_lp() 231 static int nand_ooblayout_free_lp(struct mtd_info *mtd, int section, in nand_ooblayout_free_lp() argument [all …]
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | amd64_edac_inj.c | 10 return sprintf(buf, "0x%x\n", pvt->injection.section); in amd64_inject_section_show() 37 pvt->injection.section = (u32) value; in amd64_inject_section_store() 125 u32 section, word_bits; in amd64_inject_read_store() local 133 section = F10_NB_ARRAY_DRAM | SET_NB_ARRAY_ADDR(pvt->injection.section); in amd64_inject_read_store() 135 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_ADDR, section); in amd64_inject_read_store() 142 edac_dbg(0, "section=0x%x word_bits=0x%x\n", section, word_bits); in amd64_inject_read_store() 157 u32 section, word_bits, tmp; in amd64_inject_write_store() local 166 section = F10_NB_ARRAY_DRAM | SET_NB_ARRAY_ADDR(pvt->injection.section); in amd64_inject_write_store() 168 amd64_write_pci_cfg(pvt->F3, F10_NB_ARRAY_ADDR, section); in amd64_inject_write_store() 191 edac_dbg(0, "section=0x%x word_bits=0x%x\n", section, word_bits); in amd64_inject_write_store()
|
/kernel/liteos_a/kernel/user/include/ |
D | los_user_init.h | 44 #define LITE_USER_SEC_TEXT __attribute__((section(".user.text"))) 48 #define LITE_USER_SEC_ENTRY __attribute__((section(".user.entry"))) 52 #define LITE_USER_SEC_DATA __attribute__((section(".user.data"))) 56 #define LITE_USER_SEC_RODATA __attribute__((section(".user.rodata"))) 60 #define LITE_USER_SEC_BSS __attribute__((section(".user.bss")))
|
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/apei/ |
D | output_format.rst | 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> 34 <generic processor section data> := [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
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()
|
/kernel/liteos_m/arch/xtensa/lx6/gcc/ |
D | los_exc.S | 38 .section .iram,"ax" 73 .section .DebugExceptionHandler.text, "ax" 84 .section .NMIExceptionHandler.text, "ax" 95 .section .DoubleExceptionHandler.text, "ax" 106 .section .KernelExceptionHandler.text, "ax" 117 .section .iram,"ax" 127 .section .UserExceptionHandler.text, "ax" 139 .section .iram,"ax" 151 .section .iram,"ax" 157 .section .iram,"ax" [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | nvm.c | 91 static int iwl_nvm_write_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_chunk() argument 97 .type = cpu_to_le16(section), in iwl_nvm_write_chunk() 122 section, le16_to_cpu(nvm_resp->status)); in iwl_nvm_write_chunk() 130 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_chunk() argument 136 .type = cpu_to_le16(section), in iwl_nvm_read_chunk() 203 static int iwl_nvm_write_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_section() argument 216 ret = iwl_nvm_write_chunk(mvm, section, offset, in iwl_nvm_write_section() 237 static int iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_section() argument 257 ret = iwl_nvm_read_chunk(mvm, section, offset, length, data); in iwl_nvm_read_section() 261 section, offset, length); in iwl_nvm_read_section() [all …]
|
/kernel/linux/linux-5.10/Documentation/livepatch/ |
D | module-elf-format.rst | 13 3.1 Livepatch relocation section format 17 5. Symbol table and Elf section access 35 Since apply_relocate_add() requires access to a module's section header 36 table, symbol table, and relocation section indices, Elf information is 37 preserved for livepatch modules (see section 5). Livepatch manages its own 58 relas reference are special livepatch symbols (see section 2 and 3). The 93 relocation section(s) to the driver once it loads. 98 between a livepatch relocation section and the target section (usually the 99 text section of a function) to which the relocation(s) apply. It is 105 livepatch relocation section can be applied simply by passing in the [all …]
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | seqlock.rst | 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 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]] ... */ [all …]
|
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/ |
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 75 is NOT INCLUDED in {i,f}test.sa (an example "Call-out" section is provided at 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 89 no symbol names, this section contains function entry points that are fixed 91 are listed in section "68060{ISP,FPSP}-TEST entry points" below. A calling [all …]
|
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 94 no symbol names, this section contains function entry points that are fixed 96 are listed in section "68060 FPSP entry points" below. A calling routine [all …]
|
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 102 no symbol names, this section contains function entry points that are fixed 104 are listed in section "68060 ISP entry points" below. A calling routine [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | init.h | 95 #define __HEAD .section ".head.text","ax" 96 #define __INIT .section ".init.text","ax" 99 #define __INITDATA .section ".init.data","aw",%progbits 100 #define __INITRODATA .section ".init.rodata","a",%progbits 103 #define __MEMINIT .section ".meminit.text", "ax" 104 #define __MEMINITDATA .section ".meminit.data", "aw" 105 #define __MEMINITRODATA .section ".meminit.rodata", "a" 108 #define __REF .section ".ref.text", "ax" 109 #define __REFDATA .section ".ref.data", "aw" 110 #define __REFCONST .section ".ref.rodata", "a"
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | head-64.h | 13 .section ".head.text.\name\()","ax",@progbits 16 .section ".head.data.\name\()","a",@progbits 19 .section ".head.text.\name\()" 77 .section ".linker_stub_catch","ax",@progbits; \ 81 .section ".text","ax",@progbits; \ 87 .section ".text","ax",@progbits; \
|
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | numa.c | 71 int i, section = pfn >> PFN_SECTION_SHIFT, ssec, esec; in __early_pfn_to_nid() local 73 if (section >= state->last_start && section < state->last_end) in __early_pfn_to_nid() 80 if (section >= ssec && section < esec) { in __early_pfn_to_nid()
|