Home
last modified time | relevance | path

Searched refs:treename (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dmisc.h24 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
Dmisc.c268 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()
Dunicode.h73 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
Dsmb2pdu.c1872 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/
Dsmb2pdu.c2575 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()