Lines Matching refs:proto
80 #define __BPF_DECLARE_TRACE(call, proto, args) \ argument
82 __bpf_trace_##call(void *__data, proto) \
89 #define DECLARE_EVENT_CLASS(call, proto, args, tstruct, assign, print) \ argument
90 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args))
97 #define __DEFINE_EVENT(template, call, proto, args, size) \ argument
102 typedef void (*btf_trace_##call)(void *__data, proto); \
118 #define __CHECK_WRITABLE_BUF_SIZE(call, proto, args, size) \ argument
125 FIRST(proto); \
130 #define DEFINE_EVENT_WRITABLE(template, call, proto, args, size) \ argument
131 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
132 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), size)
135 #define DEFINE_EVENT(template, call, proto, args) \ argument
136 __DEFINE_EVENT(template, call, PARAMS(proto), PARAMS(args), 0)
139 #define DEFINE_EVENT_PRINT(template, name, proto, args, print) \ argument
140 DEFINE_EVENT(template, name, PARAMS(proto), PARAMS(args))
143 #define DECLARE_TRACE(call, proto, args) \ argument
144 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
145 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), 0)
148 #define DECLARE_TRACE_WRITABLE(call, proto, args, size) \ argument
149 __CHECK_WRITABLE_BUF_SIZE(call, PARAMS(proto), PARAMS(args), size) \
150 __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args)) \
151 __DEFINE_EVENT(call, call, PARAMS(proto), PARAMS(args), size)