Lines Matching refs:x

69 #define PT_REGS_PARM1(x) ((x)->di)  argument
70 #define PT_REGS_PARM2(x) ((x)->si) argument
71 #define PT_REGS_PARM3(x) ((x)->dx) argument
72 #define PT_REGS_PARM4(x) ((x)->cx) argument
73 #define PT_REGS_PARM5(x) ((x)->r8) argument
74 #define PT_REGS_RET(x) ((x)->sp) argument
75 #define PT_REGS_FP(x) ((x)->bp) argument
76 #define PT_REGS_RC(x) ((x)->ax) argument
77 #define PT_REGS_SP(x) ((x)->sp) argument
78 #define PT_REGS_IP(x) ((x)->ip) argument
80 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), di) argument
81 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), si) argument
82 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), dx) argument
83 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((x), cx) argument
84 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((x), r8) argument
85 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((x), sp) argument
86 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((x), bp) argument
87 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), ax) argument
88 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), sp) argument
89 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), ip) argument
95 #define PT_REGS_PARM1(x) ((x)->eax) argument
96 #define PT_REGS_PARM2(x) ((x)->edx) argument
97 #define PT_REGS_PARM3(x) ((x)->ecx) argument
98 #define PT_REGS_PARM4(x) 0 argument
99 #define PT_REGS_PARM5(x) 0 argument
100 #define PT_REGS_RET(x) ((x)->esp) argument
101 #define PT_REGS_FP(x) ((x)->ebp) argument
102 #define PT_REGS_RC(x) ((x)->eax) argument
103 #define PT_REGS_SP(x) ((x)->esp) argument
104 #define PT_REGS_IP(x) ((x)->eip) argument
106 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), eax) argument
107 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), edx) argument
108 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), ecx) argument
109 #define PT_REGS_PARM4_CORE(x) 0 argument
110 #define PT_REGS_PARM5_CORE(x) 0 argument
111 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((x), esp) argument
112 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((x), ebp) argument
113 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), eax) argument
114 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), esp) argument
115 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), eip) argument
119 #define PT_REGS_PARM1(x) ((x)->rdi) argument
120 #define PT_REGS_PARM2(x) ((x)->rsi) argument
121 #define PT_REGS_PARM3(x) ((x)->rdx) argument
122 #define PT_REGS_PARM4(x) ((x)->rcx) argument
123 #define PT_REGS_PARM5(x) ((x)->r8) argument
124 #define PT_REGS_RET(x) ((x)->rsp) argument
125 #define PT_REGS_FP(x) ((x)->rbp) argument
126 #define PT_REGS_RC(x) ((x)->rax) argument
127 #define PT_REGS_SP(x) ((x)->rsp) argument
128 #define PT_REGS_IP(x) ((x)->rip) argument
130 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), rdi) argument
131 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), rsi) argument
132 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), rdx) argument
133 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((x), rcx) argument
134 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((x), r8) argument
135 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((x), rsp) argument
136 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((x), rbp) argument
137 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), rax) argument
138 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), rsp) argument
139 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), rip) argument
149 #define PT_REGS_PARM1(x) (((PT_REGS_S390 *)(x))->gprs[2]) argument
150 #define PT_REGS_PARM2(x) (((PT_REGS_S390 *)(x))->gprs[3]) argument
151 #define PT_REGS_PARM3(x) (((PT_REGS_S390 *)(x))->gprs[4]) argument
152 #define PT_REGS_PARM4(x) (((PT_REGS_S390 *)(x))->gprs[5]) argument
153 #define PT_REGS_PARM5(x) (((PT_REGS_S390 *)(x))->gprs[6]) argument
154 #define PT_REGS_RET(x) (((PT_REGS_S390 *)(x))->gprs[14]) argument
156 #define PT_REGS_FP(x) (((PT_REGS_S390 *)(x))->gprs[11]) argument
157 #define PT_REGS_RC(x) (((PT_REGS_S390 *)(x))->gprs[2]) argument
158 #define PT_REGS_SP(x) (((PT_REGS_S390 *)(x))->gprs[15]) argument
159 #define PT_REGS_IP(x) (((PT_REGS_S390 *)(x))->psw.addr) argument
161 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[2]) argument
162 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[3]) argument
163 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[4]) argument
164 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[5]) argument
165 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[6]) argument
166 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[14]) argument
167 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[11]) argument
168 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[2]) argument
169 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), gprs[15]) argument
170 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((PT_REGS_S390 *)(x), psw.addr) argument
174 #define PT_REGS_PARM1(x) ((x)->uregs[0]) argument
175 #define PT_REGS_PARM2(x) ((x)->uregs[1]) argument
176 #define PT_REGS_PARM3(x) ((x)->uregs[2]) argument
177 #define PT_REGS_PARM4(x) ((x)->uregs[3]) argument
178 #define PT_REGS_PARM5(x) ((x)->uregs[4]) argument
179 #define PT_REGS_RET(x) ((x)->uregs[14]) argument
180 #define PT_REGS_FP(x) ((x)->uregs[11]) /* Works only with CONFIG_FRAME_POINTER */ argument
181 #define PT_REGS_RC(x) ((x)->uregs[0]) argument
182 #define PT_REGS_SP(x) ((x)->uregs[13]) argument
183 #define PT_REGS_IP(x) ((x)->uregs[12]) argument
185 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), uregs[0]) argument
186 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), uregs[1]) argument
187 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), uregs[2]) argument
188 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((x), uregs[3]) argument
189 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((x), uregs[4]) argument
190 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((x), uregs[14]) argument
191 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((x), uregs[11]) argument
192 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), uregs[0]) argument
193 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), uregs[13]) argument
194 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), uregs[12]) argument
201 #define PT_REGS_PARM1(x) (((PT_REGS_ARM64 *)(x))->regs[0]) argument
202 #define PT_REGS_PARM2(x) (((PT_REGS_ARM64 *)(x))->regs[1]) argument
203 #define PT_REGS_PARM3(x) (((PT_REGS_ARM64 *)(x))->regs[2]) argument
204 #define PT_REGS_PARM4(x) (((PT_REGS_ARM64 *)(x))->regs[3]) argument
205 #define PT_REGS_PARM5(x) (((PT_REGS_ARM64 *)(x))->regs[4]) argument
206 #define PT_REGS_RET(x) (((PT_REGS_ARM64 *)(x))->regs[30]) argument
208 #define PT_REGS_FP(x) (((PT_REGS_ARM64 *)(x))->regs[29]) argument
209 #define PT_REGS_RC(x) (((PT_REGS_ARM64 *)(x))->regs[0]) argument
210 #define PT_REGS_SP(x) (((PT_REGS_ARM64 *)(x))->sp) argument
211 #define PT_REGS_IP(x) (((PT_REGS_ARM64 *)(x))->pc) argument
213 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[0]) argument
214 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[1]) argument
215 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[2]) argument
216 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[3]) argument
217 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[4]) argument
218 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[30]) argument
219 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[29]) argument
220 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), regs[0]) argument
221 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), sp) argument
222 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((PT_REGS_ARM64 *)(x), pc) argument
226 #define PT_REGS_PARM1(x) ((x)->regs[4]) argument
227 #define PT_REGS_PARM2(x) ((x)->regs[5]) argument
228 #define PT_REGS_PARM3(x) ((x)->regs[6]) argument
229 #define PT_REGS_PARM4(x) ((x)->regs[7]) argument
230 #define PT_REGS_PARM5(x) ((x)->regs[8]) argument
231 #define PT_REGS_RET(x) ((x)->regs[31]) argument
232 #define PT_REGS_FP(x) ((x)->regs[30]) /* Works only with CONFIG_FRAME_POINTER */ argument
233 #define PT_REGS_RC(x) ((x)->regs[2]) argument
234 #define PT_REGS_SP(x) ((x)->regs[29]) argument
235 #define PT_REGS_IP(x) ((x)->cp0_epc) argument
237 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), regs[4]) argument
238 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), regs[5]) argument
239 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), regs[6]) argument
240 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((x), regs[7]) argument
241 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((x), regs[8]) argument
242 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((x), regs[31]) argument
243 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((x), regs[30]) argument
244 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), regs[2]) argument
245 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), regs[29]) argument
246 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), cp0_epc) argument
250 #define PT_REGS_PARM1(x) ((x)->gpr[3]) argument
251 #define PT_REGS_PARM2(x) ((x)->gpr[4]) argument
252 #define PT_REGS_PARM3(x) ((x)->gpr[5]) argument
253 #define PT_REGS_PARM4(x) ((x)->gpr[6]) argument
254 #define PT_REGS_PARM5(x) ((x)->gpr[7]) argument
255 #define PT_REGS_RC(x) ((x)->gpr[3]) argument
256 #define PT_REGS_SP(x) ((x)->sp) argument
257 #define PT_REGS_IP(x) ((x)->nip) argument
259 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), gpr[3]) argument
260 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), gpr[4]) argument
261 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), gpr[5]) argument
262 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((x), gpr[6]) argument
263 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((x), gpr[7]) argument
264 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), gpr[3]) argument
265 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), sp) argument
266 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), nip) argument
270 #define PT_REGS_PARM1(x) ((x)->u_regs[UREG_I0]) argument
271 #define PT_REGS_PARM2(x) ((x)->u_regs[UREG_I1]) argument
272 #define PT_REGS_PARM3(x) ((x)->u_regs[UREG_I2]) argument
273 #define PT_REGS_PARM4(x) ((x)->u_regs[UREG_I3]) argument
274 #define PT_REGS_PARM5(x) ((x)->u_regs[UREG_I4]) argument
275 #define PT_REGS_RET(x) ((x)->u_regs[UREG_I7]) argument
276 #define PT_REGS_RC(x) ((x)->u_regs[UREG_I0]) argument
277 #define PT_REGS_SP(x) ((x)->u_regs[UREG_FP]) argument
279 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I0]) argument
280 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I1]) argument
281 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I2]) argument
282 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I3]) argument
283 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I4]) argument
284 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I7]) argument
285 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((x), u_regs[UREG_I0]) argument
286 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((x), u_regs[UREG_FP]) argument
290 #define PT_REGS_IP(x) ((x)->tpc) argument
291 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), tpc) argument
293 #define PT_REGS_IP(x) ((x)->pc) argument
294 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((x), pc) argument
301 #define PT_REGS_PARM1(x) (((PT_REGS_RV *)(x))->a0) argument
302 #define PT_REGS_PARM2(x) (((PT_REGS_RV *)(x))->a1) argument
303 #define PT_REGS_PARM3(x) (((PT_REGS_RV *)(x))->a2) argument
304 #define PT_REGS_PARM4(x) (((PT_REGS_RV *)(x))->a3) argument
305 #define PT_REGS_PARM5(x) (((PT_REGS_RV *)(x))->a4) argument
306 #define PT_REGS_RET(x) (((PT_REGS_RV *)(x))->ra) argument
307 #define PT_REGS_FP(x) (((PT_REGS_RV *)(x))->s5) argument
308 #define PT_REGS_RC(x) (((PT_REGS_RV *)(x))->a5) argument
309 #define PT_REGS_SP(x) (((PT_REGS_RV *)(x))->sp) argument
310 #define PT_REGS_IP(x) (((PT_REGS_RV *)(x))->epc) argument
312 #define PT_REGS_PARM1_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), a0) argument
313 #define PT_REGS_PARM2_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), a1) argument
314 #define PT_REGS_PARM3_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), a2) argument
315 #define PT_REGS_PARM4_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), a3) argument
316 #define PT_REGS_PARM5_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), a4) argument
317 #define PT_REGS_RET_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), ra) argument
318 #define PT_REGS_FP_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), fp) argument
319 #define PT_REGS_RC_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), a5) argument
320 #define PT_REGS_SP_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), sp) argument
321 #define PT_REGS_IP_CORE(x) BPF_CORE_READ((PT_REGS_RV *)(x), epc) argument
341 #define PT_REGS_PARM1(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
342 #define PT_REGS_PARM2(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
343 #define PT_REGS_PARM3(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
344 #define PT_REGS_PARM4(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
345 #define PT_REGS_PARM5(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
346 #define PT_REGS_RET(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
347 #define PT_REGS_FP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
348 #define PT_REGS_RC(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
349 #define PT_REGS_SP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
350 #define PT_REGS_IP(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
352 #define PT_REGS_PARM1_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
353 #define PT_REGS_PARM2_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
354 #define PT_REGS_PARM3_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
355 #define PT_REGS_PARM4_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
356 #define PT_REGS_PARM5_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
357 #define PT_REGS_RET_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
358 #define PT_REGS_FP_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
359 #define PT_REGS_RC_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
360 #define PT_REGS_SP_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
361 #define PT_REGS_IP_CORE(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) argument
383 #define ___bpf_ctx_cast1(x) ___bpf_ctx_cast0(), (void *)ctx[0] argument
384 #define ___bpf_ctx_cast2(x, args...) ___bpf_ctx_cast1(args), (void *)ctx[1] argument
385 #define ___bpf_ctx_cast3(x, args...) ___bpf_ctx_cast2(args), (void *)ctx[2] argument
386 #define ___bpf_ctx_cast4(x, args...) ___bpf_ctx_cast3(args), (void *)ctx[3] argument
387 #define ___bpf_ctx_cast5(x, args...) ___bpf_ctx_cast4(args), (void *)ctx[4] argument
388 #define ___bpf_ctx_cast6(x, args...) ___bpf_ctx_cast5(args), (void *)ctx[5] argument
389 #define ___bpf_ctx_cast7(x, args...) ___bpf_ctx_cast6(args), (void *)ctx[6] argument
390 #define ___bpf_ctx_cast8(x, args...) ___bpf_ctx_cast7(args), (void *)ctx[7] argument
391 #define ___bpf_ctx_cast9(x, args...) ___bpf_ctx_cast8(args), (void *)ctx[8] argument
392 #define ___bpf_ctx_cast10(x, args...) ___bpf_ctx_cast9(args), (void *)ctx[9] argument
393 #define ___bpf_ctx_cast11(x, args...) ___bpf_ctx_cast10(args), (void *)ctx[10] argument
394 #define ___bpf_ctx_cast12(x, args...) ___bpf_ctx_cast11(args), (void *)ctx[11] argument
430 #define ___bpf_kprobe_args1(x) \ argument
432 #define ___bpf_kprobe_args2(x, args...) \ argument
434 #define ___bpf_kprobe_args3(x, args...) \ argument
436 #define ___bpf_kprobe_args4(x, args...) \ argument
438 #define ___bpf_kprobe_args5(x, args...) \ argument
468 #define ___bpf_kretprobe_args1(x) \ argument