Lines Matching defs:share
63 * ns_path The filesystem path of the root share.
240 * (root share) if a namespace hasn't already been exported.
245 char *share = arg;
252 if (smb_strcasecmp(dfsns.ns_name, share, 0) != 0) {
256 share, dfs_svc_name(dfsns.ns_type), dfsns.ns_name);
259 free(share);
263 if (smb_share_lookup(share, &si) != NERR_Success) {
265 free(share);
272 free(share);
280 free(share);
284 (void) strlcpy(dfsns.ns_name, share, sizeof (dfsns.ns_name));
287 dfs_ns_load(share, si.shr_path);
293 free(share);
381 * This function does not create the root share, it
511 syslog(LOG_WARNING, "dfs: failed to disable root share %s (%d)",
560 const char *share, const char *cmnt, uint32_t flags, uint32_t ns_type)
573 status = dfs_link_add(fspath, server, share, cmnt, flags, &newlink,
611 const char *server, const char *share, uint32_t ns_type)
619 status = dfs_link_remove(dfspath->p_fspath, server, share, ns_type);
897 dfs_link_add(const char *path, const char *server, const char *share,
963 if (dfs_target_find(info.i_targets, ntargets, server, share) != -1) {
976 dfs_target_init(&info.i_targets[ntargets], server, share,
990 * 'server' and 'share' parameters specify a target, so if they are NULL
995 dfs_link_remove(const char *path, const char *server, const char *share,
1011 if (server == NULL && share == NULL) {
1026 idx = dfs_target_find(info.i_targets, info.i_ntargets, server, share);
1701 dfs_target_init(dfs_target_t *t, const char *srv, const char *share,
1705 (void) strlcpy(t->t_share, (share) ? share : "", sizeof (t->t_share));
1712 * Lookup the specified target (server, share) in the given
1718 const char *server, const char *share)
1725 (smb_strcasecmp(t->t_share, share, 0) == 0))
1914 * Creates intermediate directories of a link from the root share path.