Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c8557 static size_t custom_sec_def_cnt; variable
8578 sec_def = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt + 1, in libbpf_register_prog_handler()
8584 sec_def = &custom_sec_defs[custom_sec_def_cnt]; in libbpf_register_prog_handler()
8607 custom_sec_def_cnt++; in libbpf_register_prog_handler()
8628 for (i = 0; i < custom_sec_def_cnt; i++) { in libbpf_unregister_prog_handler()
8633 if (i == custom_sec_def_cnt) in libbpf_unregister_prog_handler()
8637 for (i = i + 1; i < custom_sec_def_cnt; i++) in libbpf_unregister_prog_handler()
8639 custom_sec_def_cnt--; in libbpf_unregister_prog_handler()
8642 sec_defs = libbpf_reallocarray(custom_sec_defs, custom_sec_def_cnt, sizeof(*sec_defs)); in libbpf_unregister_prog_handler()
8682 n = custom_sec_def_cnt; in find_sec_def()