Home
last modified time | relevance | path

Searched refs:section (Results 1 - 25 of 1065) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/tools/perf/util/
H A Dconfig.c537 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()
551 list_for_each_entry(item, &section->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(&section in add_section()
546 find_config_item(const char *name, struct perf_config_section *section) find_config_item() argument
578 add_config_item(struct perf_config_section *section, const char *name) add_config_item() argument
615 struct perf_config_section *section = NULL; collect_config() local
753 struct perf_config_section *section; perf_config() local
800 perf_config_section__purge(struct perf_config_section *section) perf_config_section__purge() argument
810 perf_config_section__delete(struct perf_config_section *section) perf_config_section__delete() argument
819 struct perf_config_section *section, *tmp; perf_config_set__purge() local
[all...]
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Delf.h33 struct section { struct
40 struct section *base, *rsec;
55 struct section *sec;
76 struct section *sec;
103 struct section *section_data;
109 struct section *elf_create_section(struct elf *elf, const char *name,
111 struct section *elf_create_section_pair(struct elf *elf, const char *name,
117 struct reloc *elf_init_reloc_text_sym(struct elf *elf, struct section *sec,
120 struct section *insn_sec,
123 struct reloc *elf_init_reloc_data_sym(struct elf *elf, struct section *se
[all...]
/kernel/linux/linux-5.10/tools/objtool/
H A Delf.h28 struct section { struct
36 struct section *base, *reloc;
51 struct section *sec;
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 entsize, int nr);
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 *se
[all...]
H A Delf.c130 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 *se
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dcheck_extable.sh9 # Bail out early if there isn't an __ex_table section in this object file.
24 # white listed. If you're adding a new section in the Linux kernel, and
25 # you're expecting this section to contain code which can fault (i.e. the
26 # __ex_table relocation to your new section is expected), simply add your
27 # new section to the white_list variable above. If not, you're probably
33 eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; section_offset="0x\1" /')
44 # When the relocation points to the begining of a symbol or section, it
55 eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | awk '{print $3}' |
62 find_alt_replacement_target ${section} ${section_offset}
72 objdump -hwj ${section}
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dcheck_extable.sh9 # Bail out early if there isn't an __ex_table section in this object file.
24 # white listed. If you're adding a new section in the Linux kernel, and
25 # you're expecting this section to contain code which can fault (i.e. the
26 # __ex_table relocation to your new section is expected), simply add your
27 # new section to the white_list variable above. If not, you're probably
33 eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; section_offset="0x\1" /')
44 # When the relocation points to the begining of a symbol or section, it
55 eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | awk '{print $3}' |
62 find_alt_replacement_target ${section} ${section_offset}
72 objdump -hwj ${section}
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/
H A Dgigadevice.c47 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()
69 /* section 0 has one byte reserved for bad block mark */ 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 gd5fxgq4_variant2_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) gd5fxgq4_variant2_ooblayout_free() argument
135 gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) gd5fxgq4xc_ooblayout_256_ecc() argument
147 gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) gd5fxgq4xc_ooblayout_256_free() argument
[all...]
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()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dconfig.c597 struct perf_config_section *section; in find_section() local
599 list_for_each_entry(section, sections, node) in find_section()
600 if (!strcmp(section->name, section_name)) in find_section()
601 return section; in find_section()
607 struct perf_config_section *section) in find_config_item()
611 list_for_each_entry(item, &section->items, node) in find_config_item()
621 struct perf_config_section *section = zalloc(sizeof(*section)); in add_section() local
623 if (!section) in add_section()
626 INIT_LIST_HEAD(&section in add_section()
606 find_config_item(const char *name, struct perf_config_section *section) find_config_item() argument
638 add_config_item(struct perf_config_section *section, const char *name) add_config_item() argument
675 struct perf_config_section *section = NULL; collect_config() local
793 struct perf_config_section *section; perf_config_set() local
845 perf_config_section__purge(struct perf_config_section *section) perf_config_section__purge() argument
855 perf_config_section__delete(struct perf_config_section *section) perf_config_section__delete() argument
864 struct perf_config_section *section, *tmp; perf_config_set__purge() local
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/spi/
H A 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()
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()
89 static int w25n02kv_ooblayout_free(struct mtd_info *mtd, int section, in w25n02kv_ooblayout_free() argument
[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()
51 /* first byte of section 0 is reserved for the BBM */ 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()
88 /* section 0 has one byte reserved for bad block mark */ in gd5fxgq4xa_ooblayout_free()
124 static int gd5fxgqx_variant2_ooblayout_ecc(struct mtd_info *mtd, int section, in gd5fxgqx_variant2_ooblayout_ecc() argument
127 if (section) in gd5fxgqx_variant2_ooblayout_ecc()
136 gd5fxgqx_variant2_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *region) gd5fxgqx_variant2_ooblayout_free() argument
155 gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) gd5fxgq4xc_ooblayout_256_ecc() argument
167 gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) gd5fxgq4xc_ooblayout_256_free() argument
[all...]
H 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...]
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-config.c21 "perf config [<file-option>] [options] [section.name[=value] ...]",
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(&section->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(&section in show_spec_config()
104 struct perf_config_section *section; show_config() local
[all...]
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-config.c22 "perf config [<file-option>] [options] [section.name[=value] ...]",
40 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 in show_spec_config()
105 struct perf_config_section *section; show_config() local
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/sgx/
H A Dsgx.h33 unsigned int section; member
54 * used to store EPC pages for one EPC section and virtual memory area where
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 in sgx_get_epc_virt_addr()
[all...]
H A Dmain.c78 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in __sgx_sanitize_pages() local
79 struct sgx_numa_node *node = section->node; in __sgx_sanitize_pages()
604 struct sgx_epc_section *section = &sgx_epc_sections[page->section]; in sgx_free_epc_page() local
605 struct sgx_numa_node *node = section->node; in sgx_free_epc_page()
622 struct sgx_epc_section *section) in sgx_setup_epc_section()
627 section->virt_addr = memremap(phys_addr, size, MEMREMAP_WB); in sgx_setup_epc_section()
628 if (!section->virt_addr) in sgx_setup_epc_section()
631 section in sgx_setup_epc_section()
620 sgx_setup_epc_section(u64 phys_addr, u64 size, unsigned long index, struct sgx_epc_section *section) sgx_setup_epc_section() argument
660 struct sgx_epc_section *section; sgx_paddr_to_page() local
679 struct sgx_epc_section *section; arch_memory_failure() local
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/
H A Decc.c156 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
261 nand_ooblayout_ecc_lp_hamming(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) nand_ooblayout_ecc_lp_hamming() argument
288 nand_ooblayout_free_lp_hamming(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) nand_ooblayout_free_lp_hamming() argument
[all...]
/kernel/liteos_a/kernel/user/include/
H A Dlos_user_init.h44 #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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dnvm.c91 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()
121 "NVM access write command failed for section %u (status = 0x%x)\n", 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()
175 "NVM access command failed on offset 0x%x since that section size is multiple 2K\n", 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()
228 * Reads an NVM section completel
237 iwl_nvm_read_section(struct iwl_mvm *mvm, u16 section, u8 *data, u32 size_read) iwl_nvm_read_section() argument
358 int ret, section; iwl_nvm_init() local
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Damd64_edac_inj.c10 return sprintf(buf, "0x%x\n", pvt->injection.section); in amd64_inject_section_show()
14 * store error injection section value which refers to one of 4 16-byte sections
33 amd64_warn("%s: invalid section 0x%lx\n", __func__, value); in amd64_inject_section_store()
37 pvt->injection.section = (u32) value; in amd64_inject_section_store()
52 * 16-byte (128-bit + ECC bits) section
125 u32 section, word_bits; in amd64_inject_read_store() local
132 /* Form value to choose 16-byte section of cacheline */ in amd64_inject_read_store()
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()
157 u32 section, word_bits, tmp; amd64_inject_write_store() local
[all...]
/kernel/linux/linux-6.6/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()
117 /* next block in section */ in __displayid_iter_next()
126 /* The first section we encounter is the base section */ 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()
[all...]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()

Completed in 12 milliseconds

12345678910>>...43