Lines Matching defs:rootshr
222 char *rootshr;
225 if ((rootshr = strdup(name)) == NULL) {
233 rc = pthread_create(&thr, &tattr, dfs_namespace_cache, rootshr);
311 dfs_namespace_add(const char *rootshr, const char *cmnt)
319 if (*rootshr == '\\') {
324 if (smb_shr_get((char *)rootshr, &si) != NERR_Success)
328 if (smb_strcasecmp(dfs_cached_ns, rootshr, 0) == 0) {
338 rootshr, dfs_cached_ns);
353 dfs_target_init(&t, dfs_nbname, rootshr, DFS_STORAGE_STATE_ONLINE);
365 (void) dfs_cache_add_byname(rootshr, NULL, DFS_OBJECT_ROOT);
366 (void) strlcpy(dfs_cached_ns, rootshr, sizeof (dfs_cached_ns));