Home
last modified time | relevance | path

Searched refs:dloc (Results 1 – 7 of 7) sorted by relevance

/linux/tools/perf/util/
H A Dannotate-data.c478 static enum type_match_result check_variable(struct data_loc_info *dloc, in check_variable() argument
489 else if (reg == dloc->fbreg || is_fbreg) in check_variable()
491 else if (arch__is(dloc->arch, "x86") && reg == X86_REG_SP) in check_variable()
618 static struct global_var_entry *global_var__find(struct data_loc_info *dloc, u64 addr) in global_var__find() argument
620 struct dso *dso = map__dso(dloc->ms->map); in global_var__find()
630 static bool global_var__add(struct data_loc_info *dloc, u64 addr, in global_var__add() argument
633 struct dso *dso = map__dso(dloc->ms->map); in global_var__add()
672 bool get_global_var_info(struct data_loc_info *dloc, u64 addr, in get_global_var_info() argument
680 mem_addr = addr + map__reloc(dloc->ms->map); in get_global_var_info()
683 sym = thread__find_symbol_fb(dloc->thread, dloc->cpumode, in get_global_var_info()
[all …]
H A Dannotate-data.h217 struct annotated_data_type *find_data_type(struct data_loc_info *dloc);
240 bool get_global_var_type(Dwarf_Die *cu_die, struct data_loc_info *dloc,
243 bool get_global_var_info(struct data_loc_info *dloc, u64 addr,
250 find_data_type(struct data_loc_info *dloc __maybe_unused) in find_data_type()
H A Ddisasm.h44 struct data_loc_info *dloc, Dwarf_Die *cu_die,
H A Dannotate.c2667 struct data_loc_info dloc = { in hist_entry__get_data_type() local
2686 dloc.var_addr = annotate_calc_pcrel(ms, dloc.ip, in hist_entry__get_data_type()
2693 dloc.var_addr = op_loc->offset; in hist_entry__get_data_type()
2697 mem_type = find_data_type(&dloc); in hist_entry__get_data_type()
2712 dloc.type_offset, in hist_entry__get_data_type()
2716 he->mem_type_off = dloc.type_offset; in hist_entry__get_data_type()
/linux/fs/f2fs/
H A Dverity.c152 struct fsverity_descriptor_location dloc = { in f2fs_end_enable_verity() local
183 F2FS_XATTR_NAME_VERITY, &dloc, sizeof(dloc), in f2fs_end_enable_verity()
222 struct fsverity_descriptor_location dloc; in f2fs_get_verity_descriptor() local
229 F2FS_XATTR_NAME_VERITY, &dloc, sizeof(dloc), NULL); in f2fs_get_verity_descriptor()
232 if (res != sizeof(dloc) || dloc.version != cpu_to_le32(F2FS_VERIFY_VER)) { in f2fs_get_verity_descriptor()
236 size = le32_to_cpu(dloc.size); in f2fs_get_verity_descriptor()
237 pos = le64_to_cpu(dloc.pos); in f2fs_get_verity_descriptor()
/linux/tools/perf/arch/x86/annotate/
H A Dinstructions.c212 struct data_loc_info *dloc, Dwarf_Die *cu_die, in update_insn_state_x86() argument
221 int fbreg = dloc->fbreg; in update_insn_state_x86()
224 if (annotate_get_insn_location(dloc->arch, dl, &loc) < 0) in update_insn_state_x86()
263 struct map_symbol *ms = dloc->ms; in update_insn_state_x86()
278 u64 var_addr = annotate_calc_pcrel(dloc->ms, ip, in update_insn_state_x86()
281 if (get_global_var_info(dloc, var_addr, in update_insn_state_x86()
296 if (get_global_var_type(cu_die, dloc, ip, imm_value, &offset, in update_insn_state_x86()
316 if (dloc->fb_cfa) { in update_insn_state_x86()
317 u64 ip = dloc->ms->sym->start + dl->al.offset; in update_insn_state_x86()
318 u64 pc = map__rip_2objdump(dloc->ms->map, ip); in update_insn_state_x86()
[all …]
/linux/tools/perf/arch/powerpc/annotate/
H A Dinstructions.c260 struct data_loc_info *dloc, Dwarf_Die * cu_die __maybe_unused, in update_insn_state_powerpc() argument
269 if (annotate_get_insn_location(dloc->arch, dl, &loc) < 0) in update_insn_state_powerpc()