Lines Matching refs:shrname
378 char *shrname;
407 shrname = nvpair_name(nvp);
408 ASSERT(shrname);
412 shrname);
418 shrname);
460 char *shrname;
474 shrname = nvpair_name(nvp);
475 ASSERT(shrname);
477 if ((rc = smb_kshare_unexport(sv, shrname)) != 0)
481 (void) strlcpy(ux->us_sharename, shrname, MAXNAMELEN);
638 smb_kshare_lookup(smb_server_t *sv, const char *shrname)
643 ASSERT(shrname);
648 key.shr_name = (char *)shrname;
730 * Removes the share specified by 'shrname' from the AVL
742 smb_kshare_unexport(smb_server_t *sv, const char *shrname)
753 key.shr_name = (char *)shrname;
772 " (%d)", shrname, rc);
1036 smb_kshare_oemname(const char *shrname)
1042 length = strlen(shrname) + 1;
1047 (void) smb_mbstowcs(unibuf, shrname, length);
1050 (void) strcpy(oem_name, shrname);