Lines Matching refs:dst
45 #define __CORE_BITFIELD_PROBE_READ(dst, src, fld) \ argument
47 (void *)dst, \
55 #define __CORE_BITFIELD_PROBE_READ(dst, src, fld) \ argument
57 (void *)dst + (8 - __CORE_RELO(src, fld, BYTE_SIZE)), \
246 #define bpf_core_read(dst, sz, src) \ argument
247 bpf_probe_read_kernel(dst, sz, (const void *)__builtin_preserve_access_index(src))
250 #define bpf_core_read_user(dst, sz, src) \ argument
251 bpf_probe_read_user(dst, sz, (const void *)__builtin_preserve_access_index(src))
257 #define bpf_core_read_str(dst, sz, src) \ argument
258 bpf_probe_read_kernel_str(dst, sz, (const void *)__builtin_preserve_access_index(src))
261 #define bpf_core_read_user_str(dst, sz, src) \ argument
262 bpf_probe_read_user_str(dst, sz, (const void *)__builtin_preserve_access_index(src))
317 #define ___read(read_fn, dst, src_type, src, accessor) \ argument
318 read_fn((void *)(dst), sizeof(*(dst)), &((src_type)(src))->accessor)
336 #define ___core_read0(fn, fn_ptr, dst, src, a) \ argument
337 ___read(fn, dst, ___type(src), src, a);
338 #define ___core_readN(fn, fn_ptr, dst, src, ...) \ argument
340 ___read(fn, dst, ___type(src, ___nolast(__VA_ARGS__)), __t, \
342 #define ___core_read(fn, fn_ptr, dst, src, a, ...) \ argument
343 ___apply(___core_read, ___empty(__VA_ARGS__))(fn, fn_ptr, dst, \
351 #define BPF_CORE_READ_INTO(dst, src, a, ...) ({ \ argument
353 dst, (src), a, ##__VA_ARGS__) \
361 #define BPF_CORE_READ_USER_INTO(dst, src, a, ...) ({ \ argument
363 dst, (src), a, ##__VA_ARGS__) \
367 #define BPF_PROBE_READ_INTO(dst, src, a, ...) ({ \ argument
369 dst, (src), a, ##__VA_ARGS__) \
377 #define BPF_PROBE_READ_USER_INTO(dst, src, a, ...) ({ \ argument
379 dst, (src), a, ##__VA_ARGS__) \
387 #define BPF_CORE_READ_STR_INTO(dst, src, a, ...) ({ \ argument
389 dst, (src), a, ##__VA_ARGS__) \
397 #define BPF_CORE_READ_USER_STR_INTO(dst, src, a, ...) ({ \ argument
399 dst, (src), a, ##__VA_ARGS__) \
403 #define BPF_PROBE_READ_STR_INTO(dst, src, a, ...) ({ \ argument
405 dst, (src), a, ##__VA_ARGS__) \
414 #define BPF_PROBE_READ_USER_STR_INTO(dst, src, a, ...) ({ \ argument
416 dst, (src), a, ##__VA_ARGS__) \