Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/bpf/prog_tests/
Dtrampoline_count.c9 struct inst { struct
49 struct inst inst[MAX_TRAMP_PROGS] = {}; in test_trampoline_count() local
66 inst[i].obj = obj; in test_trampoline_count()
70 link = load(inst[i].obj, fentry_name); in test_trampoline_count()
75 inst[i].link_fentry = link; in test_trampoline_count()
77 link = load(inst[i].obj, fexit_name); in test_trampoline_count()
82 inst[i].link_fexit = link; in test_trampoline_count()
119 bpf_link__destroy(inst[i].link_fentry); in test_trampoline_count()
120 bpf_link__destroy(inst[i].link_fexit); in test_trampoline_count()
121 bpf_object__close(inst[i].obj); in test_trampoline_count()
/tools/thermal/tmon/
Dsysfs.c400 int inst; in probe_thermal_sysfs() local
403 inst = get_instance_id(namelist[n]->d_name, 1, in probe_thermal_sysfs()
408 if (inst > ptdata.max_cdev_instance) in probe_thermal_sysfs()
409 ptdata.max_cdev_instance = inst; in probe_thermal_sysfs()
417 inst = get_instance_id(namelist[n]->d_name, 1, in probe_thermal_sysfs()
419 if (inst > ptdata.max_tz_instance) in probe_thermal_sysfs()
420 ptdata.max_tz_instance = inst; in probe_thermal_sysfs()
Dtui.c624 int inst = ptdata.tzi[i].instance; in show_sensors_w() local
627 TZ_LEFT_ALIGN+TZONE_RECORD_SIZE * inst, "%.9s%02d", in show_sensors_w()
640 inst * TZONE_RECORD_SIZE + TZ_LEFT_ALIGN + in show_sensors_w()
643 inst, j, type); in show_sensors_w()
/tools/perf/util/
Ddwarf-aux.c687 static int __die_walk_instances_cb(Dwarf_Die *inst, void *data) in __die_walk_instances_cb() argument
696 if (!die_is_func_instance(inst)) in __die_walk_instances_cb()
699 attr = dwarf_attr(inst, DW_AT_abstract_origin, &attr_mem); in __die_walk_instances_cb()
708 if (dwarf_tag(inst) == DW_TAG_inlined_subroutine) { in __die_walk_instances_cb()
710 if (die_get_call_lineno(inst) == tmp) { in __die_walk_instances_cb()
712 if (die_get_call_fileno(inst) == tmp) in __die_walk_instances_cb()
717 iwp->retval = iwp->callback(inst, iwp->data); in __die_walk_instances_cb()
/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c80 u32 inst = *(u32 *)ucp->uc_mcontext.gp_regs[PT_NIP]; in sighandler() local
81 ucp->uc_mcontext.gp_regs[PT_NIP] += ((inst >> 26 == 1) ? 8 : 4); in sighandler()
/tools/perf/scripts/python/
Dexported-sql-viewer.py2952 inst = self.glb.disassembler.Instruction()
2957 self.glb.disassembler.SetMode(inst, mode)
2966 cnt, text = self.glb.disassembler.DisassembleOne(inst, buf_ptr, buf_sz, ip)
4812 def SetMode(self, inst, mode): argument
4814 inst.state.mode = 4 # 32-bit
4815 inst.state.width = 4 # 4 bytes
4817 inst.state.mode = 1 # 64-bit
4818 inst.state.width = 8 # 8 bytes
4819 self.xed_operand_values_set_mode(inst.xedp, inst.statep)
4821 def DisassembleOne(self, inst, bytes_ptr, bytes_cnt, ip): argument
[all …]