/Zephyr-latest/include/zephyr/kernel/ |
D | thread_stack.h | 124 #define K_KERNEL_STACK_DECLARE(sym, size) \ argument 126 sym[K_KERNEL_STACK_LEN(size)] 138 #define K_KERNEL_STACK_ARRAY_DECLARE(sym, nmemb, size) \ argument 140 sym[nmemb][K_KERNEL_STACK_LEN(size)] 152 #define K_KERNEL_PINNED_STACK_ARRAY_DECLARE(sym, nmemb, size) \ argument 154 sym[nmemb][K_KERNEL_STACK_LEN(size)] 175 #define Z_KERNEL_STACK_DEFINE_IN(sym, size, lsect) \ argument 178 sym[K_KERNEL_STACK_LEN(size)] 188 #define Z_KERNEL_STACK_ARRAY_DEFINE_IN(sym, nmemb, size, lsect) \ argument 191 sym[nmemb][K_KERNEL_STACK_LEN(size)] [all …]
|
/Zephyr-latest/scripts/kconfig/ |
D | lint.py | 124 for sym in kconf.unique_defined_syms: 125 if not has_prompt(sym) and not is_selected_or_implied(sym) and \ 126 not has_defaults(sym): 127 print(name_and_locs(sym)) 133 for sym in kconf.unique_defined_syms: 134 if not is_selecting_or_implying(sym) and not sym.choice and \ 135 sym.name not in referenced: 136 print(name_and_locs(sym)) 149 for sym in kconf.unique_defined_syms: 150 if all("defconfig" in node.filename for node in sym.nodes): [all …]
|
D | kconfig.py | 140 for sym in kconf.unique_defined_syms: 141 if sym.user_value is not None and promptless(sym): 145 symbols. """ + SYM_INFO_HINT.format(sym)) 153 for sym in kconf.unique_defined_syms: 154 if sym.choice: 157 user_value = sym.user_value 163 if sym.type in (BOOL, TRISTATE): 166 if user_value != sym.str_value: 171 mdeps = missing_deps(sym) 187 warn(msg + SYM_INFO_HINT.format(sym)) [all …]
|
D | kconfiglib.py | 998 sym = Symbol() 999 sym.kconfig = self 1000 sym.name = nmy 1001 sym.is_constant = True 1002 sym.orig_type = TRISTATE 1003 sym._cached_tri_val = STR_TO_TRI[nmy] 1005 self.const_syms[nmy] = sym 1013 sym = self.const_syms[nmy] 1014 sym.rev_dep = sym.weak_rev_dep = sym.direct_dep = self.n 1121 for sym in self.unique_defined_syms: [all …]
|
D | guiconfig.py | 264 for sym in _kconf.unique_defined_syms: 265 if sym.user_value is None: 266 if sym.config_string: 269 elif sym.orig_type in (BOOL, TRISTATE): 270 if sym.tri_value != sym.user_value: 273 elif sym.str_value != sym.user_value: 805 sym = node.item 810 if sym.user_value is None and sym.type and not \ 811 (sym.choice and sym.choice.tri_value == 2): 826 sym = node.item [all …]
|
D | menuconfig.py | 757 for sym in _kconf.unique_defined_syms: 758 if sym.user_value is None: 759 if sym.config_string: 762 elif sym.orig_type in (BOOL, TRISTATE): 763 if sym.tri_value != sym.user_value: 766 elif sym.str_value != sym.user_value: 2219 for sym in sorted(_kconf.unique_defined_syms, 2220 key=lambda sym: sym.name): 2222 cached_nodes += sym.nodes 2554 sym = node.item [all …]
|
/Zephyr-latest/scripts/build/ |
D | gen_offset_header.py | 42 for sym in get_symbol_table(obj).iter_symbols(): 43 if isinstance(sym.name, bytes): 44 sym.name = str(sym.name, 'ascii') 46 if not sym.name.endswith(('_OFFSET', '_SIZEOF')): 48 if sym.entry['st_shndx'] != 'SHN_ABS': 50 if sym.entry['st_info']['bind'] != 'STB_GLOBAL': 55 (sym.name, sym.entry['st_value']))
|
D | elf_parser.py | 22 def __init__(self, elf, sym): argument 24 self.sym = sym 25 self.data = self.elf.symbol_data(sym) 28 return self.sym.entry.st_value < other.sym.entry.st_value 43 def __init__(self, elf, sym): argument 44 super().__init__(elf, sym) 59 def __init__(self, elf, sym): argument 60 super().__init__(elf, sym) 91 def __init__(self, elf, sym): argument 92 super().__init__(elf, sym) [all …]
|
D | check_init_priorities.py | 116 for sym in section.iter_symbols(): 117 if (sym.name and 118 sym.entry.st_size > 0 and 119 sym.entry.st_info.type in ["STT_OBJECT", "STT_FUNC"]): 120 self._objects[sym.entry.st_value] = ( 121 sym.name, sym.entry.st_size, sym.entry.st_shndx) 131 for sym in section.iter_symbols(): 134 if sym.name == name: 135 self._init_level_addr[level] = sym.entry.st_value 136 elif sym.name == "__init_end": [all …]
|
D | llext_inject_slids.py | 58 for sym in symtab.iter_symbols(): 60 if sym.entry['st_info']['type'] == 'STT_NOTYPE' and \ 61 sym.entry['st_info']['bind'] == 'STB_GLOBAL' and \ 62 sym.entry['st_shndx'] == 'SHN_UNDEF': 65 imports.append((i, sym))
|
D | gen_device_deps.py | 78 return dev.edt_node and dev.edt_node.path or dev.sym.name 116 'extern {:s} {:s}[{:d}];'.format(ctype, dev.ordinals.sym.name, len(handles)), 118 '{:s}[] = {{ {:s} }};'.format(dev.ordinals.sym.name, ', '.join(handles)),
|
/Zephyr-latest/include/zephyr/toolchain/ |
D | gcc.h | 370 #define GTEXT(sym) .global sym; .type sym, %function argument 371 #define GDATA(sym) .global sym; .type sym, %object argument 372 #define WTEXT(sym) .weak sym; .type sym, %function argument 373 #define WDATA(sym) .weak sym; .type sym, %object argument 395 #define GTEXT(sym) glbl_text sym argument 396 #define GDATA(sym) glbl_data sym argument 397 #define WDATA(sym) weak_data sym argument 400 #define GTEXT(sym) .globl sym; .type sym, @function 401 #define GDATA(sym) .globl sym; .type sym, @object 442 #define SECTION_VAR(sect, sym) section_var sect, sym argument [all …]
|
D | mwdt.h | 63 #define SECTION_VAR(sect, sym) section_var_mwdt sect, sym argument 64 #define SECTION_FUNC(sect, sym) section_func_mwdt sect, sym argument 65 #define SECTION_SUBSEC_FUNC(sect, subsec, sym) \ argument 66 section_subsec_func_mwdt sect, subsec, sym 110 #define GTEXT(sym) glbl_text_mwdt sym argument 111 #define GDATA(sym) glbl_data_mwdt sym argument 112 #define WDATA(sym) weak_data_mwdt sym argument 113 #define WTEXT(sym) weak_text_mwdt sym argument
|
D | common.h | 54 #define REQUIRES(sym) .set sym ## _Requires, sym argument 56 #define REQUIRES(sym) __asm__ (".set " # sym "_Requires, " # sym "\n\t"); argument 105 #define GC_SECTION(sym) SECTION .text.##sym, "ax" argument
|
/Zephyr-latest/arch/xtensa/core/ |
D | gen_vectors.py | 69 (sym, val) = (m.group(1), m.group(2)) 70 if sym == "WINDOW_OF4": 73 elif sym.startswith("WINDOW"): 76 elif sym == "RESET": 79 elif sym == "DEBUG": 94 m = re.match(r"^INTLEVEL(\d+)", sym) 98 offsets[sect_names[sym]] = addr
|
D | elf.c | 132 const elf_sym_t *sym, uint8_t *rel_addr, in arch_elf_relocate_local() argument 138 if (ELF_ST_TYPE(sym->st_info) == STT_SECTION) { in arch_elf_relocate_local() 139 elf_shdr_t *shdr = ext->sect_hdrs + sym->st_shndx; in arch_elf_relocate_local() 144 shdr->sh_addr : (uintptr_t)llext_loaded_sect_ptr(ldr, ext, sym->st_shndx); in arch_elf_relocate_local() 149 xtensa_elf_relocate(ldr, ext, rel, sh_addr, rel_addr, type, ELF_ST_BIND(sym->st_info)); in arch_elf_relocate_local() 156 const elf_sym_t *sym, uint8_t *rel_addr, const void *link_addr) in arch_elf_relocate_global() argument 166 ELF_ST_BIND(sym->st_info)); in arch_elf_relocate_global()
|
/Zephyr-latest/subsys/llext/ |
D | llext_link.c | 36 const elf_rela_t *rel, const elf_sym_t *sym, uint8_t *rel_addr, in arch_elf_relocate_local() argument 42 const elf_rela_t *rel, const elf_sym_t *sym, uint8_t *rel_addr, in arch_elf_relocate_global() argument 115 const char *sym; member 122 const void *addr = llext_find_sym(&ext->exp_tab, se->sym); in llext_find_extension_sym_iterate() 135 struct llext_extension_sym se = {.sym = sym_name}; in llext_find_extension_sym() 184 elf_sym_t sym; in llext_link_plt() local 188 ret = llext_read(ldr, &sym, sizeof(sym)); in llext_link_plt() 197 uint32_t stt = ELF_ST_TYPE(sym.st_info); in llext_link_plt() 202 (stt != STT_NOTYPE || sym.st_shndx != SHN_UNDEF)) { in llext_link_plt() 206 const char *name = llext_string(ldr, ext, LLEXT_MEM_STRTAB, sym.st_name); in llext_link_plt() [all …]
|
D | llext_load.c | 458 elf_sym_t sym; in llext_count_export_syms() local 478 ret = llext_read(ldr, &sym, ent_size); in llext_count_export_syms() 483 uint32_t stt = ELF_ST_TYPE(sym.st_info); in llext_count_export_syms() 484 uint32_t stb = ELF_ST_BIND(sym.st_info); in llext_count_export_syms() 485 uint32_t sect = sym.st_shndx; in llext_count_export_syms() 487 name = llext_string(ldr, ext, LLEXT_MEM_STRTAB, sym.st_name); in llext_count_export_syms() 520 struct llext_symbol *sym; in llext_export_symbols() local 536 for (i = 0, sym = ext->mem[LLEXT_MEM_EXPORT]; in llext_export_symbols() 538 i++, sym++) { in llext_export_symbols() 539 exp_tab->syms[i].name = sym->name; in llext_export_symbols() [all …]
|
D | llext.c | 139 STRUCT_SECTION_FOREACH(llext_const_symbol, sym) { in llext_find_sym() 140 if (slid == sym->slid) { in llext_find_sym() 141 return sym->addr; in llext_find_sym() 145 STRUCT_SECTION_FOREACH(llext_const_symbol, sym) { in llext_find_sym() 146 if (strcmp(sym->name, sym_name) == 0) { in llext_find_sym() 147 return sym->addr; in llext_find_sym()
|
/Zephyr-latest/scripts/profiling/ |
D | stackcollapse.py | 30 for sym in symtab.iter_symbols(): 31 …if sym.entry.st_info.type == "STT_FUNC" and sym.entry.st_value <= addr < sym.entry.st_value + sym.… 32 return sym.name
|
/Zephyr-latest/scripts/footprint/ |
D | size_report | 54 def get_symbol_addr(sym): argument 56 return sym['st_value'] 59 def get_symbol_size(sym): argument 61 return sym['st_size'] 64 def is_symbol_in_ranges(sym, ranges): argument 70 if bound['start'] <= sym['st_value'] <= bound['end']: 120 for sym in symlist: 121 if low <= sym['symbol']['st_value'] < high: 122 return sym 142 for sym in section.iter_symbols(): [all …]
|
/Zephyr-latest/modules/mbedtls/ |
D | create_psa_files.py | 86 for sym in symbols: 87 if sym in SKIP_SYMBOLS: 93 """.format(sym)) 99 for sym in symbols: 104 """.format(sym))
|
/Zephyr-latest/soc/mediatek/mt8xxx/ |
D | gen_img.py | 88 for sym in sec.iter_symbols(): 89 if sym.name == "mtk_adsp_boot_entry": 90 boot_vector = sym.entry['st_value']
|
/Zephyr-latest/scripts/logging/dictionary/ |
D | database_gen.py | 147 return {sym.name: sym.entry.st_value 148 for sym in section.iter_symbols() 149 if sym.name.startswith("CONFIG_")} 196 for sym in log_const_symbols: 197 if sym.entry['st_value'] < first_offset: 198 first_offset = sym.entry['st_value'] 203 for sym in log_const_symbols: 205 offset = sym.entry['st_value'] - log_const_area['start'] 226 source_id = int((offset - first_offset) / sym.entry['st_size']) 228 database.add_log_instance(source_id, instance_name, level, sym.entry['st_value'])
|
/Zephyr-latest/arch/x86/ |
D | gen_gdt.py | 150 return {sym.name: sym.entry.st_value 151 for sym in section.iter_symbols()}
|