Searched refs:sfx_len (Results 1 – 3 of 3) sorted by relevance
109 size_t sfx_len = strlen(sfx); in str_has_sfx() local111 if (sfx_len > str_len) in str_has_sfx()113 return strcmp(str + str_len - sfx_len, sfx) == 0; in str_has_sfx()
1529 int pfx_len, sfx_len = max((size_t)7, strlen(real_name)); in internal_map_name() local1564 if (sfx_len >= BPF_OBJ_NAME_LEN) in internal_map_name()1565 sfx_len = BPF_OBJ_NAME_LEN - 1; in internal_map_name()1571 pfx_len = min((size_t)BPF_OBJ_NAME_LEN - sfx_len - 1, strlen(obj->name)); in internal_map_name()1574 sfx_len, real_name); in internal_map_name()
6185 int len, sfx_len = sizeof("__sz") - 1; in is_kfunc_arg_mem_size() local6198 if (len < sfx_len) in is_kfunc_arg_mem_size()6200 param_name += len - sfx_len; in is_kfunc_arg_mem_size()6201 if (strncmp(param_name, "__sz", sfx_len)) in is_kfunc_arg_mem_size()