Searched refs:SMB_MAXPATHLEN (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_pathname.c | 193 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 D | smb_set_fileinfo.c | 559 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 D | smb2_setinfo_file.c | 132 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 D | smb_nt_create_andx.c | 197 } else if (NameLength >= SMB_MAXPATHLEN) { in smb_pre_nt_create_andx()
|
H A D | smb_nt_transact_create.c | 88 } else if (NameLength >= SMB_MAXPATHLEN) { in smb_pre_nt_transact_create()
|
H A D | smb_common_open.c | 375 if (strlen(pn->pn_path) >= SMB_MAXPATHLEN) { in smb_common_open()
|
H A D | smb2_create.c | 184 if (NameLength >= SMB_MAXPATHLEN) { in smb2_create()
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_fsops.h | 150 #define SMB_MAXPATHLEN (2 * MAXPATHLEN) macro
|