Searched refs:type_strings (Results 1 – 1 of 1) sorted by relevance
39 static const struct cred_type_string type_strings[] = { variable180 for (int i = 0; i < ARRAY_SIZE(type_strings); i++) { in cred_type_name()181 if (type_strings[i].type == type) { in cred_type_name()182 return type_strings[i].name; in cred_type_name()196 for (int i = ARRAY_SIZE(type_strings) - 1; i >= 0; i--) { in cred_type_name_compact()197 if (type_strings[i].type == type) { in cred_type_name_compact()198 return type_strings[i].name; in cred_type_name_compact()257 for (int i = 0; i < ARRAY_SIZE(type_strings); i++) { in shell_parse_cred_type()258 if (strcasecmp(arg, type_strings[i].name) == 0) { in shell_parse_cred_type()259 *out = type_strings[i].type; in shell_parse_cred_type()