Searched refs:sfx_len (Results 1 – 2 of 2) sorted by relevance
155 size_t sfx_len = strlen(sfx); in str_has_sfx() local157 if (sfx_len > str_len) in str_has_sfx()159 return strcmp(str + str_len - sfx_len, sfx) == 0; in str_has_sfx()
1631 int pfx_len, sfx_len = max((size_t)7, strlen(real_name)); local1666 if (sfx_len >= BPF_OBJ_NAME_LEN)1667 sfx_len = BPF_OBJ_NAME_LEN - 1;1673 pfx_len = min((size_t)BPF_OBJ_NAME_LEN - sfx_len - 1, strlen(obj->name));1676 sfx_len, real_name);