Searched refs:bpf_regs (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/bpf/ |
D | bpf_dbg.c | 122 struct bpf_regs { struct 135 static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1]; variable 136 static struct bpf_regs bpf_curr; 438 static void bpf_dump_curr(struct bpf_regs *r, struct sock_filter *f) in bpf_dump_curr() 577 memset(bpf_regs, 0, sizeof(bpf_regs)); 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() 626 static void set_return(struct bpf_regs *r) in set_return() 632 static void bpf_single_step(struct bpf_regs *r, struct sock_filter *f, in bpf_single_step() 854 static bool bpf_handle_breakpoint(struct bpf_regs *r, struct sock_filter *f, in bpf_handle_breakpoint()
|