Lines Matching refs:regs
283 BPF_CALL_3(bpf_get_stackid, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_3() argument
300 trace = get_perf_callchain(regs, 0, kernel, user, max_depth, in BPF_CALL_3()
342 return bpf_get_stackid((unsigned long)(ctx->regs), in BPF_CALL_3()
388 static long __bpf_get_stack(struct pt_regs *regs, struct task_struct *task, in __bpf_get_stack() argument
414 if (task && user && !user_mode(regs)) in __bpf_get_stack()
435 trace = get_perf_callchain(regs, 0, kernel, user, max_depth, in __bpf_get_stack()
464 BPF_CALL_4(bpf_get_stack, struct pt_regs *, regs, void *, buf, u32, size, in BPF_CALL_4() argument
467 return __bpf_get_stack(regs, NULL, NULL, buf, size, flags); in BPF_CALL_4()
483 struct pt_regs *regs; in BPF_CALL_4() local
489 regs = task_pt_regs(task); in BPF_CALL_4()
490 if (regs) in BPF_CALL_4()
491 res = __bpf_get_stack(regs, task, NULL, buf, size, flags); in BPF_CALL_4()
511 struct pt_regs *regs = (struct pt_regs *)(ctx->regs); in BPF_CALL_4() local
519 return __bpf_get_stack(regs, NULL, NULL, buf, size, flags); in BPF_CALL_4()
539 err = __bpf_get_stack(regs, NULL, trace, buf, size, flags); in BPF_CALL_4()
551 err = __bpf_get_stack(regs, NULL, trace, buf, size, flags); in BPF_CALL_4()