Lines Matching defs:path
154 * convert_to_nt_pathname() - extract and return windows path string
155 * whose share directory prefix was removed from file path
157 * @path: path to report
159 * Return : windows path string or error
163 const struct path *path)
172 ab_pathname = d_path(path, pathname, PATH_MAX);
178 if (strncmp(ab_pathname, share->path, share_path_len)) {
210 void ksmbd_conv_path_to_unix(char *path)
212 strreplace(path, '\\', '/');
215 void ksmbd_strip_last_slash(char *path)
217 int len = strlen(path);
219 while (len && path[len - 1] == '/') {
220 path[len - 1] = '\0';
225 void ksmbd_conv_path_to_windows(char *path)
227 strreplace(path, '/', '\\');
301 memcpy(new_name, share->path, path_len);