Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c1205 size_t unq_len1, unq_len2; in str_cmp_unqual_hostname() local
1213 unq_len1 = strcspn(rawname1, "."); in str_cmp_unqual_hostname()
1217 if ((strncmp(rawname1, SM_ADDR_IPV4, unq_len1) == 0) || in str_cmp_unqual_hostname()
1218 (strncmp(rawname1, SM_ADDR_IPV6, unq_len1) == 0)) in str_cmp_unqual_hostname()
1222 if ((unq_len1 == unq_len2) && in str_cmp_unqual_hostname()
1223 (strncmp(rawname1, rawname2, unq_len1) == 0)) { in str_cmp_unqual_hostname()
1240 size_t unq_len1, unq_len2; in str_cmp_address_specifier() local
1255 unq_len1 = strcspn(specifier1, "."); in str_cmp_address_specifier()
1260 if (strncmp(specifier1, SM_ADDR_IPV4, unq_len1) == 0) { in str_cmp_address_specifier()
1263 } else if (strncmp(specifier1, SM_ADDR_IPV6, unq_len1) == 0) { in str_cmp_address_specifier()