Home
last modified time | relevance | path

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

/third_party/libbpf/src/
Dlibbpf_internal.h109 size_t sfx_len = strlen(sfx); in str_has_sfx() local
111 if (sfx_len > str_len) in str_has_sfx()
113 return strcmp(str + str_len - sfx_len, sfx) == 0; in str_has_sfx()
Dlibbpf.c1620 int pfx_len, sfx_len = max((size_t)7, strlen(real_name)); local
1655 if (sfx_len >= BPF_OBJ_NAME_LEN)
1656 sfx_len = BPF_OBJ_NAME_LEN - 1;
1662 pfx_len = min((size_t)BPF_OBJ_NAME_LEN - sfx_len - 1, strlen(obj->name));
1665 sfx_len, real_name);