Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c8655 static size_t custom_sec_def_cnt; variable
8879 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler()
8885 sec_def = &custom_sec_defs[custom_sec_def_cnt]; in libbpf_register_prog_handler()
8908 custom_sec_def_cnt++; in libbpf_register_prog_handler()
8929 for (i = 0; i < custom_sec_def_cnt; i++) { in libbpf_unregister_prog_handler()
8934 if (i == custom_sec_def_cnt) in libbpf_unregister_prog_handler()
8938 for (i = i + 1; i < custom_sec_def_cnt; i++) in libbpf_unregister_prog_handler()
8940 custom_sec_def_cnt--; 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()
8948 if (sec_defs || custom_sec_def_cnt == 0) in libbpf_unregister_prog_handler()
[all …]