Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dusdt.c1177 static int calc_pt_regs_off(const char *reg_name) in calc_pt_regs_off() argument
1213 if (strcmp(reg_name, reg_map[i].names[j]) == 0) in calc_pt_regs_off()
1218 pr_warn("usdt: unrecognized register '%s'\n", reg_name); in calc_pt_regs_off()
1224 char reg_name[16]; in parse_usdt_arg() local
1228 if (sscanf(arg_str, " %d @ %ld ( %%%15[^)] ) %n", &arg_sz, &off, reg_name, &len) == 3) { in parse_usdt_arg()
1232 reg_off = calc_pt_regs_off(reg_name); in parse_usdt_arg()
1236 } else if (sscanf(arg_str, " %d @ ( %%%15[^)] ) %n", &arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1240 reg_off = calc_pt_regs_off(reg_name); in parse_usdt_arg()
1244 } else if (sscanf(arg_str, " %d @ %%%15s %n", &arg_sz, reg_name, &len) == 2) { in parse_usdt_arg()
1249 reg_off = calc_pt_regs_off(reg_name); in parse_usdt_arg()
[all …]
/third_party/ltp/testcases/kernel/syscalls/bpf/
Dbpf_prog05.c148 static void expect_reg_val(const char *const reg_name, in expect_reg_val() argument
158 reg_name, *val, expected_val); in expect_reg_val()
160 tst_res(TPASS, "%s = %"PRIu64, reg_name, *val); in expect_reg_val()
/third_party/mesa3d/src/freedreno/afuc/
Dutil.c68 reg_name(struct rnndomain *dom, unsigned id) in reg_name() function
95 return reg_name(control_regs, id); in afuc_control_reg_name()
131 return reg_name(pipe_regs, id); in afuc_pipe_reg_name()
Demu-regs.c41 char *reg_name = afuc_control_reg_name(n); in is_draw_state_control_reg() local
42 if (!reg_name) in is_draw_state_control_reg()
44 bool ret = !!strstr(reg_name, "DRAW_STATE"); in is_draw_state_control_reg()
45 free(reg_name); in is_draw_state_control_reg()
/third_party/mesa3d/src/intel/tools/
Daubinator_error_decode.c561 const char *reg_name = in read_data_file() local
563 if (reg_name) in read_data_file()
564 print_register(spec, reg_name, reg); in read_data_file()
601 const char *reg_name = in read_data_file() local
605 if (reg_name == NULL) in read_data_file()
606 reg_name = "FAULT_REG"; in read_data_file()
607 print_register(spec, reg_name, reg); in read_data_file()
/third_party/mesa3d/src/gallium/drivers/r600/
Deg_debug.c85 const char *reg_name = egd_strings + reg->name_offset; in eg_dump_reg() local
92 reg_name); in eg_dump_reg()
111 INDENT_PKT + strlen(reg_name) + 4); in eg_dump_reg()
/third_party/mesa3d/src/amd/common/
Dac_debug.c170 const char *reg_name = sid_strings + reg->name_offset; in ac_dump_reg() local
175 O_COLOR_YELLOW, reg_name, in ac_dump_reg()
193 print_spaces(file, INDENT_PKT + strlen(reg_name) + 4); in ac_dump_reg()