Home
last modified time | relevance | path

Searched refs:NERR_Success (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c245 if (smb_shr_cache_create() != NERR_Success) in smb_shr_start()
255 if (nerr != NERR_Success) in smb_shr_start()
326 if (smb_shr_cache_lock(SMB_SHR_CACHE_RDLOCK) == NERR_Success) { in smb_shr_count()
365 if (smb_shr_cache_lock(SMB_SHR_CACHE_RDLOCK) == NERR_Success) { in smb_shr_iterate()
402 if (smb_shr_cache_lock(SMB_SHR_CACHE_WRLOCK) != NERR_Success) in smb_shr_add()
409 status = NERR_Success; in smb_shr_add()
455 if ((status = smb_shr_cache_addent(si)) != NERR_Success) { in smb_shr_add()
475 return (NERR_Success); in smb_shr_add()
483 if (smb_shr_cache_lock(SMB_SHR_CACHE_WRLOCK) == NERR_Success) { in smb_shr_add()
534 if (smb_shr_cache_lock(SMB_SHR_CACHE_WRLOCK) != NERR_Success) in smb_shr_remove()
[all …]
H A Dsmb_autohome.c104 if (smb_autohome_add_private(username, uid, gid) != NERR_Success) { in smb_autohome_add()
122 if (smb_shr_get((char *)username, &si) == NERR_Success) { in smb_autohome_remove()
148 if (smb_shr_get(shr_name, &si) == NERR_Success) { in smb_autohome_add_private()
150 return (NERR_Success); in smb_autohome_add_private()
153 return (NERR_Success); in smb_autohome_add_private()
H A Dsrvsvc_svc.c220 if (nerr != NERR_Success) in srvsvc_shr_setdfsroot()
881 if (status != NERR_Success) { in srvsvc_s_NetShareGetInfo()
1103 if (smb_shr_get((char *)param->netname, &si) != NERR_Success) { in srvsvc_s_NetShareSetInfo()
1225 uint32_t nerr = NERR_Success; in srvsvc_modify_share()
1233 nerr = NERR_Success; in srvsvc_modify_share()
1236 if ((nerr = srvsvc_sa_modify(si, info)) == NERR_Success) in srvsvc_modify_share()
1253 if (nerr != NERR_Success) in srvsvc_modify_transient_share()
1264 if ((nerr = smb_shr_modify(si)) != NERR_Success) in srvsvc_modify_transient_share()
1268 return (NERR_Success); in srvsvc_modify_transient_share()
1281 uint32_t nerr = NERR_Success; in srvsvc_update_share_flags()
[all …]
H A Ddfs.c261 if (smb_shr_get((char *)name, &si) != NERR_Success) in dfs_namespace_path()
324 if (smb_shr_get((char *)rootshr, &si) != NERR_Success) in dfs_namespace_add()
385 if (smb_shr_get((char *)name, &si) != NERR_Success) in dfs_namespace_remove()
766 if (smb_shr_get((char *)name, &si) != NERR_Success) in dfs_cache_add_byname()
1094 if (smb_shr_get(share, &si) != NERR_Success) { in dfs_namespace_cache()
H A Dspoolss_svc.c305 if ((rc = smb_shr_get(SMB_SHARE_PRINT, &si)) != NERR_Success) { in spoolss_s_StartDocPrinter()
785 if (smb_shr_get(SMB_SHARE_PRINT, &si) != NERR_Success) { in spoolss_s_GetPrinterData()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_spool.c446 if (smb_shr_get(SMB_SHARE_PRINT, &si) != NERR_Success) { in smbd_share_printers()
463 if (nerr == NERR_Success || nerr == NERR_DuplicateShare) in smbd_share_printers()
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c517 if (err == NERR_Success || !(!isonline && err == NERR_DuplicateName)) in smb_enable_resource()
541 if (res != NERR_Success && in smb_disable_resource()
620 if (res != NERR_Success) in smb_resource_changed()
671 case NERR_Success: in smb_disable_share()
1689 while (smb_share_list(offset, &list) == NERR_Success) { in smb_list_transient()
2101 case NERR_Success: in smb_rename_resource()
H A Dsmb_share_doorclnt.c242 return (NERR_Success); in smb_share_list()
/illumos-gate/usr/src/uts/common/smb/
H A Dlmerr.h56 #define NERR_Success 0 macro
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_common_transact.c1041 (void) smb_mbc_encodef(&xa->rep_param_mb, "www", NERR_Success, in smb_trans_net_share_getinfo()
1157 NERR_Success, max_data - avail_data, avail_data); in smb_trans_net_server_getinfo()