Lines Matching refs:path
2350 const TCHAR** path /* Pointer to pointer to the segment in the path string */
2363 p = *path; lfn = dp->obj.fs->lfnbuf; di = 0;
2369 if (wc < ' ' || IsSeparator(wc)) break; /* Break if end of the path or a separator is found */
2374 if (wc < ' ') { /* Stopped at end of the path? */
2381 *path = p; /* Return pointer to the next segment */
2487 p = *path; sfn = dp->fn;
2498 *path = p + si; /* Return pointer to the next segment */
2499 sfn[NSFLAG] = (c <= ' ') ? NS_LAST | NS_DOT : NS_DOT; /* Set last segment flag if end of the path */
2505 if (c <= ' ') break; /* Break if end of the path name */
2535 *path = &p[si]; /* Return pointer to the next segment */
2539 sfn[NSFLAG] = (c <= ' ' || p[si] <= ' ') ? NS_LAST : 0; /* Set last segment flag if end of the path */
2549 /* Follow a file path */
2554 const TCHAR* path /* Full-path string to find a file or directory */
2563 if (!IsSeparator(*path) && (FF_STR_VOLUME_ID != 2 || !IsTerminator(*path))) { /* Without heading separator */
2568 while (IsSeparator(*path)) path++; /* Strip separators */
2572 if ((UINT)*path < ' ') { /* Null path name is the origin directory itself */
2576 } else { /* Follow path */
2578 res = create_name(dp, &path); /* Get a segment name of the path */
2614 /* Get logical drive number from path name */
2618 const TCHAR** path /* Pointer to pointer to the path name */
2631 tt = tp = *path;
2632 if (!tp) return vol; /* Invalid path name? */
2633 do { /* Find a colon in the path */
2646 sp = VolumeStr[i]; tp = *path; /* This string volume ID and path name */
2647 do { /* Compare the volume ID with path name */
2657 *path = tt; /* Snip the drive prefix off */
2667 do { /* Compare the volume ID with path name */
2675 *path = tt; /* Snip the drive prefix off */
2804 const TCHAR** path, /* Pointer to pointer to the path name (drive number) */
2820 vol = get_ldnumber(path);
3060 const TCHAR* path, /* Logical drive number to be mounted/unmounted */
3067 const TCHAR *rp = path;
3101 res = mount_volume(&path, &fs, 0); /* Force mounted the volume */
3274 const TCHAR* path, /* Pointer to the file name */
3299 res = mount_volume(&path, &fs, mode);
3313 res = follow_virentry(&dj.obj,path);
3324 res = follow_path(&dj, path); /* Follow the file path */
3895 const TCHAR* path /* Drive number to set */
3902 vol = get_ldnumber(&path);
3912 const TCHAR* path /* Pointer to the directory path */
3925 res = mount_volume(&path, &fs, 0);
3929 res = follow_path(&dj, path); /* Follow the path */
3957 TCHAR* buff, /* Pointer to the directory path */
3984 /* Follow parent directories and create the path */
4006 if (i < n + 1) { /* Insufficient space to store the path name? */
4033 /* Add current directory path */
4035 do { /* Copy stacked path string */
4214 const TCHAR* path /* Pointer to the directory path */
4225 res = mount_volume(&path, &fs, 0);
4229 res = follow_path(dp, path); /* Follow the path to the directory */
4362 const TCHAR* path, /* Pointer to the directory to open */
4370 res = f_opendir(dp, path); /* Open the target directory */
4387 const TCHAR* path, /* Pointer to the file path */
4397 res = mount_volume(&path, &dj.obj.fs, 0);
4400 res = follow_path(&dj, path); /* Follow the file path */
4471 const TCHAR* path, /* Logical drive number */
4480 res = mount_volume(&path, &fs, 0);
4599 const TCHAR* path /* Pointer to the file or directory path */
4620 res = mount_volume(&path, &fs, FA_WRITE);
4634 res = follow_virentry(&dj.obj,path);
4645 res = follow_path(&dj, path); /* Follow the file path */
4748 const TCHAR* path /* Pointer to the directory path */
4765 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */
4780 res = follow_virentry(&dj.obj,path);
4791 res = follow_path(&dj, path); /* Follow the file path */
4978 if (res == FR_NO_FILE) { /* It is a valid path and no name collision */
5044 const TCHAR* path, /* Pointer to the file path */
5058 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */
5068 res = follow_virentry(&dj.obj,path);
5079 res = follow_path(&dj, path); /* Follow the file path */
5110 const TCHAR* path, /* Pointer to the file/directory name */
5120 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */
5124 res = follow_path(&dj, path); /* Follow the file path */
5149 const TCHAR* path, /* Logical drive number */
5161 res = mount_volume(&path, &fs, 0);
5610 const TCHAR* path, /* Logical drive number */
5646 vol = get_ldnumber(&path); /* Get target logical drive */