Lines Matching refs:subpath
98 const char *subpath = path; in _get_subdir() local
99 while (*subpath == '/' && *subpath) in _get_subdir()
100 subpath ++; in _get_subdir()
101 while (*subpath != '/' && *subpath) in _get_subdir()
103 *name = *subpath; in _get_subdir()
105 subpath ++; in _get_subdir()
189 const char *subpath, *curpath, *filename = RT_NULL; in devtmpfs_file_lookup() local
193 subpath = path; in devtmpfs_file_lookup()
194 while (*subpath == '/' && *subpath) in devtmpfs_file_lookup()
195 subpath ++; in devtmpfs_file_lookup()
197 if (! *subpath) /* is root directory */ in devtmpfs_file_lookup()
202 curpath = subpath; in devtmpfs_file_lookup()
206 while (*subpath != '/' && *subpath) in devtmpfs_file_lookup()
207 subpath ++; in devtmpfs_file_lookup()
209 if (! *subpath) /* is last directory */ in devtmpfs_file_lookup()
212 subpath ++; /* skip '/' */ in devtmpfs_file_lookup()
231 curpath = subpath; in devtmpfs_file_lookup()