Home
last modified time | relevance | path

Searched refs:nest_level (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dbpf_trace.c671 int nest_level, err; in BPF_CALL_5() local
675 nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5()
677 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
682 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
737 int nest_level; in bpf_event_output() local
741 nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output()
743 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
747 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
748 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1795 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
[all …]
/kernel/bpf/
Dhelpers.c770 int nest_level; in try_get_buffers() local
773 nest_level = this_cpu_inc_return(bpf_bprintf_nest_level); in try_get_buffers()
774 if (WARN_ON_ONCE(nest_level > MAX_BPRINTF_NEST_LEVEL)) { in try_get_buffers()
779 *bufs = this_cpu_ptr(&bpf_bprintf_bufs[nest_level - 1]); in try_get_buffers()