Lines Matching refs:args

637 #define ___bpf_ctx_cast2(x, args...)  ___bpf_ctx_cast1(args), (void *)ctx[1]  argument
638 #define ___bpf_ctx_cast3(x, args...) ___bpf_ctx_cast2(args), (void *)ctx[2] argument
639 #define ___bpf_ctx_cast4(x, args...) ___bpf_ctx_cast3(args), (void *)ctx[3] argument
640 #define ___bpf_ctx_cast5(x, args...) ___bpf_ctx_cast4(args), (void *)ctx[4] argument
641 #define ___bpf_ctx_cast6(x, args...) ___bpf_ctx_cast5(args), (void *)ctx[5] argument
642 #define ___bpf_ctx_cast7(x, args...) ___bpf_ctx_cast6(args), (void *)ctx[6] argument
643 #define ___bpf_ctx_cast8(x, args...) ___bpf_ctx_cast7(args), (void *)ctx[7] argument
644 #define ___bpf_ctx_cast9(x, args...) ___bpf_ctx_cast8(args), (void *)ctx[8] argument
645 #define ___bpf_ctx_cast10(x, args...) ___bpf_ctx_cast9(args), (void *)ctx[9] argument
646 #define ___bpf_ctx_cast11(x, args...) ___bpf_ctx_cast10(args), (void *)ctx[10] argument
647 #define ___bpf_ctx_cast12(x, args...) ___bpf_ctx_cast11(args), (void *)ctx[11] argument
648 #define ___bpf_ctx_cast(args...) ___bpf_apply(___bpf_ctx_cast, ___bpf_narg(args))(args) argument
665 #define BPF_PROG(name, args...) \ argument
668 ____##name(unsigned long long *ctx, ##args); \
673 return ____##name(___bpf_ctx_cast(args)); \
677 ____##name(unsigned long long *ctx, ##args)
699 #define ___bpf_reg_cnt2(t, x, args...) (___bpf_reg_cnt1(args) + ___bpf_treg_cnt(t)) argument
700 #define ___bpf_reg_cnt3(t, x, args...) (___bpf_reg_cnt2(args) + ___bpf_treg_cnt(t)) argument
701 #define ___bpf_reg_cnt4(t, x, args...) (___bpf_reg_cnt3(args) + ___bpf_treg_cnt(t)) argument
702 #define ___bpf_reg_cnt5(t, x, args...) (___bpf_reg_cnt4(args) + ___bpf_treg_cnt(t)) argument
703 #define ___bpf_reg_cnt6(t, x, args...) (___bpf_reg_cnt5(args) + ___bpf_treg_cnt(t)) argument
704 #define ___bpf_reg_cnt7(t, x, args...) (___bpf_reg_cnt6(args) + ___bpf_treg_cnt(t)) argument
705 #define ___bpf_reg_cnt8(t, x, args...) (___bpf_reg_cnt7(args) + ___bpf_treg_cnt(t)) argument
706 #define ___bpf_reg_cnt9(t, x, args...) (___bpf_reg_cnt8(args) + ___bpf_treg_cnt(t)) argument
707 #define ___bpf_reg_cnt10(t, x, args...) (___bpf_reg_cnt9(args) + ___bpf_treg_cnt(t)) argument
708 #define ___bpf_reg_cnt11(t, x, args...) (___bpf_reg_cnt10(args) + ___bpf_treg_cnt(t)) argument
709 #define ___bpf_reg_cnt12(t, x, args...) (___bpf_reg_cnt11(args) + ___bpf_treg_cnt(t)) argument
710 #define ___bpf_reg_cnt(args...) ___bpf_apply(___bpf_reg_cnt, ___bpf_narg2(args))(args) argument
720 #define ___bpf_ctx_arg0(n, args...) argument
722 …efine ___bpf_ctx_arg2(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt2(t, x, args)) … argument
723 …efine ___bpf_ctx_arg3(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt3(t, x, args)) … argument
724 …efine ___bpf_ctx_arg4(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt4(t, x, args)) … argument
725 …efine ___bpf_ctx_arg5(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt5(t, x, args)) … argument
726 …efine ___bpf_ctx_arg6(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt6(t, x, args)) … argument
727 …efine ___bpf_ctx_arg7(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt7(t, x, args)) … argument
728 …efine ___bpf_ctx_arg8(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt8(t, x, args)) … argument
729 …efine ___bpf_ctx_arg9(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt9(t, x, args)) … argument
730 …fine ___bpf_ctx_arg10(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt10(t, x, args))… argument
731 …ine ___bpf_ctx_arg11(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt11(t, x, args)) … argument
732 …ine ___bpf_ctx_arg12(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt12(t, x, args)) … argument
733 #define ___bpf_ctx_arg(args...) ___bpf_apply(___bpf_ctx_arg, ___bpf_narg2(args))(___bpf_reg_cnt(arg… argument
737 #define ___bpf_ctx_decl2(t, x, args...) , t x ___bpf_ctx_decl1(args) argument
738 #define ___bpf_ctx_decl3(t, x, args...) , t x ___bpf_ctx_decl2(args) argument
739 #define ___bpf_ctx_decl4(t, x, args...) , t x ___bpf_ctx_decl3(args) argument
740 #define ___bpf_ctx_decl5(t, x, args...) , t x ___bpf_ctx_decl4(args) argument
741 #define ___bpf_ctx_decl6(t, x, args...) , t x ___bpf_ctx_decl5(args) argument
742 #define ___bpf_ctx_decl7(t, x, args...) , t x ___bpf_ctx_decl6(args) argument
743 #define ___bpf_ctx_decl8(t, x, args...) , t x ___bpf_ctx_decl7(args) argument
744 #define ___bpf_ctx_decl9(t, x, args...) , t x ___bpf_ctx_decl8(args) argument
745 #define ___bpf_ctx_decl10(t, x, args...) , t x ___bpf_ctx_decl9(args) argument
746 #define ___bpf_ctx_decl11(t, x, args...) , t x ___bpf_ctx_decl10(args) argument
747 #define ___bpf_ctx_decl12(t, x, args...) , t x ___bpf_ctx_decl11(args) argument
748 #define ___bpf_ctx_decl(args...) ___bpf_apply(___bpf_ctx_decl, ___bpf_narg2(args))(args) argument
775 #define BPF_PROG2(name, args...) \ argument
778 ____##name(unsigned long long *ctx ___bpf_ctx_decl(args)); \
781 return ____##name(ctx ___bpf_ctx_arg(args)); \
784 ____##name(unsigned long long *ctx ___bpf_ctx_decl(args))
790 #define ___bpf_kprobe_args2(x, args...) ___bpf_kprobe_args1(args), (void *)PT_REGS_PARM2(ctx) argument
791 #define ___bpf_kprobe_args3(x, args...) ___bpf_kprobe_args2(args), (void *)PT_REGS_PARM3(ctx) argument
792 #define ___bpf_kprobe_args4(x, args...) ___bpf_kprobe_args3(args), (void *)PT_REGS_PARM4(ctx) argument
793 #define ___bpf_kprobe_args5(x, args...) ___bpf_kprobe_args4(args), (void *)PT_REGS_PARM5(ctx) argument
794 #define ___bpf_kprobe_args6(x, args...) ___bpf_kprobe_args5(args), (void *)PT_REGS_PARM6(ctx) argument
795 #define ___bpf_kprobe_args7(x, args...) ___bpf_kprobe_args6(args), (void *)PT_REGS_PARM7(ctx) argument
796 #define ___bpf_kprobe_args8(x, args...) ___bpf_kprobe_args7(args), (void *)PT_REGS_PARM8(ctx) argument
797 #define ___bpf_kprobe_args(args...) ___bpf_apply(___bpf_kprobe_args, ___bpf_narg(args))(args) argument
809 #define BPF_KPROBE(name, args...) \ argument
812 ____##name(struct pt_regs *ctx, ##args); \
817 return ____##name(___bpf_kprobe_args(args)); \
821 ____##name(struct pt_regs *ctx, ##args)
825 #define ___bpf_kretprobe_args(args...) ___bpf_apply(___bpf_kretprobe_args, ___bpf_narg(args))(args) argument
833 #define BPF_KRETPROBE(name, args...) \ argument
836 ____##name(struct pt_regs *ctx, ##args); \
841 return ____##name(___bpf_kretprobe_args(args)); \
844 static __always_inline typeof(name(0)) ____##name(struct pt_regs *ctx, ##args)
849 #define ___bpf_syscall_args2(x, args...) ___bpf_syscall_args1(args), (void *)PT_REGS_PARM2_SYSCALL(… argument
850 #define ___bpf_syscall_args3(x, args...) ___bpf_syscall_args2(args), (void *)PT_REGS_PARM3_SYSCALL(… argument
851 #define ___bpf_syscall_args4(x, args...) ___bpf_syscall_args3(args), (void *)PT_REGS_PARM4_SYSCALL(… argument
852 #define ___bpf_syscall_args5(x, args...) ___bpf_syscall_args4(args), (void *)PT_REGS_PARM5_SYSCALL(… argument
853 #define ___bpf_syscall_args6(x, args...) ___bpf_syscall_args5(args), (void *)PT_REGS_PARM6_SYSCALL(… argument
854 #define ___bpf_syscall_args7(x, args...) ___bpf_syscall_args6(args), (void *)PT_REGS_PARM7_SYSCALL(… argument
855 #define ___bpf_syscall_args(args...) ___bpf_apply(___bpf_syscall_args, ___bpf_narg(args))(args) argument
860 #define ___bpf_syswrap_args2(x, args...) ___bpf_syswrap_args1(args), (void *)PT_REGS_PARM2_CORE_SYS… argument
861 #define ___bpf_syswrap_args3(x, args...) ___bpf_syswrap_args2(args), (void *)PT_REGS_PARM3_CORE_SYS… argument
862 #define ___bpf_syswrap_args4(x, args...) ___bpf_syswrap_args3(args), (void *)PT_REGS_PARM4_CORE_SYS… argument
863 #define ___bpf_syswrap_args5(x, args...) ___bpf_syswrap_args4(args), (void *)PT_REGS_PARM5_CORE_SYS… argument
864 #define ___bpf_syswrap_args6(x, args...) ___bpf_syswrap_args5(args), (void *)PT_REGS_PARM6_CORE_SYS… argument
865 #define ___bpf_syswrap_args7(x, args...) ___bpf_syswrap_args6(args), (void *)PT_REGS_PARM7_CORE_SYS… argument
866 #define ___bpf_syswrap_args(args...) ___bpf_apply(___bpf_syswrap_args, ___bpf_narg(args))(args) argument
892 #define BPF_KSYSCALL(name, args...) \ argument
896 ____##name(struct pt_regs *ctx, ##args); \
905 return ____##name(___bpf_syswrap_args(args)); \
907 return ____##name(___bpf_syscall_args(args)); \
911 ____##name(struct pt_regs *ctx, ##args)
919 #define BPF_UPROBE(name, args...) BPF_KPROBE(name, ##args) argument
920 #define BPF_URETPROBE(name, args...) BPF_KRETPROBE(name, ##args) argument