Searched refs:unc_len (Results 1 – 1 of 1) sorted by relevance
161 int error, tlen, plen, unc_len; in smb_smb_treeconnect() local187 unc_len = 4 + strlen(vcp->vc_srvname) + strlen(ssp->ss_name); in smb_smb_treeconnect()188 unc_name = kmem_alloc(unc_len, KM_SLEEP); in smb_smb_treeconnect()189 (void) snprintf(unc_name, unc_len, "\\\\%s\\%s", in smb_smb_treeconnect()301 kmem_free(unc_name, unc_len); in smb_smb_treeconnect()