Home
last modified time | relevance | path

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

/external/strace/tests-mx32/
Dbpf-obj_get_info_by_fd.c195 if (size > offsetof(struct BPF_PROG_LOAD_struct, license)) in print_prog_load()
197 if (size > offsetof(struct BPF_PROG_LOAD_struct, log_buf)) in print_prog_load()
200 if (size > offsetof(struct BPF_PROG_LOAD_struct, kern_version)) in print_prog_load()
202 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_flags)) in print_prog_load()
204 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_name)) in print_prog_load()
206 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_ifindex)) in print_prog_load()
208 if (size > offsetof(struct BPF_PROG_LOAD_struct, expected_attach_type)) in print_prog_load()
252 struct BPF_PROG_LOAD_struct bpf_prog_load_attr = { in main()
265 offsetofend(struct BPF_PROG_LOAD_struct, prog_name), in main()
266 offsetofend(struct BPF_PROG_LOAD_struct, prog_flags), in main()
[all …]
Dbpf.c540 struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; in init_BPF_PROG_LOAD_attr3()
563 struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; in init_BPF_PROG_LOAD_attr4()
590 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_type),
606 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_flags),
626 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_name),
648 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_ifindex),
663 .size = offsetofend(struct BPF_PROG_LOAD_struct,
/external/strace/tests-m32/
Dbpf-obj_get_info_by_fd.c195 if (size > offsetof(struct BPF_PROG_LOAD_struct, license)) in print_prog_load()
197 if (size > offsetof(struct BPF_PROG_LOAD_struct, log_buf)) in print_prog_load()
200 if (size > offsetof(struct BPF_PROG_LOAD_struct, kern_version)) in print_prog_load()
202 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_flags)) in print_prog_load()
204 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_name)) in print_prog_load()
206 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_ifindex)) in print_prog_load()
208 if (size > offsetof(struct BPF_PROG_LOAD_struct, expected_attach_type)) in print_prog_load()
252 struct BPF_PROG_LOAD_struct bpf_prog_load_attr = { in main()
265 offsetofend(struct BPF_PROG_LOAD_struct, prog_name), in main()
266 offsetofend(struct BPF_PROG_LOAD_struct, prog_flags), in main()
[all …]
Dbpf.c540 struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; in init_BPF_PROG_LOAD_attr3()
563 struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; in init_BPF_PROG_LOAD_attr4()
590 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_type),
606 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_flags),
626 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_name),
648 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_ifindex),
663 .size = offsetofend(struct BPF_PROG_LOAD_struct,
/external/strace/tests/
Dbpf-obj_get_info_by_fd.c195 if (size > offsetof(struct BPF_PROG_LOAD_struct, license)) in print_prog_load()
197 if (size > offsetof(struct BPF_PROG_LOAD_struct, log_buf)) in print_prog_load()
200 if (size > offsetof(struct BPF_PROG_LOAD_struct, kern_version)) in print_prog_load()
202 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_flags)) in print_prog_load()
204 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_name)) in print_prog_load()
206 if (size > offsetof(struct BPF_PROG_LOAD_struct, prog_ifindex)) in print_prog_load()
208 if (size > offsetof(struct BPF_PROG_LOAD_struct, expected_attach_type)) in print_prog_load()
252 struct BPF_PROG_LOAD_struct bpf_prog_load_attr = { in main()
265 offsetofend(struct BPF_PROG_LOAD_struct, prog_name), in main()
266 offsetofend(struct BPF_PROG_LOAD_struct, prog_flags), in main()
[all …]
Dbpf.c540 struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; in init_BPF_PROG_LOAD_attr3()
563 struct BPF_PROG_LOAD_struct *attr = &check->data.BPF_PROG_LOAD_data; in init_BPF_PROG_LOAD_attr4()
590 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_type),
606 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_flags),
626 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_name),
648 .size = offsetofend(struct BPF_PROG_LOAD_struct, prog_ifindex),
663 .size = offsetofend(struct BPF_PROG_LOAD_struct,
/external/strace/
Dbpf_attr_check.c173 static_assert(SoM(struct BPF_PROG_LOAD_struct, prog_type) == SoM(union bpf_attr, prog_type),
175 …static_assert(offsetof(struct BPF_PROG_LOAD_struct, prog_type) == offsetof(union bpf_attr, prog_ty…
180 static_assert(SoM(struct BPF_PROG_LOAD_struct, insn_cnt) == SoM(union bpf_attr, insn_cnt),
182 …static_assert(offsetof(struct BPF_PROG_LOAD_struct, insn_cnt) == offsetof(union bpf_attr, insn_cnt…
187 static_assert(SoM(struct BPF_PROG_LOAD_struct, insns) == SoM(union bpf_attr, insns),
189 static_assert(offsetof(struct BPF_PROG_LOAD_struct, insns) == offsetof(union bpf_attr, insns),
194 static_assert(SoM(struct BPF_PROG_LOAD_struct, license) == SoM(union bpf_attr, license),
196 static_assert(offsetof(struct BPF_PROG_LOAD_struct, license) == offsetof(union bpf_attr, license),
201 static_assert(SoM(struct BPF_PROG_LOAD_struct, log_level) == SoM(union bpf_attr, log_level),
203 …static_assert(offsetof(struct BPF_PROG_LOAD_struct, log_level) == offsetof(union bpf_attr, log_lev…
[all …]
Dbpf.c284 if (len <= offsetof(struct BPF_PROG_LOAD_struct, log_level)) in BEGIN_BPF_CMD_DECODER()
293 if (len <= offsetof(struct BPF_PROG_LOAD_struct, kern_version)) in BEGIN_BPF_CMD_DECODER()
301 if (len <= offsetof(struct BPF_PROG_LOAD_struct, prog_flags)) in BEGIN_BPF_CMD_DECODER()
306 if (len <= offsetof(struct BPF_PROG_LOAD_struct, prog_name)) in BEGIN_BPF_CMD_DECODER()
310 len - offsetof(struct BPF_PROG_LOAD_struct, in BEGIN_BPF_CMD_DECODER()
318 if (len <= offsetof(struct BPF_PROG_LOAD_struct, prog_ifindex)) in BEGIN_BPF_CMD_DECODER()
326 if (len <= offsetof(struct BPF_PROG_LOAD_struct, expected_attach_type)) in BEGIN_BPF_CMD_DECODER()
Dbpf_attr.h114 struct BPF_PROG_LOAD_struct { struct
130 offsetofend(struct BPF_PROG_LOAD_struct, expected_attach_type) argument
DChangeLog2887 * bpf_attr.h (struct BPF_PROG_LOAD_struct): Add expected_attach_type
5477 (struct BPF_PROG_LOAD_struct): Add prog_name and prog_ifindex fields.
5824 struct BPF_PROG_LOAD_struct.