Home
last modified time | relevance | path

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

12345678910>>...57

/linux-6.15/tools/objtool/include/objtool/
H A Delf.h33 struct section { struct
40 struct section *base, *rsec; argument
55 struct section *sec; argument
79 struct section *sec;
106 struct section *section_data;
123 struct section *insn_sec,
132 int elf_write_insn(struct elf *elf, struct section *sec,
179 static inline bool is_reloc_sec(struct section *sec) in is_reloc_sec()
184 static inline bool sec_changed(struct section *sec) in sec_changed()
208 struct section *rsec = reloc->sec; in reloc_rel()
[all …]
/linux-6.15/scripts/
H A 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 …]
H A Dkernel-doc286 my $section = $section_default;
509 my ($parameter, $section);
565 my ($parameter, $section);
605 my ($parameter, $section);
640 my ($parameter, $section);
655 my ($parameter, $section);
868 my $section;
1980 $section = $1;
2134 if ($section =~ m/^@/ || $section eq $section_context) {
2160 $section = $1;
[all …]
/linux-6.15/tools/perf/util/
H A Dconfig.c628 return section; in find_section()
648 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local
650 if (!section) in add_section()
655 if (!section->name) { in add_section()
657 free(section); in add_section()
662 return section; in add_section()
723 if (!section) { in collect_config()
725 if (!section) in collect_config()
879 zfree(&section->name); in perf_config_section__delete()
880 free(section); in perf_config_section__delete()
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cper.c147 struct cper_sec_crashdump_fatal *section; in amdgpu_cper_entry_fill_fatal_section() local
159 section->body.data = reg_data; in amdgpu_cper_entry_fill_fatal_section()
174 struct cper_sec_nonstd_err *section; in amdgpu_cper_entry_fill_runtime_section() local
188 section->hdr.valid_bits.err_info_cnt = 1; in amdgpu_cper_entry_fill_runtime_section()
189 section->hdr.valid_bits.err_context_cnt = 1; in amdgpu_cper_entry_fill_runtime_section()
191 section->info.error_type = RUNTIME; in amdgpu_cper_entry_fill_runtime_section()
194 section->ctx.reg_arr_size = sizeof(section->ctx.reg_dump); in amdgpu_cper_entry_fill_runtime_section()
208 struct cper_sec_nonstd_err *section; in amdgpu_cper_entry_fill_bad_page_threshold_section() local
218 section->hdr.valid_bits.err_info_cnt = 1; in amdgpu_cper_entry_fill_bad_page_threshold_section()
221 section->info.error_type = RUNTIME; in amdgpu_cper_entry_fill_bad_page_threshold_section()
[all …]
/linux-6.15/arch/x86/kernel/cpu/sgx/
H A Dsgx.h33 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()
H A Dmain.c79 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in __sgx_sanitize_pages() local
606 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_free_epc_page() local
630 if (!section->virt_addr) in sgx_setup_epc_section()
634 if (!section->pages) { in sgx_setup_epc_section()
635 memunmap(section->virt_addr); in sgx_setup_epc_section()
644 section->pages[i].section = index; in sgx_setup_epc_section()
645 section->pages[i].flags = 0; in sgx_setup_epc_section()
665 if (!section) in sgx_paddr_to_page()
668 return &section->pages[PFN_DOWN(paddr - section->phys_addr)]; in sgx_paddr_to_page()
702 section = &sgx_epc_sections[page->section]; in arch_memory_failure()
[all …]
/linux-6.15/drivers/mtd/nand/spi/
H A Dwinbond.c55 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_ecc() argument
58 if (section > 3) in w25m02gv_ooblayout_ecc()
61 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc()
70 if (section > 3) in w25m02gv_ooblayout_free()
73 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free()
101 if (section > 3) in w25n01kv_ooblayout_ecc()
104 region->offset = 64 + (8 * section); in w25n01kv_ooblayout_ecc()
113 if (section > 3) in w25n02kv_ooblayout_ecc()
116 region->offset = 64 + (16 * section); in w25n02kv_ooblayout_ecc()
125 if (section > 3) in w25n02kv_ooblayout_free()
[all …]
H A Dato.c30 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()
H A Dparagon.c41 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()
H A Dgigadevice.c66 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 …]
H A Dxtx.c41 static int xt26g0xa_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26g0xa_ooblayout_ecc() argument
44 if (section) in xt26g0xa_ooblayout_ecc()
53 static int xt26g0xa_ooblayout_free(struct mtd_info *mtd, int section, in xt26g0xa_ooblayout_free() argument
56 if (section) in xt26g0xa_ooblayout_free()
94 static int xt26xxxd_ooblayout_ecc(struct mtd_info *mtd, int section, in xt26xxxd_ooblayout_ecc() argument
97 if (section) in xt26xxxd_ooblayout_ecc()
106 static int xt26xxxd_ooblayout_free(struct mtd_info *mtd, int section, in xt26xxxd_ooblayout_free() argument
109 if (section) in xt26xxxd_ooblayout_free()
/linux-6.15/tools/perf/
H A 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
82 if (!strstarts(var, section->name)) in show_spec_config()
86 const char *name = var + strlen(section->name) + 1; in show_spec_config()
105 struct perf_config_section *section; in show_config() local
111 perf_config_set__for_each_entry(set, section, item) { in show_config()
[all …]
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_fw.c404 if (!section->data.size && in panthor_fw_init_section_mem()
412 memcpy(section->mem->kmap, section->data.buf, section->data.size); in panthor_fw_init_section_mem()
414 memset(section->mem->kmap + section->data.size, 0, in panthor_fw_init_section_mem()
415 panthor_kernel_bo_size(section->mem) - section->data.size); in panthor_fw_init_section_mem()
548 section = drmm_kzalloc(&ptdev->base, sizeof(*section), GFP_KERNEL); in panthor_fw_load_section_entry()
549 if (!section) in panthor_fw_load_section_entry()
553 section->flags = hdr.flags; in panthor_fw_load_section_entry()
556 if (section->data.size > 0) { in panthor_fw_load_section_entry()
563 section->data.buf = data; in panthor_fw_load_section_entry()
574 section->name = name; in panthor_fw_load_section_entry()
[all …]
/linux-6.15/Documentation/firmware-guide/acpi/apei/
H A Doutput_format.rst15 <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.15/drivers/mtd/nand/raw/
H A Dsm_common.c12 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.15/tools/testing/selftests/x86/bugs/
H A Dcommon.py108 section = elffile.get_section_by_name(section_name)
109 if section is None:
114 return section['sh_addr'], section['sh_offset'], section['sh_size']
131 def get_instruction_from_vmlinux(elffile, section, virtual_address, target_address): argument
133 section_start = section['sh_addr']
134 section_end = section_start + section['sh_size']
140 code = section.data()[offset:offset + 16]
/linux-6.15/drivers/gpu/drm/
H A Ddrm_displayid.c88 if (!iter->section) in displayid_iter_block()
91 block = (const struct displayid_block *)&iter->section[iter->idx]; in displayid_iter_block()
108 if (iter->section) { in __displayid_iter_next()
112 iter->section = NULL; in __displayid_iter_next()
127 bool base_section = !iter->section; in __displayid_iter_next()
129 iter->section = drm_find_displayid_extension(iter->drm_edid, in __displayid_iter_next()
133 if (!iter->section) { in __displayid_iter_next()
142 base = displayid_get_header(iter->section, iter->length, in __displayid_iter_next()
/linux-6.15/tools/objtool/
H A Delf.c132 struct section *sec; in find_section_by_name()
145 struct section *sec; in find_section_by_index()
275 struct section *rsec; in find_reloc_by_dest_range()
314 struct section *sec; in read_sections()
888 struct section *insn_sec, in elf_init_reloc_text_sym()
935 struct section *rsec; in read_relocs()
1088 struct section *sec, *shstrtab; in elf_create_section()
1166 struct section *sec, in elf_create_rela_section()
1169 struct section *rsec; in elf_create_rela_section()
1208 struct section *sec; in elf_create_section_pair()
[all …]
/linux-6.15/Documentation/locking/
H A Dseqlock.rst17 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.15/arch/m68k/ifpsp060/
H A DTEST.DOC60 | | - 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 …]
H A 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
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.15/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dnvm.c39 .type = cpu_to_le16(section), in iwl_nvm_write_chunk()
64 section, le16_to_cpu(nvm_resp->status)); in iwl_nvm_write_chunk()
78 .type = cpu_to_le16(section), in iwl_nvm_read_chunk()
158 ret = iwl_nvm_write_chunk(mvm, section, offset, in iwl_nvm_write_section()
203 section, offset, length); in iwl_nvm_read_section()
212 "NVM section %d read completed\n", section); in iwl_nvm_read_section()
308 int ret, section; in iwl_nvm_init() local
324 for (section = 0; section < NVM_MAX_NUM_SECTIONS; section++) { in iwl_nvm_init()
343 mvm->nvm_sections[section].data = temp; in iwl_nvm_init()
344 mvm->nvm_sections[section].length = ret; in iwl_nvm_init()
[all …]
/linux-6.15/scripts/gcc-plugins/
H A Dstackleak_plugin.c451 tree section; in stackleak_gate() local
453 section = lookup_attribute("section", in stackleak_gate()
455 if (section && TREE_VALUE(section)) { in stackleak_gate()
456 section = TREE_VALUE(TREE_VALUE(section)); in stackleak_gate()
458 if (STRING_EQUAL(section, ".init.text")) in stackleak_gate()
460 if (STRING_EQUAL(section, ".devinit.text")) in stackleak_gate()
462 if (STRING_EQUAL(section, ".cpuinit.text")) in stackleak_gate()
464 if (STRING_EQUAL(section, ".meminit.text")) in stackleak_gate()
466 if (STRING_EQUAL(section, ".noinstr.text")) in stackleak_gate()
468 if (STRING_EQUAL(section, ".entry.text")) in stackleak_gate()
[all …]
/linux-6.15/drivers/mtd/nand/
H A Decc.c163 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 …]

12345678910>>...57