Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 1 of 1) sorted by relevance

/samples/seccomp/
Dbpf-helper.h65 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) argument
67 #define LO_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) argument
89 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) + sizeof(__u32) argument
92 #define HI_ARG(idx) offsetof(struct seccomp_data, args[(idx)]) argument
138 #define ARG_32(idx) \ argument
139 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, LO_ARG(idx))
142 #define ARG_64(idx) \ argument
143 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, LO_ARG(idx)), \
145 BPF_STMT(BPF_LD+BPF_W+BPF_ABS, HI_ARG(idx)), \