Lines Matching defs:share

92  * a share to be added/removed
203 * share for the given host (ipaddr) by calling smbd
375 nvlist_t *share;
410 if ((rc = nvpair_value_nvlist(nvp, &share)) != 0) {
416 if ((shr = smb_kshare_decode(share)) == NULL) {
437 * This function is invoked when a share is disabled to disconnect trees
499 * of specified share.
515 * The data associated with each share has two parts, a fixed size part and
516 * a variable size part which is share's comment. The outline of the response
631 * Looks up the given share and returns a pointer
654 * Releases the hold taken on the specified share object
666 * Add the given share in the specified server.
667 * If the share is a disk share, smb_vfs_hold() is
669 * corresponding file system before the share is
672 * If the share is an Autohome share and it is
674 * that share is incremented.
730 * Removes the share specified by 'shrname' from the AVL
733 * If the share is an Autohome share, the autohome count
734 * is decremented and the share is only removed if the
737 * If the share is a disk share, the hold on the corresponding
738 * file system is released before removing the share from
821 * Decodes share information in an nvlist format into a smb_kshare_t
828 smb_kshare_decode(nvlist_t *share)
836 ASSERT(share);
840 rc = nvlist_lookup_string(share, "name", &tmp.shr_name);
841 rc |= nvlist_lookup_string(share, "path", &tmp.shr_path);
842 (void) nvlist_lookup_string(share, "desc", &tmp.shr_cmnt);
846 rc |= nvlist_lookup_nvlist(share, "smb", &smb);
855 cmn_err(CE_WARN, "kshare[%s]: failed getting the share type"
966 * there is a need to take a hold on a share structure
1006 * share structure. It also removes the structure
1007 * from the share cache.
1031 * Generate an OEM name for the given share name. If the name is
1063 * Special share reserved for interprocess communication (IPC$) or
1085 * Check whether or not this is a default admin share: C$, D$ etc.
1102 * Decodes the given boolean share option.
1119 * Map a client-side caching (CSC) option to the appropriate share