Lines Matching refs:bpf_regs
122 struct bpf_regs {
135 static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1];
136 static struct bpf_regs bpf_curr;
438 static void bpf_dump_curr(struct bpf_regs *r, struct sock_filter *f)
577 memset(bpf_regs, 0, sizeof(bpf_regs));
583 memcpy(&bpf_regs[bpf_regs_len++], &bpf_curr, sizeof(bpf_curr));
594 memcpy(&bpf_curr, &bpf_regs[index], sizeof(bpf_curr));
626 static void set_return(struct bpf_regs *r)
632 static void bpf_single_step(struct bpf_regs *r, struct sock_filter *f,
854 static bool bpf_handle_breakpoint(struct bpf_regs *r, struct sock_filter *f,