Home
last modified time | relevance | path

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

/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c9243 static struct bpf_sec_def *custom_sec_defs; variable
9476 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler()
9481 custom_sec_defs = sec_def; in libbpf_register_prog_handler()
9482 sec_def = &custom_sec_defs[custom_sec_def_cnt]; in libbpf_register_prog_handler()
9527 if (custom_sec_defs[i].handler_id == handler_id) in libbpf_unregister_prog_handler()
9534 free(custom_sec_defs[i].sec); in libbpf_unregister_prog_handler()
9536 custom_sec_defs[i - 1] = custom_sec_defs[i]; in libbpf_unregister_prog_handler()
9540 sec_defs = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt, sizeof(*sec_defs)); in libbpf_unregister_prog_handler()
9546 custom_sec_defs = sec_defs; in libbpf_unregister_prog_handler()
9586 sec_def = &custom_sec_defs[i]; in find_sec_def()