Searched refs:treename (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | misc.h | 24 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
|
D | misc.c | 268 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename) in ksmbd_extract_sharename() argument 270 const char *name = treename, *pos = strrchr(name, '\\'); in ksmbd_extract_sharename()
|
D | unicode.h | 73 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
|
D | smb2pdu.c | 1872 char *treename = NULL, *name = NULL; in smb2_tree_connect() local 1877 treename = smb_strndup_from_utf16(req->Buffer, in smb2_tree_connect() 1880 if (IS_ERR(treename)) { in smb2_tree_connect() 1886 name = ksmbd_extract_sharename(conn->um, treename); in smb2_tree_connect() 1893 name, treename); in smb2_tree_connect() 1937 if (!IS_ERR(treename)) in smb2_tree_connect() 1938 kfree(treename); in smb2_tree_connect()
|
/linux-6.1.9/fs/cifs/ |
D | smb2pdu.c | 2575 const char *treename, const __le16 *path) in alloc_path_with_tree_prefix() argument 2584 treename_len = strlen(treename); in alloc_path_with_tree_prefix() 2585 if (treename_len < 2 || !(treename[0] == '\\' && treename[1] == '\\')) in alloc_path_with_tree_prefix() 2588 treename += 2; in alloc_path_with_tree_prefix() 2606 cifs_strtoUTF16(*out_path, treename, treename_len, cp); in alloc_path_with_tree_prefix()
|