Searched refs:treename (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/smb/server/ |
D | unicode.h | 38 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
|
D | misc.h | 24 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename);
|
D | misc.c | 269 char *ksmbd_extract_sharename(struct unicode_map *um, const char *treename) in ksmbd_extract_sharename() argument 271 const char *name = treename, *pos = strrchr(name, '\\'); in ksmbd_extract_sharename()
|
D | smb2pdu.c | 1938 char *treename = NULL, *name = NULL; in smb2_tree_connect() local 1945 treename = smb_strndup_from_utf16((char *)req + le16_to_cpu(req->PathOffset), in smb2_tree_connect() 1948 if (IS_ERR(treename)) { in smb2_tree_connect() 1954 name = ksmbd_extract_sharename(conn->um, treename); in smb2_tree_connect() 1961 name, treename); in smb2_tree_connect() 2016 if (!IS_ERR(treename)) in smb2_tree_connect() 2017 kfree(treename); in smb2_tree_connect()
|
/linux-6.12.1/fs/smb/client/ |
D | smb2pdu.c | 2780 const char *treename, const __le16 *path) in alloc_path_with_tree_prefix() argument 2789 treename_len = strlen(treename); in alloc_path_with_tree_prefix() 2790 if (treename_len < 2 || !(treename[0] == '\\' && treename[1] == '\\')) in alloc_path_with_tree_prefix() 2793 treename += 2; in alloc_path_with_tree_prefix() 2811 cifs_strtoUTF16(*out_path, treename, treename_len, cp); in alloc_path_with_tree_prefix()
|