Searched refs:sym (Results 201 - 225 of 290) sorted by relevance

1234567891011>>

/linux-master/kernel/
H A Dkexec_file.c1128 const Elf_Sym *sym; local
1131 sym = kexec_purgatory_find_symbol(pi, name);
1132 if (!sym)
1135 sechdr = &pi->sechdrs[sym->st_shndx];
1141 return (void *)(sechdr->sh_addr + sym->st_value);
1152 const Elf_Sym *sym; local
1156 sym = kexec_purgatory_find_symbol(pi, name);
1157 if (!sym)
1160 if (sym->st_size != size) {
1162 name, (unsigned long)sym
[all...]
H A Dkprobes.c133 .sym = KPROBE_INSN_PAGE_SYM,
198 PAGE_SIZE, false, c->sym);
223 kip->cache->sym);
315 unsigned long *value, char *type, char *sym)
324 strscpy(sym, c->sym, KSYM_NAME_LEN);
351 .sym = KPROBE_OPTINSN_PAGE_SYM,
1459 * Input: @sym + @offset
2182 * @sym: Target symbol name
2185 * This checks whether the given @addr+@offset or @sym
314 kprobe_cache_get_kallsym(struct kprobe_insn_cache *c, unsigned int *symnum, unsigned long *value, char *type, char *sym) argument
2192 kprobe_on_func_entry(kprobe_opcode_t *addr, const char *sym, unsigned long offset) argument
2497 arch_kprobe_get_kallsym(unsigned int *symnum, unsigned long *value, char *type, char *sym) argument
2503 kprobe_get_kallsym(unsigned int symnum, unsigned long *value, char *type, char *sym) argument
2776 report_probe(struct seq_file *pi, struct kprobe *p, const char *sym, int offset, char *modname, struct kprobe *pp) argument
2829 const char *sym; local
[all...]
/linux-master/tools/perf/util/
H A Dannotate-data.c595 struct symbol *sym; local
602 sym = thread__find_symbol_fb(dloc->thread, dloc->cpumode,
604 if (sym) {
605 *var_name = sym->name;
607 *var_offset = mem_addr - map__unmap_ip(al.map, sym->start);
793 struct symbol *func = dl->ops.target.sym;
829 u64 ip = ms->sym->start + dl->al.offset;
880 u64 ip = dloc->ms->sym->start + dl->al.offset;
895 u64 ip = dloc->ms->sym->start + dl->al.offset;
1010 u64 ip = ms->sym
1465 struct symbol *sym = dloc->ms->sym; local
[all...]
H A Dprobe-event.c134 struct symbol *sym; local
143 sym = machine__find_kernel_symbol_by_name(host_machine, name, &map);
144 if (!sym)
146 *addr = map__unmap_ip(map, sym->start) -
396 struct symbol *sym; local
410 map__for_each_symbol_by_name(map, pp->function, sym, idx) {
412 address = sym->start;
413 if (sym->type == STT_GNU_IFUNC)
418 address = map__unmap_ip(map, sym->start) - map__reloc(map);
706 struct symbol *sym; local
2246 struct symbol *sym = NULL; local
2983 struct symbol *sym; local
3049 struct symbol *sym; local
[all...]
H A Dhist.c94 if (h->ms.sym) {
95 symlen = h->ms.sym->namelen + 4;
118 if (h->branch_info->from.ms.sym) {
119 symlen = (int)h->branch_info->from.ms.sym->namelen + 4;
133 if (h->branch_info->to.ms.sym) {
134 symlen = (int)h->branch_info->to.ms.sym->namelen + 4;
157 if (mem_info__daddr(h->mem_info)->ms.sym) {
158 symlen = (int)mem_info__daddr(h->mem_info)->ms.sym->namelen + 4
172 if (mem_info__iaddr(h->mem_info)->ms.sym) {
173 symlen = (int)mem_info__iaddr(h->mem_info)->ms.sym
[all...]
H A Dauxtrace.c2580 static bool dso_sym_match(struct symbol *sym, const char *name, int *cnt, argument
2584 return !arch__compare_symbol_names(name, sym->name) &&
2585 ((!idx && sym->binding == STB_GLOBAL) ||
2592 struct symbol *sym; local
2598 sym = dso__first_symbol(dso);
2599 while (sym) {
2600 if (dso_sym_match(sym, sym_name, &cnt, -1)) {
2602 ++cnt, sym->start,
2603 sym->binding == STB_GLOBAL ? 'g' :
2604 sym
2622 struct symbol *sym; local
[all...]
H A Dmaps.c629 struct symbol *sym; member in struct:maps__find_symbol_by_name_args
636 args->sym = map__find_symbol_by_name(map, args->name);
637 if (!args->sym)
640 if (!map__contains_symbol(map, args->sym)) {
641 args->sym = NULL;
655 .sym = NULL,
659 return args.sym;
673 ams->ms.sym = map__find_symbol(ams->ms.map, ams->al_addr);
675 return ams->ms.sym ? 0 : -1;
H A Dcallchain.c741 if (node->ms.sym && cnode->ms.sym) {
748 if (cnode->ms.sym->inlined || node->ms.sym->inlined) {
749 match = match_chain_strings(cnode->ms.sym->name,
750 node->ms.sym->name);
754 match = match_chain_dso_addresses(cnode->ms.map, cnode->ms.sym->start,
755 node->ms.map, node->ms.sym->start);
1150 al->sym = node->ms.sym;
[all...]
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c406 static unsigned long get_offset(struct symbol *sym, struct addr_location *al) argument
410 if (al->addr < sym->end)
411 offset = al->addr - sym->start;
413 offset = al->addr - map__start(al->map) - sym->start;
457 if (node->ms.sym) {
462 PyLong_FromUnsignedLongLong(node->ms.sym->start));
464 PyLong_FromUnsignedLongLong(node->ms.sym->end));
466 _PyLong_FromLong(node->ms.sym->binding));
468 _PyUnicode_FromStringAndSize(node->ms.sym->name,
469 node->ms.sym
571 get_symoff(struct symbol *sym, struct addr_location *al, bool print_off, char *bf, int size) argument
1273 python_export_symbol(struct db_export *dbe, struct symbol *sym, struct dso *dso) argument
[all...]
/linux-master/tools/perf/ui/browsers/
H A Dhists.c797 bool show_annotated = browser->show_dso && chain->ms.sym && symbol__annotation(chain->ms.sym)->src;
2438 notes = symbol__annotation(act->ms.sym);
2465 struct symbol *sym; local
2470 sym = symbol__new(addr, ANNOTATION_DUMMY_LEN, 0, 0, name);
2471 if (sym) {
2472 src = symbol__hists(sym, 1);
2474 symbol__delete(sym);
2478 dso__insert_symbol(map__dso(map), sym); local
2481 return sym;
2747 add_script_opt_2(struct hist_browser *browser __maybe_unused, struct popup_action *act, char **optstr, struct thread *thread, struct symbol *sym, struct evsel *evsel, const char *tstr) argument
2774 add_script_opt(struct hist_browser *browser, struct popup_action *act, char **optstr, struct thread *thread, struct symbol *sym, struct evsel *evsel) argument
[all...]
/linux-master/arch/s390/lib/
H A Dtest_unwind.c69 char sym[KSYM_SYMBOL_LEN]; local
78 sprint_symbol(sym, addr);
89 if (prev_is_func2 && str_has_prefix(sym, "unwindme_func1"))
91 prev_is_func2 = str_has_prefix(sym, "unwindme_func2");
92 if (str_has_prefix(sym, "arch_rethook_trampoline+0x0/"))
/linux-master/tools/perf/
H A Dbuiltin-kmem.c347 struct symbol *sym; local
369 map__for_each_symbol(kernel_map, sym, node) {
370 if (regexec(&alloc_func_regex, sym->name, 0, NULL, 0))
378 pr_debug("alloc func: %s\n", sym->name);
379 func[nr_alloc_funcs].start = sym->start;
380 func[nr_alloc_funcs].end = sym->end;
381 func[nr_alloc_funcs].name = sym->name;
1023 struct symbol *sym = NULL; local
1031 sym = machine__find_kernel_symbol(machine, addr, &map);
1035 if (sym !
1089 struct symbol *sym; local
1131 struct symbol *sym; local
[all...]
/linux-master/scripts/
H A Drecordmcount.h149 static void fn_ELF_R_INFO(Elf_Rel *const rp, unsigned sym, unsigned type) argument
151 rp->r_info = _w(ELF_R_INFO(sym, type));
153 static void (*Elf_r_info)(Elf_Rel *const rp, unsigned sym, unsigned type) = fn_ELF_R_INFO;
191 static unsigned int get_symindex(Elf_Sym const *sym, Elf32_Word const *symtab, argument
195 unsigned short shndx = w2(sym->st_shndx);
202 offset = (unsigned long)sym - (unsigned long)symtab;
203 index = offset / sizeof(*sym);
H A Dunifdef.c829 int sym; local
869 sym = findsym(cp);
870 if (sym < 0) {
873 *valp = (value[sym] != NULL);
883 sym = findsym(cp);
885 if (sym < 0) {
888 } else if (value[sym] == NULL) {
892 *valp = strtol(value[sym], &ep, 0);
893 if (*ep != '\0' || ep == value[sym])
1154 addsym(bool ignorethis, bool definethis, char *sym) argument
[all...]
/linux-master/arch/loongarch/kernel/
H A Dmodule.c433 Elf_Sym *sym; local
444 sym = (Elf_Sym *)sechdrs[symindex].sh_addr + ELF_R_SYM(rel[i].r_info);
445 if (IS_ERR_VALUE(sym->st_value)) {
447 if (ELF_ST_BIND(sym->st_info) == STB_WEAK)
449 pr_warn("%s: Unknown symbol %s\n", mod->name, strtab + sym->st_name);
467 sym->st_value, rel[i].r_addend, (u64)location);
469 v = sym->st_value + rel[i].r_addend;
/linux-master/tools/bpf/resolve_btfids/
H A Dmain.c444 GElf_Sym sym; local
446 if (!gelf_getsym(obj->efile.symbols, i, &sym))
449 if (sym.st_shndx != obj->efile.idlist_shndx)
453 sym.st_name);
489 id->cnt = sym.st_size / sizeof(uint64_t) - 1;
501 id->cnt = sym.st_size / sizeof(int) - 1;
517 id->addr[id->addr_cnt++] = sym.st_value;
/linux-master/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c133 u32 common, sym; local
170 sym = ce->variant->op_mode[algt->ce_blockmode];
174 sym |= CE_AES_128BITS;
177 sym |= CE_AES_192BITS;
180 sym |= CE_AES_256BITS;
184 cet->t_sym_ctl = cpu_to_le32(sym);
/linux-master/arch/arm/crypto/
H A Dcrct10dif-ce-core.S147 .macro __adrl, out, sym
148 movw \out, #:lower16:\sym
149 movt \out, #:upper16:\sym
/linux-master/tools/perf/jvmti/
H A Djvmti_agent.c359 jvmti_write_code(void *agent, char const *sym, argument
377 sym_len = strlen(sym) + 1;
404 fwrite_unlocked(sym, sym_len, 1, fp);
/linux-master/arch/powerpc/kernel/
H A Dmodule_32.c204 Elf32_Sym *sym; local
216 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr
219 value = sym->st_value + rela[i].r_addend;
/linux-master/tools/testing/selftests/sgx/
H A Dload.c168 Elf64_Sym *sym = &symtab[i]; local
170 if (!strcmp(symbol, sym_names + sym->st_name))
171 return (uint64_t)sym->st_value;
/linux-master/arch/nios2/kernel/
H A Dentry.S523 .macro kuser_pad sym size
524 .if ((. - \sym) & 3)
525 .rept (4 - (. - \sym) & 3)
529 .rept ((\size - (. - \sym)) / 4)
/linux-master/tools/perf/include/perf/
H A Dperf_dlfilter.h81 const char *sym; member in struct:perf_dlfilter_al
/linux-master/arch/arm64/kernel/
H A Dmodule.c227 Elf64_Sym *sym; local
237 /* sym is the ELF symbol we're referring to. */
238 sym = (Elf64_Sym *)sechdrs[symindex].sh_addr
242 val = sym->st_value + rel[i].r_addend;
407 val = module_emit_plt_entry(me, sechdrs, loc, &rel[i], sym);
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_scan.l107 yylval.sym = symtable_get(string_buf);
297 yylval.sym = symtable_get(yytext);
311 yylval.sym = symtable_get(yytext);
403 yylval.sym = symtable_get(yytext);
404 if (yylval.sym->type == MACRO) {
422 expand_macro(yylval.sym);
424 if (yylval.sym->type == UNINITIALIZED) {
426 symbol_delete(yylval.sym);
428 yylval.sym =
436 yylval.sym
[all...]

Completed in 274 milliseconds

1234567891011>>