Home
last modified time | relevance | path

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

/linux-5.19.10/net/smc/
Dsmc_clc.c63 static bool smc_clc_ueid_valid(char *ueid) in smc_clc_ueid_valid() argument
65 char *end = ueid + SMC_MAX_EID_LEN; in smc_clc_ueid_valid()
67 while (--end >= ueid && isspace(*end)) in smc_clc_ueid_valid()
69 if (end < ueid) in smc_clc_ueid_valid()
71 if (!isalnum(*ueid) || islower(*ueid)) in smc_clc_ueid_valid()
73 while (ueid <= end) { in smc_clc_ueid_valid()
74 if ((!isalnum(*ueid) || islower(*ueid)) && *ueid != '.' && in smc_clc_ueid_valid()
75 *ueid != '-') in smc_clc_ueid_valid()
77 ueid++; in smc_clc_ueid_valid()
82 static int smc_clc_ueid_add(char *ueid) in smc_clc_ueid_add() argument
[all …]