Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 14 of 14) sorted by relevance

/kernel/bpf/
Dverifier.c402 struct bpf_reg_state *reg, in verbose_invalid_scalar() argument
409 if (!tnum_is_unknown(reg->var_off)) { in verbose_invalid_scalar()
410 tnum_strn(tn_buf, sizeof(tn_buf), reg->var_off); in verbose_invalid_scalar()
442 static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) in reg_may_point_to_spin_lock() argument
444 return reg->type == PTR_TO_MAP_VALUE && in reg_may_point_to_spin_lock()
445 map_value_has_spin_lock(reg->map_ptr); in reg_may_point_to_spin_lock()
603 const struct bpf_reg_state *reg) in func() argument
607 return cur->frame[reg->frameno]; in func()
632 const struct bpf_reg_state *reg; in print_verifier_state() local
639 reg = &state->regs[i]; in print_verifier_state()
[all …]
Dbtf.c5506 struct bpf_reg_state *reg = &regs[regno]; in btf_check_func_arg_match() local
5510 if (reg->type == SCALAR_VALUE) in btf_check_func_arg_match()
5537 if (reg->type == PTR_TO_BTF_ID) { in btf_check_func_arg_match()
5538 reg_btf = reg->btf; in btf_check_func_arg_match()
5539 reg_ref_id = reg->btf_id; in btf_check_func_arg_match()
5540 } else if (reg2btf_ids[base_type(reg->type)]) { in btf_check_func_arg_match()
5542 reg_ref_id = *reg2btf_ids[base_type(reg->type)]; in btf_check_func_arg_match()
5555 reg->off, btf, ref_id)) { in btf_check_func_arg_match()
5567 if (reg->type != PTR_TO_CTX) { in btf_check_func_arg_match()
5573 if (check_ctx_reg(env, reg, regno)) in btf_check_func_arg_match()
[all …]
Dbpf_struct_ops.c456 err = st_ops->reg(kdata); in bpf_struct_ops_map_update_elem()
/kernel/trace/
Dtrace_event_perf.c129 ret = tp_event->class->reg(tp_event, TRACE_REG_PERF_REGISTER, NULL); in perf_trace_event_reg()
162 tp_event->class->reg(tp_event, TRACE_REG_PERF_UNREGISTER, NULL); in perf_trace_event_unreg()
184 return tp_event->class->reg(tp_event, TRACE_REG_PERF_OPEN, p_event); in perf_trace_event_open()
190 tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); in perf_trace_event_close()
224 tp_event->class && tp_event->class->reg && in perf_trace_init()
368 if (!tp_event->class->reg(tp_event, TRACE_REG_PERF_ADD, p_event)) { in perf_trace_add()
392 if (!tp_event->class->reg(tp_event, TRACE_REG_PERF_DEL, p_event)) in perf_trace_del()
Dtrace_events_trigger.c712 ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); in event_trigger_callback()
1114 .reg = register_trigger,
1125 .reg = register_trigger,
1204 .reg = register_snapshot_trigger,
1301 .reg = register_trigger,
1553 ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); in event_enable_trigger_func()
1680 .reg = event_enable_register_trigger,
1690 .reg = event_enable_register_trigger,
Dtrace_events.c637 call->class->reg(call, TRACE_REG_UNREGISTER, file); in __ftrace_event_enable_disable()
683 ret = call->class->reg(call, TRACE_REG_REGISTER, file); in __ftrace_event_enable_disable()
1012 if (!name || !call->class || !call->class->reg) in __ftrace_set_clr_event_nolock()
1204 if (call->class && call->class->reg && in t_next()
1434 !trace_event_name(call) || !call->class || !call->class->reg) in system_enable_read()
2417 if (call->class->reg && !(call->flags & TRACE_EVENT_FL_IGNORE_ENABLE)) in event_create_dir()
2422 if (call->event.type && call->class->reg) in event_create_dir()
2458 if (call->event.type && call->class->reg) in event_create_dir()
3049 if (!file || !file->event_call->class->reg || in find_event_file()
Dtrace_export.c166 .reg = regfn, \
Dtrace_syscalls.c488 .reg = syscall_enter_register,
496 .reg = syscall_exit_register,
Dtrace_eprobe.c618 .reg = eprobe_trigger_reg_func,
849 call->class->reg = eprobe_register; in init_trace_eprobe_call()
Dtrace_events_hist.c6289 ret = cmd_ops->reg(glob, trigger_ops, trigger_data, file); in event_hist_trigger_func()
6353 .reg = hist_register_trigger,
6468 .reg = event_enable_register_trigger,
6479 .reg = event_enable_register_trigger,
Dtrace.h1755 int (*reg)(char *glob, member
Dtrace_uprobe.c1571 call->class->reg = trace_uprobe_register; in init_trace_event_call()
Dtrace_kprobe.c1799 call->class->reg = kprobe_register; in init_trace_event_call()
Dtrace_events_synth.c888 call->class->reg = trace_event_reg; in register_synth_event()