Home
last modified time | relevance | path

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

12345678910>>...50

/linux/tools/objtool/include/objtool/
A Delf.h33 struct section { struct
40 struct section *base, *rsec; argument
55 struct section *sec; argument
78 struct section *sec;
105 struct section *section_data;
122 struct section *insn_sec,
131 int elf_write_insn(struct elf *elf, struct section *sec,
178 static inline bool is_reloc_sec(struct section *sec) in is_reloc_sec()
183 static inline bool sec_changed(struct section *sec) in sec_changed()
207 struct section *rsec = reloc->sec; in reloc_rel()
[all …]
/linux/scripts/
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 …]
A Dkernel-doc289 my $section = $section_default;
570 my ($parameter, $section);
621 my ($parameter, $section);
661 my ($parameter, $section);
696 my ($parameter, $section);
711 my ($parameter, $section);
924 my $section;
2050 $section = $1;
2209 if ($section =~ m/^@/ || $section eq $section_context) {
2235 $section = $1;
[all …]
/linux/tools/perf/util/
A Dconfig.c601 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(&section->name); in perf_config_section__delete()
859 free(section); in perf_config_section__delete()
[all …]
A Dconfig.h58 #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(&section->items, item)
/linux/drivers/mtd/nand/spi/
A Dwinbond.c36 static int w25m02gv_ooblayout_ecc(struct mtd_info *mtd, int section, in w25m02gv_ooblayout_ecc() argument
39 if (section > 3) in w25m02gv_ooblayout_ecc()
42 region->offset = (16 * section) + 8; in w25m02gv_ooblayout_ecc()
51 if (section > 3) in w25m02gv_ooblayout_free()
54 region->offset = (16 * section) + 2; in w25m02gv_ooblayout_free()
82 if (section > 3) in w25n01kv_ooblayout_ecc()
85 region->offset = 64 + (8 * section); in w25n01kv_ooblayout_ecc()
94 if (section > 3) in w25n02kv_ooblayout_ecc()
97 region->offset = 64 + (16 * section); in w25n02kv_ooblayout_ecc()
106 if (section > 3) in w25n02kv_ooblayout_free()
[all …]
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()
A Dmicron.c60 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 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()
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 …]
A Desmt.c65 static int f50l1g41lb_ooblayout_ecc(struct mtd_info *mtd, int section, in f50l1g41lb_ooblayout_ecc() argument
70 if (section >= ESMT_OOB_SECTION_COUNT) in f50l1g41lb_ooblayout_ecc()
73 region->offset = section * ESMT_OOB_SECTION_SIZE(nand) + in f50l1g41lb_ooblayout_ecc()
80 static int f50l1g41lb_ooblayout_free(struct mtd_info *mtd, int section, in f50l1g41lb_ooblayout_free() argument
85 if (section >= ESMT_OOB_SECTION_COUNT) in f50l1g41lb_ooblayout_free()
92 region->offset = section * ESMT_OOB_SECTION_SIZE(nand) + 2; in f50l1g41lb_ooblayout_free()
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/arch/x86/kernel/cpu/sgx/
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()
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/tools/perf/
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/drivers/gpu/drm/panthor/
A Dpanthor_fw.c402 if (!section->data.size && in panthor_fw_init_section_mem()
410 memcpy(section->mem->kmap, section->data.buf, section->data.size); in panthor_fw_init_section_mem()
412 memset(section->mem->kmap + section->data.size, 0, in panthor_fw_init_section_mem()
413 panthor_kernel_bo_size(section->mem) - section->data.size); in panthor_fw_init_section_mem()
546 section = drmm_kzalloc(&ptdev->base, sizeof(*section), GFP_KERNEL); in panthor_fw_load_section_entry()
547 if (!section) in panthor_fw_load_section_entry()
551 section->flags = hdr.flags; in panthor_fw_load_section_entry()
554 if (section->data.size > 0) { in panthor_fw_load_section_entry()
561 section->data.buf = data; in panthor_fw_load_section_entry()
572 section->name = name; in panthor_fw_load_section_entry()
[all …]
/linux/Documentation/firmware-guide/acpi/apei/
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/drivers/mtd/nand/raw/
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/drivers/gpu/drm/
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/tools/objtool/
A Delf.c132 struct section *sec; in find_section_by_name()
145 struct section *sec; in find_section_by_index()
270 struct section *rsec; in find_reloc_by_dest_range()
309 struct section *sec; in read_sections()
887 struct section *insn_sec, in elf_init_reloc_text_sym()
936 struct section *rsec; in read_relocs()
1091 struct section *sec, *shstrtab; in elf_create_section()
1169 struct section *sec, in elf_create_rela_section()
1172 struct section *rsec; in elf_create_rela_section()
1211 struct section *sec; in elf_create_section_pair()
[all …]
/linux/Documentation/locking/
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/drivers/net/wireless/intel/iwlwifi/mvm/
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/arch/m68k/ifpsp060/
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 …]
/linux/scripts/gcc-plugins/
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/drivers/mtd/nand/
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 …]

Completed in 34 milliseconds

12345678910>>...50