Searched refs:custom_sec_def_cnt (Results 1 – 1 of 1) sorted by relevance
9242 static size_t custom_sec_def_cnt; variable9476 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler()9482 sec_def = &custom_sec_defs[custom_sec_def_cnt]; in libbpf_register_prog_handler()9505 custom_sec_def_cnt++; in libbpf_register_prog_handler()9526 for (i = 0; i < custom_sec_def_cnt; i++) { in libbpf_unregister_prog_handler()9531 if (i == custom_sec_def_cnt) in libbpf_unregister_prog_handler()9535 for (i = i + 1; i < custom_sec_def_cnt; i++) in libbpf_unregister_prog_handler()9537 custom_sec_def_cnt--; 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()9545 if (sec_defs || custom_sec_def_cnt == 0) in libbpf_unregister_prog_handler()[all …]