Lines Matching refs:path
214 * along the target path, with target defined as a full absolute path
216 * Returns the path translated to a Linux path
217 * or NULL if the path is not valid
220 static char *search_absolute(ntfs_volume *vol, ntfschar *path,
234 * Examine and translate the path, until we reach either
240 * examined later when the translated path is dereferenced,
241 * however the final part of the path will not be adjusted
247 && (path[start + len] != const_cpu_to_le16('\\')))
249 inum = ntfs_fix_file_name(ni, &path[start], len);
257 path[start++] = const_cpu_to_le16('/');
266 if (ntfs_ucstombs(path, count, &target, 0) < 0) {
279 * Search for a symbolic link along the target path,
280 * with the target defined as a relative path
282 * Note : the path used to access the current inode, may be
286 * Returns the path translated to a Linux path
287 * or NULL if the path is not valid
290 static char *search_relative(ntfs_inode *ni, ntfschar *path, int count)
307 * Examine and translate the path, until we reach either
313 * examined later when the translated path is dereferenced,
314 * however the final part of the path will not be adjusted
319 && (path[pos] == const_cpu_to_le16('.'))
320 && (path[pos+1] == const_cpu_to_le16('\\'))) {
321 path[pos+1] = const_cpu_to_le16('/');
325 && (path[pos] == const_cpu_to_le16('.'))
326 &&(path[pos+1] == const_cpu_to_le16('.'))
327 && (path[pos+2] == const_cpu_to_le16('\\'))) {
328 path[pos+2] = const_cpu_to_le16('/');
339 && (path[pos + lth] != const_cpu_to_le16('\\')))
342 inum = ntfs_fix_file_name(curni,&path[pos],lth);
358 path[pos + lth] = const_cpu_to_le16('/');
378 if (ok && (ntfs_ucstombs(path, count, &target, 0) < 0)) {
553 * In the first situation, the target is translated to case-sensitive path.
592 * Directory junction with an explicit path and
656 * In the first situation, the target is translated to case-sensitive path.
675 * For a full valid path we want x:\
685 * For an absolute path we want an initial \
693 * Full path, with a drive letter and
696 * Do the same for an abs path with no drive letter.
722 * full path with target not found on current volume :
761 * translated to a case-sensitive path.
779 * returns the target converted to a relative path, or NULL