Home
last modified time | relevance | path

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

/fs/ksmbd/
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()
Dmisc.h24 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
Dunicode.h73 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
Dsmb2pdu.c1947 char *treename = NULL, *name = NULL; in smb2_tree_connect() local
1954 treename = smb_strndup_from_utf16(req->Buffer, in smb2_tree_connect()
1957 if (IS_ERR(treename)) { in smb2_tree_connect()
1963 name = ksmbd_extract_sharename(conn->um, treename); in smb2_tree_connect()
1970 name, treename); in smb2_tree_connect()
2020 if (!IS_ERR(treename)) in smb2_tree_connect()
2021 kfree(treename); in smb2_tree_connect()
/fs/cifs/
Dsmb2pdu.c2530 const char *treename, const __le16 *path) in alloc_path_with_tree_prefix() argument
2539 treename_len = strlen(treename); in alloc_path_with_tree_prefix()
2540 if (treename_len < 2 || !(treename[0] == '\\' && treename[1] == '\\')) in alloc_path_with_tree_prefix()
2543 treename += 2; in alloc_path_with_tree_prefix()
2565 cifs_strtoUTF16(*out_path, treename, treename_len, cp); in alloc_path_with_tree_prefix()