Lines Matching defs:rootdir
425 char rootdir[DFS_PATH_MAX];
428 if (dfs_namespace_path(name, rootdir, DFS_PATH_MAX) != ERROR_SUCCESS)
432 if (dfs_root_getinfo(rootdir, &info, 2) != ERROR_SUCCESS)
452 dfs_root_getinfo(const char *rootdir, dfs_info_t *info, uint32_t infolvl)
464 if ((xfd = dfs_root_xopen(rootdir, O_RDONLY)) > 0) {
475 * Root is specified by 'rootdir' and the target is specified by
481 dfs_root_setinfo(const char *rootdir, dfs_info_t *info, uint32_t infolvl)
488 if ((xfd = dfs_root_xopen(rootdir, O_RDWR)) < 0) {
938 char rootdir[DFS_PATH_MAX];
956 if (dfs_namespace_path(unc->unc_share, rootdir, DFS_PATH_MAX)
974 "%s/%s", rootdir, unc->unc_path);
979 (void) strlcpy(path->p_fspath, rootdir,
1057 char rootdir[DFS_PATH_MAX];
1061 if (dfs_namespace_path(name, rootdir, DFS_PATH_MAX) != ERROR_SUCCESS)
1064 (void) snprintf(linkpath, bufsz, "%s/%s", rootdir, relpath);
1077 (void) snprintf(linkpath, bufsz, "%s/%s", rootdir, relpath);
1143 dfs_root_add(const char *rootdir, dfs_info_t *info)
1149 if ((xfd = dfs_root_xopen(rootdir, O_CREAT | O_TRUNC | O_RDWR)) > 0) {
1162 dfs_root_remove(const char *rootdir)
1169 if ((attrdirfd = attropen(rootdir, ".", O_RDONLY)) > 0) {
1183 rootdir, err);
1194 dfs_root_xopen(const char *rootdir, int oflag)
1200 if ((dfd = open(rootdir, O_RDONLY)) > 0) {
1211 rootdir, err);