Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dmisc.c165 char *pathname, *ab_pathname, *nt_pathname; in convert_to_nt_pathname() local
174 nt_pathname = ERR_PTR(-EACCES); in convert_to_nt_pathname()
179 nt_pathname = ERR_PTR(-EACCES); in convert_to_nt_pathname()
183 nt_pathname = kzalloc(strlen(&ab_pathname[share_path_len]) + 2, GFP_KERNEL); in convert_to_nt_pathname()
184 if (!nt_pathname) { in convert_to_nt_pathname()
185 nt_pathname = ERR_PTR(-ENOMEM); in convert_to_nt_pathname()
189 strcpy(nt_pathname, "/"); in convert_to_nt_pathname()
190 strcat(nt_pathname, &ab_pathname[share_path_len]); in convert_to_nt_pathname()
192 ksmbd_conv_path_to_windows(nt_pathname); in convert_to_nt_pathname()
196 return nt_pathname; in convert_to_nt_pathname()