Home
last modified time | relevance | path

Searched refs:section (Results 1 – 25 of 1081) sorted by relevance

12345678910>>...44

/Linux-v4.19/tools/objtool/
Delf.h38 struct section { struct
45 struct section *base, *rela; argument
58 struct section *sec; argument
88 struct section *find_section_by_name(struct elf *elf, const char *name);
89 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset);
91 struct symbol *find_symbol_containing(struct section *sec, unsigned long offset);
92 struct rela *find_rela_by_dest(struct section *sec, unsigned long offset);
93 struct rela *find_rela_by_dest_range(struct section *sec, unsigned long offset,
95 struct symbol *find_containing_func(struct section *sec, unsigned long offset);
96 struct section *elf_create_section(struct elf *elf, const char *name, size_t
[all …]
Delf.c34 struct section *find_section_by_name(struct elf *elf, const char *name) in find_section_by_name()
36 struct section *sec; in find_section_by_name()
45 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
48 struct section *sec; in find_section_by_index()
59 struct section *sec; in find_symbol_by_index()
70 struct symbol *find_symbol_by_offset(struct section *sec, unsigned long offset) in find_symbol_by_offset()
84 struct section *sec; in find_symbol_by_name()
95 struct symbol *find_symbol_containing(struct section *sec, unsigned long offset) in find_symbol_containing()
107 struct rela *find_rela_by_dest_range(struct section *sec, unsigned long offset, in find_rela_by_dest_range()
124 struct rela *find_rela_by_dest(struct section *sec, unsigned long offset) in find_rela_by_dest()
[all …]
/Linux-v4.19/tools/perf/util/
Dconfig.c505 struct perf_config_section *section; in find_section() local
507 list_for_each_entry(section, sections, node) in find_section()
508 if (!strcmp(section->name, section_name)) in find_section()
509 return section; in find_section()
515 struct perf_config_section *section) in find_config_item() argument
519 list_for_each_entry(item, &section->items, node) in find_config_item()
529 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local
531 if (!section) in add_section()
534 INIT_LIST_HEAD(&section->items); in add_section()
535 section->name = strdup(section_name); in add_section()
[all …]
Dconfig.h49 #define perf_config_sections__for_each_entry(list, section) \ argument
50 list_for_each_entry(section, list, node)
66 #define perf_config_set__for_each_entry(set, section, item) \ argument
67 perf_config_sections__for_each_entry(&set->sections, section) \
68 perf_config_items__for_each_entry(&section->items, item)
/Linux-v4.19/scripts/
Dcheck_extable.sh55 …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 …]
Dkernel-doc389 my $section = $section_default;
576 my ($parameter, $section);
617 foreach $section (@{$args{'sectionlist'}}) {
618 print ".SH \"", uc $section, "\"\n";
619 output_highlight($args{'sections'}{$section});
627 my ($parameter, $section);
658 foreach $section (@{$args{'sectionlist'}}) {
659 print ".SH \"$section\"\n";
660 output_highlight($args{'sections'}{$section});
668 my ($parameter, $section);
[all …]
/Linux-v4.19/tools/perf/
Dbuiltin-config.c40 struct perf_config_section *section = NULL; in set_config() local
55 perf_config_items__for_each_entry(&set->sections, section) { in set_config()
56 if (!use_system_config && section->from_system_config) in set_config()
58 fprintf(fp, "[%s]\n", section->name); in set_config()
60 perf_config_items__for_each_entry(&section->items, item) { in set_config()
75 struct perf_config_section *section; in show_spec_config() local
81 perf_config_items__for_each_entry(&set->sections, section) { in show_spec_config()
82 if (!strstarts(var, section->name)) in show_spec_config()
85 perf_config_items__for_each_entry(&section->items, item) { in show_spec_config()
86 const char *name = var + strlen(section->name) + 1; in show_spec_config()
[all …]
/Linux-v4.19/drivers/edac/
Damd64_edac_inj.c10 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()
/Linux-v4.19/Documentation/acpi/apei/
Doutput_format.txt10 section: <integer>, severity: <integer>, <severity string>
12 <section flags strings>
15 section_type: <section type string>
16 <section data>
20 <section flags strings># :=
24 <section type string> := generic processor error | memory error | \
27 <section data> :=
28 <generic processor section data> | <memory section data> | \
29 <pcie section data> | <null>
31 <generic processor section data> :=
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/
Dsm_common.c15 static int oob_sm_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_ooblayout_ecc() argument
18 if (section > 1) in oob_sm_ooblayout_ecc()
22 oobregion->offset = ((section + 1) * 8) - 3; in oob_sm_ooblayout_ecc()
27 static int oob_sm_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_ooblayout_free() argument
30 switch (section) { in oob_sm_ooblayout_free()
64 static int oob_sm_small_ooblayout_ecc(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_ecc() argument
67 if (section) in oob_sm_small_ooblayout_ecc()
76 static int oob_sm_small_ooblayout_free(struct mtd_info *mtd, int section, in oob_sm_small_ooblayout_free() argument
79 switch (section) { in oob_sm_small_ooblayout_free()
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/
Dnvm.c96 static int iwl_nvm_write_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_chunk() argument
102 .type = cpu_to_le16(section), in iwl_nvm_write_chunk()
127 section, le16_to_cpu(nvm_resp->status)); in iwl_nvm_write_chunk()
135 static int iwl_nvm_read_chunk(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_chunk() argument
141 .type = cpu_to_le16(section), in iwl_nvm_read_chunk()
208 static int iwl_nvm_write_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_write_section() argument
221 ret = iwl_nvm_write_chunk(mvm, section, offset, in iwl_nvm_write_section()
242 static int iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, in iwl_nvm_read_section() argument
262 ret = iwl_nvm_read_chunk(mvm, section, offset, length, data); in iwl_nvm_read_section()
266 section, offset, length); in iwl_nvm_read_section()
[all …]
/Linux-v4.19/arch/m68k/ifpsp060/
DTEST.DOC60 | | - 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 …]
Disp.doc74 | | - 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 …]
Dfpsp.doc66 | | - 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 …]
/Linux-v4.19/Documentation/livepatch/
Dmodule-elf-format.txt14 2.2 Livepatch relocation section format
17 2.2.3 Example livepatch relocation section names
29 5. Symbol table and Elf section access
48 Since apply_relocate_add() requires access to a module's section header
49 table, symbol table, and relocation section indices, Elf information is
50 preserved for livepatch modules (see section 5). Livepatch manages its own
71 relas reference are special livepatch symbols (see section 2 and 3). The
110 relocation section(s) to the driver once it loads.
115 between a livepatch relocation section and the target section (usually the
116 text section of a function) to which the relocation(s) apply. It is
[all …]
/Linux-v4.19/include/linux/
Dinit.h95 #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"
/Linux-v4.19/drivers/mtd/nand/spi/
Dwinbond.c34 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()
/Linux-v4.19/arch/ia64/mm/
Dnuma.c64 int i, section = pfn >> PFN_SECTION_SHIFT, ssec, esec; in __early_pfn_to_nid() local
66 if (section >= state->last_start && section < state->last_end) in __early_pfn_to_nid()
73 if (section >= ssec && section < esec) { in __early_pfn_to_nid()
/Linux-v4.19/include/acpi/
Dghes.h116 #define apei_estatus_for_each_section(estatus, section) \ argument
117 for (section = (struct acpi_hest_generic_data *)(estatus + 1); \
118 (void *)section - (void *)(estatus + 1) < estatus->data_length; \
119 section = acpi_hest_get_next(section))
/Linux-v4.19/arch/arc/include/asm/
Dlinkage.h21 .section .data.arcfp
23 .section .data
31 .section .text.arcfp, "ax",@progbits
33 .section .text, "ax",@progbits
/Linux-v4.19/arch/ia64/include/asm/
Dasmmacro.h47 .section "__ex_table", "a" // declare section & section attributes
61 .section "__mca_table", "a" // declare section & section attributes
74 .section ".data..patch.vtop", "a" // declare section & section attributes
88 .section ".data..patch.mckinley_e9", "a"
111 .section ".data..patch.phys_stack_reg", "a"
/Linux-v4.19/arch/x86/boot/tools/
Dbuild.c150 u8 *section; in update_pecoff_section_header_fields() local
156 section = &buf[pe_header + 0xa8]; in update_pecoff_section_header_fields()
158 section = &buf[pe_header + 0xb8]; in update_pecoff_section_header_fields()
162 if (strncmp((char*)section, section_name, 8) == 0) { in update_pecoff_section_header_fields()
164 put_unaligned_le32(size, section + 0x8); in update_pecoff_section_header_fields()
167 put_unaligned_le32(vma, section + 0xc); in update_pecoff_section_header_fields()
170 put_unaligned_le32(datasz, section + 0x10); in update_pecoff_section_header_fields()
173 put_unaligned_le32(offset, section + 0x14); in update_pecoff_section_header_fields()
177 section += 0x28; in update_pecoff_section_header_fields()
/Linux-v4.19/drivers/base/
Dmemory.c596 struct memory_block *find_memory_block_hinted(struct mem_section *section, in find_memory_block_hinted() argument
599 int block_id = base_memory_block_id(__section_nr(section)); in find_memory_block_hinted()
619 struct memory_block *find_memory_block(struct mem_section *section) in find_memory_block() argument
621 return find_memory_block_hinted(section, NULL); in find_memory_block()
666 struct mem_section *section, unsigned long state) in init_memory_block() argument
677 scn_nr = __section_nr(section); in init_memory_block()
719 int hotplug_memory_register(int nid, struct mem_section *section) in hotplug_memory_register() argument
726 mem = find_memory_block(section); in hotplug_memory_register()
731 ret = init_memory_block(&mem, section, MEM_OFFLINE); in hotplug_memory_register()
754 struct mem_section *section, int phys_device) in remove_memory_section() argument
[all …]
/Linux-v4.19/arch/x86/boot/
Dtty.c30 static void __attribute__((section(".inittext"))) serial_putchar(int ch) in serial_putchar()
40 static void __attribute__((section(".inittext"))) bios_putchar(int ch) in bios_putchar()
52 void __attribute__((section(".inittext"))) putchar(int ch) in putchar()
63 void __attribute__((section(".inittext"))) puts(const char *str) in puts()
/Linux-v4.19/arch/sparc/lib/
Dhweight.S13 .section .popc_3insn_patch, "ax"
26 .section .popc_3insn_patch, "ax"
39 .section .popc_3insn_patch, "ax"
52 .section .popc_3insn_patch, "ax"

12345678910>>...44