Home
last modified time | relevance | path

Searched refs:SMB_MAXPATHLEN (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_pathname.c193 usepath = kmem_alloc(SMB_MAXPATHLEN, KM_SLEEP); in smb_pathname_reduce()
195 len = strlcpy(usepath, path, SMB_MAXPATHLEN); in smb_pathname_reduce()
196 if (len >= SMB_MAXPATHLEN) { in smb_pathname_reduce()
197 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
223 SMB_MAXPATHLEN); in smb_pathname_reduce()
225 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
245 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
261 (void) pn_alloc_sz(&ppn, SMB_MAXPATHLEN); in smb_pathname_reduce()
265 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
310 kmem_free(usepath, SMB_MAXPATHLEN); in smb_pathname_reduce()
[all …]
H A Dsmb_set_fileinfo.c559 path = smb_srm_zalloc(sr, SMB_MAXPATHLEN); in smb_set_rename_info()
562 (void) snprintf(path, SMB_MAXPATHLEN, "%s\\%s", in smb_set_rename_info()
567 sr->tid_tree, path, SMB_MAXPATHLEN); in smb_set_rename_info()
572 (void) strlcat(path, "\\", SMB_MAXPATHLEN); in smb_set_rename_info()
573 (void) strlcat(path, fname, SMB_MAXPATHLEN); in smb_set_rename_info()
H A Dsmb2_setinfo_file.c132 if ((rootdir != 0) || (namelen == 0) || (namelen >= SMB_MAXPATHLEN)) { in smb2_setf_rename()
163 if ((rootdir != 0) || (namelen == 0) || (namelen >= SMB_MAXPATHLEN)) { in smb2_setf_link()
H A Dsmb_nt_create_andx.c197 } else if (NameLength >= SMB_MAXPATHLEN) { in smb_pre_nt_create_andx()
H A Dsmb_nt_transact_create.c88 } else if (NameLength >= SMB_MAXPATHLEN) { in smb_pre_nt_transact_create()
H A Dsmb_common_open.c375 if (strlen(pn->pn_path) >= SMB_MAXPATHLEN) { in smb_common_open()
H A Dsmb2_create.c184 if (NameLength >= SMB_MAXPATHLEN) { in smb2_create()
/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_fsops.h150 #define SMB_MAXPATHLEN (2 * MAXPATHLEN) macro