Lines Matching refs:name
331 * function arguments of specified type and name.
337 #define BPF_PROG(name, args...) \
338 name(unsigned long long *ctx); \
339 static __attribute__((always_inline)) typeof(name(0)) \
340 ____##name(unsigned long long *ctx, ##args); \
341 typeof(name(0)) name(unsigned long long *ctx) \
345 return ____##name(___bpf_ctx_cast(args)); \
348 static __attribute__((always_inline)) typeof(name(0)) \
349 ____##name(unsigned long long *ctx, ##args)
377 #define BPF_KPROBE(name, args...) \
378 name(struct pt_regs *ctx); \
379 static __attribute__((always_inline)) typeof(name(0)) \
380 ____##name(struct pt_regs *ctx, ##args); \
381 typeof(name(0)) name(struct pt_regs *ctx) \
385 return ____##name(___bpf_kprobe_args(args)); \
388 static __attribute__((always_inline)) typeof(name(0)) \
389 ____##name(struct pt_regs *ctx, ##args)
403 #define BPF_KRETPROBE(name, args...) \
404 name(struct pt_regs *ctx); \
405 static __attribute__((always_inline)) typeof(name(0)) \
406 ____##name(struct pt_regs *ctx, ##args); \
407 typeof(name(0)) name(struct pt_regs *ctx) \
411 return ____##name(___bpf_kretprobe_args(args)); \
414 static __always_inline typeof(name(0)) ____##name(struct pt_regs *ctx, ##args)