Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Ddisasm.c11 static const char * const func_id_str[] = { variable
20 BUILD_BUG_ON(ARRAY_SIZE(func_id_str) != __BPF_FUNC_MAX_ID); in __func_get_name()
24 func_id_str[insn->imm]) in __func_get_name()
25 return func_id_str[insn->imm]; in __func_get_name()
56 if (id >= 0 && id < __BPF_FUNC_MAX_ID && func_id_str[id]) in func_id_name()
57 return func_id_str[id]; in func_id_name()
/openbmc/linux/kernel/bpf/
H A Ddisasm.c11 static const char * const func_id_str[] = { variable
20 BUILD_BUG_ON(ARRAY_SIZE(func_id_str) != __BPF_FUNC_MAX_ID); in __func_get_name()
24 func_id_str[insn->imm]) in __func_get_name()
25 return func_id_str[insn->imm]; in __func_get_name()
56 if (id >= 0 && id < __BPF_FUNC_MAX_ID && func_id_str[id]) in func_id_name()
57 return func_id_str[id]; in func_id_name()