Searched refs:attr_field (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | gen_loader.c | 43 #define attr_field(attr, field) (attr + offsetof(union bpf_attr, field)) macro 432 move_ctx2blob(gen, attr_field(btf_load_attr, btf_log_level), 4, in bpf_gen__load_btf() 434 move_ctx2blob(gen, attr_field(btf_load_attr, btf_log_size), 4, in bpf_gen__load_btf() 436 move_ctx2blob(gen, attr_field(btf_load_attr, btf_log_buf), 8, in bpf_gen__load_btf() 439 emit_rel_store(gen, attr_field(btf_load_attr, btf), btf_data); in bpf_gen__load_btf() 479 move_stack2blob(gen, attr_field(map_create_attr, btf_fd), 4, in bpf_gen__map_create() 484 move_stack2blob(gen, attr_field(map_create_attr, inner_map_fd), 4, in bpf_gen__map_create() 493 move_ctx2blob(gen, attr_field(map_create_attr, max_entries), 4, in bpf_gen__map_create() 976 emit_rel_store(gen, attr_field(prog_load_attr, license), license_off); in bpf_gen__prog_load() 979 emit_rel_store(gen, attr_field(prog_load_attr, insns), insns_off); in bpf_gen__prog_load() [all …]
|