Home
last modified time | relevance | path

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

/drivers/usb/typec/
Dmux.c29 const int suffix_len = strlen(suffix); in dev_name_ends_with() local
31 if (suffix_len > name_len) in dev_name_ends_with()
34 return strcmp(name + (name_len - suffix_len), suffix) == 0; in dev_name_ends_with()
/drivers/of/
Dproperty.c1113 unsigned int len, suffix_len; in strcmp_suffix() local
1116 suffix_len = strlen(suffix); in strcmp_suffix()
1117 if (len <= suffix_len) in strcmp_suffix()
1119 return strcmp(str + len - suffix_len, suffix); in strcmp_suffix()
/drivers/hid/
Dhid-input.c1664 size_t suffix_len, name_len; in hidinput_allocate() local
1709 suffix_len = strlen(suffix); in hidinput_allocate()
1710 if ((name_len < suffix_len) || in hidinput_allocate()
1711 strcmp(hid->name + name_len - suffix_len, suffix)) { in hidinput_allocate()