• Home
  • Raw
  • Download

Lines Matching refs:regs

133 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc)  in BPF_CALL_2()  argument
135 regs_set_return_value(regs, rc); in BPF_CALL_2()
136 override_function_with_return(regs); in BPF_CALL_2()
877 __bpf_perf_event_output(struct pt_regs *regs, struct bpf_map *map, in __bpf_perf_event_output() argument
903 return perf_event_output(event, sd, regs); in __bpf_perf_event_output()
916 BPF_CALL_5(bpf_perf_event_output, struct pt_regs *, regs, struct bpf_map *, map, in BPF_CALL_5() argument
945 err = __bpf_perf_event_output(regs, map, flags, sd); in BPF_CALL_5()
965 struct pt_regs regs[3]; member
988 struct pt_regs *regs; in bpf_event_output() local
1000 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1002 perf_fetch_caller_regs(regs); in bpf_event_output()
1006 ret = __bpf_perf_event_output(regs, map, flags, sd); in bpf_event_output()
1408 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_5() local
1415 return ____bpf_perf_event_output(regs, map, flags, data, size); in BPF_CALL_5()
1432 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_3() local
1439 return bpf_get_stackid((unsigned long) regs, (unsigned long) map, in BPF_CALL_3()
1455 struct pt_regs *regs = *(struct pt_regs **)tp_buff; in BPF_CALL_4() local
1457 return bpf_get_stack((unsigned long) regs, (unsigned long) buf, in BPF_CALL_4()
1598 struct pt_regs regs[3]; member
1607 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) { in get_bpf_raw_tp_regs()
1612 return &tp_regs->regs[nest_level - 1]; in get_bpf_raw_tp_regs()
1623 struct pt_regs *regs = get_bpf_raw_tp_regs(); in BPF_CALL_5() local
1626 if (IS_ERR(regs)) in BPF_CALL_5()
1627 return PTR_ERR(regs); in BPF_CALL_5()
1629 perf_fetch_caller_regs(regs); in BPF_CALL_5()
1630 ret = ____bpf_perf_event_output(regs, map, flags, data, size); in BPF_CALL_5()
1653 struct pt_regs *regs = get_bpf_raw_tp_regs(); in BPF_CALL_3() local
1656 if (IS_ERR(regs)) in BPF_CALL_3()
1657 return PTR_ERR(regs); in BPF_CALL_3()
1659 perf_fetch_caller_regs(regs); in BPF_CALL_3()
1661 ret = bpf_get_stackid((unsigned long) regs, (unsigned long) map, in BPF_CALL_3()
1679 struct pt_regs *regs = get_bpf_raw_tp_regs(); in BPF_CALL_4() local
1682 if (IS_ERR(regs)) in BPF_CALL_4()
1683 return PTR_ERR(regs); in BPF_CALL_4()
1685 perf_fetch_caller_regs(regs); in BPF_CALL_4()
1686 ret = bpf_get_stack((unsigned long) regs, (unsigned long) buf, in BPF_CALL_4()
1896 regs), si->dst_reg, si->src_reg, in pe_prog_convert_ctx_access()
1897 offsetof(struct bpf_perf_event_data_kern, regs)); in pe_prog_convert_ctx_access()