Searched refs:custom_sec_defs (Results 1 – 1 of 1) sorted by relevance
9288 static struct bpf_sec_def *custom_sec_defs; variable9523 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler()9528 custom_sec_defs = sec_def; in libbpf_register_prog_handler()9529 sec_def = &custom_sec_defs[custom_sec_def_cnt]; in libbpf_register_prog_handler()9574 if (custom_sec_defs[i].handler_id == handler_id) in libbpf_unregister_prog_handler()9581 free(custom_sec_defs[i].sec); in libbpf_unregister_prog_handler()9583 custom_sec_defs[i - 1] = custom_sec_defs[i]; in libbpf_unregister_prog_handler()9587 sec_defs = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt, sizeof(*sec_defs)); in libbpf_unregister_prog_handler()9593 custom_sec_defs = sec_defs; in libbpf_unregister_prog_handler()9633 sec_def = &custom_sec_defs[i]; in find_sec_def()