Home
last modified time | relevance | path

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

/kernel/trace/
Dbpf_trace.c612 int nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5() local
622 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
627 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
681 int nest_level; in bpf_event_output() local
685 nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output()
687 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
691 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
692 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1412 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
1414 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) { in get_bpf_raw_tp_regs()
[all …]
/kernel/bpf/
Dhelpers.c726 int nest_level; in try_get_fmt_tmp_buf() local
729 nest_level = this_cpu_inc_return(bpf_bprintf_nest_level); in try_get_fmt_tmp_buf()
730 if (WARN_ON_ONCE(nest_level > MAX_BPRINTF_NEST_LEVEL)) { in try_get_fmt_tmp_buf()
736 *tmp_buf = bufs->tmp_bufs[nest_level - 1]; in try_get_fmt_tmp_buf()