Searched refs:treename (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/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 | 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 | smb2pdu.c | 1947 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()
|
/linux-6.6.21/fs/smb/client/ |
D | smb2pdu.c | 2717 const char *treename, const __le16 *path) in alloc_path_with_tree_prefix() argument 2726 treename_len = strlen(treename); in alloc_path_with_tree_prefix() 2727 if (treename_len < 2 || !(treename[0] == '\\' && treename[1] == '\\')) in alloc_path_with_tree_prefix() 2730 treename += 2; in alloc_path_with_tree_prefix() 2748 cifs_strtoUTF16(*out_path, treename, treename_len, cp); in alloc_path_with_tree_prefix()
|