Lines Matching refs:subpath
88 const char *subpath = path; in _get_subdir() local
89 while (*subpath == '/' && *subpath) in _get_subdir()
90 subpath ++; in _get_subdir()
91 while (*subpath != '/' && *subpath) in _get_subdir()
93 *name = *subpath; in _get_subdir()
95 subpath ++; in _get_subdir()
233 const char *subpath, *curpath, *filename = RT_NULL; in dfs_tmpfs_lookup() local
237 subpath = path; in dfs_tmpfs_lookup()
238 while (*subpath == '/' && *subpath) in dfs_tmpfs_lookup()
239 subpath ++; in dfs_tmpfs_lookup()
240 if (! *subpath) /* is root directory */ in dfs_tmpfs_lookup()
246 curpath = subpath; in dfs_tmpfs_lookup()
250 while (*subpath != '/' && *subpath) in dfs_tmpfs_lookup()
251 subpath ++; in dfs_tmpfs_lookup()
253 if (! *subpath) /* is last directory */ in dfs_tmpfs_lookup()
256 subpath ++; /* skip '/' */ in dfs_tmpfs_lookup()
278 curpath = subpath; in dfs_tmpfs_lookup()