Searched refs:nt_pathname (Results 1 – 1 of 1) sorted by relevance
165 char *pathname, *ab_pathname, *nt_pathname; in convert_to_nt_pathname() local176 nt_pathname = ERR_PTR(-EACCES); in convert_to_nt_pathname()181 nt_pathname = ERR_PTR(-EACCES); in convert_to_nt_pathname()187 nt_pathname = kmalloc(prefix + ab_pathname_len + 1, KSMBD_DEFAULT_GFP); in convert_to_nt_pathname()188 if (!nt_pathname) { in convert_to_nt_pathname()189 nt_pathname = ERR_PTR(-ENOMEM); in convert_to_nt_pathname()194 *nt_pathname = '/'; in convert_to_nt_pathname()195 memcpy(nt_pathname + prefix, &ab_pathname[share_path_len], in convert_to_nt_pathname()198 ksmbd_conv_path_to_windows(nt_pathname); in convert_to_nt_pathname()202 return nt_pathname; in convert_to_nt_pathname()