/kernel/bpf/ |
D | verifier.c | 413 struct bpf_reg_state *reg, in verbose_invalid_scalar() argument 420 if (!tnum_is_unknown(reg->var_off)) { in verbose_invalid_scalar() 421 tnum_strn(tn_buf, sizeof(tn_buf), reg->var_off); in verbose_invalid_scalar() 454 static bool reg_may_point_to_spin_lock(const struct bpf_reg_state *reg) in reg_may_point_to_spin_lock() argument 456 return reg->type == PTR_TO_MAP_VALUE && in reg_may_point_to_spin_lock() 457 map_value_has_spin_lock(reg->map_ptr); in reg_may_point_to_spin_lock() 642 const struct bpf_reg_state *reg) in func() argument 646 return cur->frame[reg->frameno]; in func() 709 static int mark_stack_slots_dynptr(struct bpf_verifier_env *env, struct bpf_reg_state *reg, in mark_stack_slots_dynptr() argument 712 struct bpf_func_state *state = func(env, reg); in mark_stack_slots_dynptr() [all …]
|
D | btf.c | 6199 const struct bpf_reg_state *reg) in is_kfunc_arg_mem_size() argument 6206 if (!btf_type_is_scalar(t) || reg->type != SCALAR_VALUE) in is_kfunc_arg_mem_size() 6225 const struct bpf_reg_state *reg, in btf_is_kfunc_arg_mem_size() argument 6233 if (!btf_type_is_scalar(t) || reg->type != SCALAR_VALUE) in btf_is_kfunc_arg_mem_size() 6304 struct bpf_reg_state *reg = ®s[regno]; in btf_check_func_arg_match() local 6315 if (btf_is_kfunc_arg_mem_size(btf, &args[i], reg, in btf_check_func_arg_match() 6319 } else if (btf_is_kfunc_arg_mem_size(btf, &args[i], reg, in btf_check_func_arg_match() 6329 if (!tnum_is_const(reg->var_off)) { in btf_check_func_arg_match() 6334 kfunc_meta->r0_size = reg->var_off.value; in btf_check_func_arg_match() 6341 if (reg->type == SCALAR_VALUE) in btf_check_func_arg_match() [all …]
|
D | bpf_struct_ops.c | 499 err = st_ops->reg(kdata); in bpf_struct_ops_map_update_elem()
|
/kernel/trace/ |
D | trace_event_perf.c | 129 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()
|
D | trace_events_trigger.c | 937 return cmd_ops->reg(glob, trigger_data, file); in event_trigger_register() 1408 .reg = register_trigger, 1419 .reg = register_trigger, 1497 .reg = register_snapshot_trigger, 1593 .reg = register_trigger, 1924 .reg = event_enable_register_trigger, 1934 .reg = event_enable_register_trigger,
|
D | trace_events.c | 652 call->class->reg(call, TRACE_REG_UNREGISTER, file); in __ftrace_event_enable_disable() 698 ret = call->class->reg(call, TRACE_REG_REGISTER, file); in __ftrace_event_enable_disable() 1031 if (!name || !call->class || !call->class->reg) in __ftrace_set_clr_event_nolock() 1223 if (call->class && call->class->reg && in t_next() 1453 !trace_event_name(call) || !call->class || !call->class->reg) in system_enable_read() 2441 if (call->class->reg && !(call->flags & TRACE_EVENT_FL_IGNORE_ENABLE)) in event_create_dir() 2446 if (call->event.type && call->class->reg) in event_create_dir() 2482 if (call->event.type && call->class->reg) in event_create_dir() 3077 if (!file || !file->event_call->class->reg || in find_event_file()
|
D | trace_events_user.c | 1333 user->class.reg = user_event_reg; in user_event_parse() 1586 struct user_reg reg; in user_events_ioctl_reg() local 1591 ret = user_reg_get(ureg, ®); in user_events_ioctl_reg() 1596 name = strndup_user((const char __user *)(uintptr_t)reg.name_args, in user_events_ioctl_reg()
|
D | trace_export.c | 167 .reg = regfn, \
|
D | trace_syscalls.c | 486 .reg = syscall_enter_register, 494 .reg = syscall_exit_register,
|
D | trace_eprobe.c | 616 .reg = eprobe_trigger_reg_func, 867 call->class->reg = eprobe_register; in init_trace_eprobe_call()
|
D | trace.h | 1779 int (*reg)(char *glob, member
|
D | trace_uprobe.c | 1566 call->class->reg = trace_uprobe_register; in init_trace_event_call()
|
D | trace_kprobe.c | 1792 call->class->reg = kprobe_register; in init_trace_event_call()
|
D | trace_events_synth.c | 907 call->class->reg = trace_event_reg; in register_synth_event()
|
D | trace_events_hist.c | 6606 .reg = hist_register_trigger, 6721 .reg = event_enable_register_trigger, 6732 .reg = event_enable_register_trigger,
|