Lines Matching refs:args

399 #define ___bpf_ctx_cast2(x, args...)  ___bpf_ctx_cast1(args), (void *)ctx[1]  argument
400 #define ___bpf_ctx_cast3(x, args...) ___bpf_ctx_cast2(args), (void *)ctx[2] argument
401 #define ___bpf_ctx_cast4(x, args...) ___bpf_ctx_cast3(args), (void *)ctx[3] argument
402 #define ___bpf_ctx_cast5(x, args...) ___bpf_ctx_cast4(args), (void *)ctx[4] argument
403 #define ___bpf_ctx_cast6(x, args...) ___bpf_ctx_cast5(args), (void *)ctx[5] argument
404 #define ___bpf_ctx_cast7(x, args...) ___bpf_ctx_cast6(args), (void *)ctx[6] argument
405 #define ___bpf_ctx_cast8(x, args...) ___bpf_ctx_cast7(args), (void *)ctx[7] argument
406 #define ___bpf_ctx_cast9(x, args...) ___bpf_ctx_cast8(args), (void *)ctx[8] argument
407 #define ___bpf_ctx_cast10(x, args...) ___bpf_ctx_cast9(args), (void *)ctx[9] argument
408 #define ___bpf_ctx_cast11(x, args...) ___bpf_ctx_cast10(args), (void *)ctx[10] argument
409 #define ___bpf_ctx_cast12(x, args...) ___bpf_ctx_cast11(args), (void *)ctx[11] argument
410 #define ___bpf_ctx_cast(args...) ___bpf_apply(___bpf_ctx_cast, ___bpf_narg(args))(args) argument
427 #define BPF_PROG(name, args...) \ argument
430 ____##name(unsigned long long *ctx, ##args); \
435 return ____##name(___bpf_ctx_cast(args)); \
439 ____##name(unsigned long long *ctx, ##args)
461 #define ___bpf_reg_cnt2(t, x, args...) (___bpf_reg_cnt1(args) + ___bpf_treg_cnt(t)) argument
462 #define ___bpf_reg_cnt3(t, x, args...) (___bpf_reg_cnt2(args) + ___bpf_treg_cnt(t)) argument
463 #define ___bpf_reg_cnt4(t, x, args...) (___bpf_reg_cnt3(args) + ___bpf_treg_cnt(t)) argument
464 #define ___bpf_reg_cnt5(t, x, args...) (___bpf_reg_cnt4(args) + ___bpf_treg_cnt(t)) argument
465 #define ___bpf_reg_cnt6(t, x, args...) (___bpf_reg_cnt5(args) + ___bpf_treg_cnt(t)) argument
466 #define ___bpf_reg_cnt7(t, x, args...) (___bpf_reg_cnt6(args) + ___bpf_treg_cnt(t)) argument
467 #define ___bpf_reg_cnt8(t, x, args...) (___bpf_reg_cnt7(args) + ___bpf_treg_cnt(t)) argument
468 #define ___bpf_reg_cnt9(t, x, args...) (___bpf_reg_cnt8(args) + ___bpf_treg_cnt(t)) argument
469 #define ___bpf_reg_cnt10(t, x, args...) (___bpf_reg_cnt9(args) + ___bpf_treg_cnt(t)) argument
470 #define ___bpf_reg_cnt11(t, x, args...) (___bpf_reg_cnt10(args) + ___bpf_treg_cnt(t)) argument
471 #define ___bpf_reg_cnt12(t, x, args...) (___bpf_reg_cnt11(args) + ___bpf_treg_cnt(t)) argument
472 #define ___bpf_reg_cnt(args...) ___bpf_apply(___bpf_reg_cnt, ___bpf_narg2(args))(args) argument
482 #define ___bpf_ctx_arg0(n, args...) argument
484 …efine ___bpf_ctx_arg2(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt2(t, x, args)) … argument
485 …efine ___bpf_ctx_arg3(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt3(t, x, args)) … argument
486 …efine ___bpf_ctx_arg4(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt4(t, x, args)) … argument
487 …efine ___bpf_ctx_arg5(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt5(t, x, args)) … argument
488 …efine ___bpf_ctx_arg6(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt6(t, x, args)) … argument
489 …efine ___bpf_ctx_arg7(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt7(t, x, args)) … argument
490 …efine ___bpf_ctx_arg8(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt8(t, x, args)) … argument
491 …efine ___bpf_ctx_arg9(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt9(t, x, args)) … argument
492 …fine ___bpf_ctx_arg10(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt10(t, x, args))… argument
493 …ine ___bpf_ctx_arg11(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt11(t, x, args)) … argument
494 …ine ___bpf_ctx_arg12(n, t, x, args...) , ___bpf_union_arg(t, x, n - ___bpf_reg_cnt12(t, x, args)) … argument
495 #define ___bpf_ctx_arg(args...) ___bpf_apply(___bpf_ctx_arg, ___bpf_narg2(args))(___bpf_reg_cnt(arg… argument
499 #define ___bpf_ctx_decl2(t, x, args...) , t x ___bpf_ctx_decl1(args) argument
500 #define ___bpf_ctx_decl3(t, x, args...) , t x ___bpf_ctx_decl2(args) argument
501 #define ___bpf_ctx_decl4(t, x, args...) , t x ___bpf_ctx_decl3(args) argument
502 #define ___bpf_ctx_decl5(t, x, args...) , t x ___bpf_ctx_decl4(args) argument
503 #define ___bpf_ctx_decl6(t, x, args...) , t x ___bpf_ctx_decl5(args) argument
504 #define ___bpf_ctx_decl7(t, x, args...) , t x ___bpf_ctx_decl6(args) argument
505 #define ___bpf_ctx_decl8(t, x, args...) , t x ___bpf_ctx_decl7(args) argument
506 #define ___bpf_ctx_decl9(t, x, args...) , t x ___bpf_ctx_decl8(args) argument
507 #define ___bpf_ctx_decl10(t, x, args...) , t x ___bpf_ctx_decl9(args) argument
508 #define ___bpf_ctx_decl11(t, x, args...) , t x ___bpf_ctx_decl10(args) argument
509 #define ___bpf_ctx_decl12(t, x, args...) , t x ___bpf_ctx_decl11(args) argument
510 #define ___bpf_ctx_decl(args...) ___bpf_apply(___bpf_ctx_decl, ___bpf_narg2(args))(args) argument
537 #define BPF_PROG2(name, args...) \ argument
540 ____##name(unsigned long long *ctx ___bpf_ctx_decl(args)); \
543 return ____##name(ctx ___bpf_ctx_arg(args)); \
546 ____##name(unsigned long long *ctx ___bpf_ctx_decl(args))
552 #define ___bpf_kprobe_args2(x, args...) ___bpf_kprobe_args1(args), (void *)PT_REGS_PARM2(ctx) argument
553 #define ___bpf_kprobe_args3(x, args...) ___bpf_kprobe_args2(args), (void *)PT_REGS_PARM3(ctx) argument
554 #define ___bpf_kprobe_args4(x, args...) ___bpf_kprobe_args3(args), (void *)PT_REGS_PARM4(ctx) argument
555 #define ___bpf_kprobe_args5(x, args...) ___bpf_kprobe_args4(args), (void *)PT_REGS_PARM5(ctx) argument
556 #define ___bpf_kprobe_args(args...) ___bpf_apply(___bpf_kprobe_args, ___bpf_narg(args))(args) argument
568 #define BPF_KPROBE(name, args...) \ argument
571 ____##name(struct pt_regs *ctx, ##args); \
576 return ____##name(___bpf_kprobe_args(args)); \
580 ____##name(struct pt_regs *ctx, ##args)
584 #define ___bpf_kretprobe_args(args...) ___bpf_apply(___bpf_kretprobe_args, ___bpf_narg(args))(args) argument
592 #define BPF_KRETPROBE(name, args...) \ argument
595 ____##name(struct pt_regs *ctx, ##args); \
600 return ____##name(___bpf_kretprobe_args(args)); \
603 static __always_inline typeof(name(0)) ____##name(struct pt_regs *ctx, ##args)
608 #define ___bpf_syscall_args2(x, args...) ___bpf_syscall_args1(args), (void *)PT_REGS_PARM2_SYSCALL(… argument
609 #define ___bpf_syscall_args3(x, args...) ___bpf_syscall_args2(args), (void *)PT_REGS_PARM3_SYSCALL(… argument
610 #define ___bpf_syscall_args4(x, args...) ___bpf_syscall_args3(args), (void *)PT_REGS_PARM4_SYSCALL(… argument
611 #define ___bpf_syscall_args5(x, args...) ___bpf_syscall_args4(args), (void *)PT_REGS_PARM5_SYSCALL(… argument
612 #define ___bpf_syscall_args(args...) ___bpf_apply(___bpf_syscall_args, ___bpf_narg(args))(args) argument
617 #define ___bpf_syswrap_args2(x, args...) ___bpf_syswrap_args1(args), (void *)PT_REGS_PARM2_CORE_SYS… argument
618 #define ___bpf_syswrap_args3(x, args...) ___bpf_syswrap_args2(args), (void *)PT_REGS_PARM3_CORE_SYS… argument
619 #define ___bpf_syswrap_args4(x, args...) ___bpf_syswrap_args3(args), (void *)PT_REGS_PARM4_CORE_SYS… argument
620 #define ___bpf_syswrap_args5(x, args...) ___bpf_syswrap_args4(args), (void *)PT_REGS_PARM5_CORE_SYS… argument
621 #define ___bpf_syswrap_args(args...) ___bpf_apply(___bpf_syswrap_args, ___bpf_narg(args))(args) argument
647 #define BPF_KSYSCALL(name, args...) \ argument
651 ____##name(struct pt_regs *ctx, ##args); \
660 return ____##name(___bpf_syswrap_args(args)); \
662 return ____##name(___bpf_syscall_args(args)); \
666 ____##name(struct pt_regs *ctx, ##args)