Lines Matching refs:bpf_curr
136 static struct bpf_regs bpf_curr; variable
578 memset(&bpf_curr, 0, sizeof(bpf_curr)); in bpf_reset()
583 memcpy(&bpf_regs[bpf_regs_len++], &bpf_curr, sizeof(bpf_curr)); in bpf_safe_regs()
594 memcpy(&bpf_curr, &bpf_regs[index], sizeof(bpf_curr)); in bpf_restore_regs()
871 while (bpf_curr.Rs == false && stop == false) { in bpf_run_all()
874 if (bpf_pc_has_breakpoint(bpf_curr.Pc)) in bpf_run_all()
875 stop = bpf_handle_breakpoint(&bpf_curr, f, pkt, in bpf_run_all()
878 bpf_single_step(&bpf_curr, &f[bpf_curr.Pc], pkt, pkt_caplen, in bpf_run_all()
880 bpf_curr.Pc++; in bpf_run_all()
883 return stop ? -1 : bpf_curr.R; in bpf_run_all()
893 while (!bpf_curr.Rs && !stop) { in bpf_run_stepping()
897 stop = bpf_handle_breakpoint(&bpf_curr, f, pkt, in bpf_run_stepping()
900 bpf_single_step(&bpf_curr, &f[bpf_curr.Pc], pkt, pkt_caplen, in bpf_run_stepping()
902 bpf_curr.Pc++; in bpf_run_stepping()
905 return stop ? -1 : bpf_curr.R; in bpf_run_stepping()
1114 if (ret >= 0 || bpf_curr.Rs) { in cmd_step()