Lines Matching defs:target
269 char *target;
276 target = kmem_alloc(MAXPATHLEN, KM_SLEEP);
279 (void) snprintf(target, MAXPATHLEN, "\\%s\\%s",
283 entsize = DFS_REFV1_ENTSZ + smb_wcequiv_strlen(target) + 2;
288 DFS_REFERRAL_V1, entsize, server_type, flags, target);
292 kmem_free(target, MAXPATHLEN);
453 * Encodes DFS path, and target strings which come after fixed header
470 char *target;
476 target = kmem_alloc(MAXPATHLEN, KM_SLEEP);
478 (void) snprintf(target, MAXPATHLEN, "\\%s\\%s",
481 (void) smb_mbc_encodef(mbc, "U", target);
483 kmem_free(target, MAXPATHLEN);
521 * Returns the Unicode string length for the target UNC of
535 /* Encoded target UNC \server\share */