Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c8656 static struct bpf_sec_def *custom_sec_defs; variable
8879 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler()
8884 custom_sec_defs = sec_def; in libbpf_register_prog_handler()
8885 sec_def = &custom_sec_defs[custom_sec_def_cnt]; in libbpf_register_prog_handler()
8930 if (custom_sec_defs[i].handler_id == handler_id) in libbpf_unregister_prog_handler()
8937 free(custom_sec_defs[i].sec); in libbpf_unregister_prog_handler()
8939 custom_sec_defs[i - 1] = custom_sec_defs[i]; in libbpf_unregister_prog_handler()
8943 sec_defs = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt, sizeof(*sec_defs)); in libbpf_unregister_prog_handler()
8949 custom_sec_defs = sec_defs; in libbpf_unregister_prog_handler()
8989 sec_def = &custom_sec_defs[i]; in find_sec_def()