Lines Matching refs:Pc
128 uint16_t Pc; member
442 rl_printf("pc: [%u]\n", r->Pc); in bpf_dump_curr()
446 bpf_disasm(*f, r->Pc); in bpf_dump_curr()
450 bpf_disasm(*(f + f->jt + 1), r->Pc + f->jt + 1); in bpf_dump_curr()
452 bpf_disasm(*(f + f->jf + 1), r->Pc + f->jf + 1); in bpf_dump_curr()
731 r->Pc += K; in bpf_single_step()
734 r->Pc += r->A > r->X ? f->jt : f->jf; in bpf_single_step()
737 r->Pc += r->A > K ? f->jt : f->jf; in bpf_single_step()
740 r->Pc += r->A >= r->X ? f->jt : f->jf; in bpf_single_step()
743 r->Pc += r->A >= K ? f->jt : f->jf; in bpf_single_step()
746 r->Pc += r->A == r->X ? f->jt : f->jf; in bpf_single_step()
749 r->Pc += r->A == K ? f->jt : f->jf; in bpf_single_step()
752 r->Pc += r->A & r->X ? f->jt : f->jf; in bpf_single_step()
755 r->Pc += r->A & K ? f->jt : f->jf; in bpf_single_step()
859 bpf_dump_curr(r, &f[r->Pc]); in bpf_handle_breakpoint()
874 if (bpf_pc_has_breakpoint(bpf_curr.Pc)) 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()
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()