Home
last modified time | relevance | path

Searched refs:fullPath (Results 1 – 7 of 7) sorted by relevance

/kernel/uniproton/src/fs/vfs/
Dvfs_fs.c99 file->fullPath = strdup(path); in OsVfsOpen()
100 if (file->fullPath == NULL) { in OsVfsOpen()
192 if (file->fullPath != NULL) { in OsVfsClose()
193 free((void *)file->fullPath); in OsVfsClose()
314 if ((filep == NULL) || (filep->fMp == NULL) || filep->fullPath == NULL) { in OsVfsFstat()
317 ret = stat(filep->fullPath, buf); in OsVfsFstat()
Dvfs_files.c80 file->fullPath = NULL; in OsVfsPutFile()
Dvfs_files.h61 const char *fullPath; member
/kernel/liteos_m/components/fs/vfs/
Dvfs_fs.c278 file->fullPath = LOSCFG_FS_MALLOC_HOOK(len); in VfsOpen()
279 if (file->fullPath == NULL) { in VfsOpen()
285 (void)strcpy_s((char *)file->fullPath, len, path); in VfsOpen()
299 LOSCFG_FS_FREE_HOOK((void *)file->fullPath); in VfsOpen()
376 if (file->fullPath != NULL) { in VfsClose()
377 LOSCFG_FS_FREE_HOOK((void *)file->fullPath); in VfsClose()
1077 if ((filep == NULL) || (filep->fMp == NULL) || filep->fullPath == NULL) { in fstat()
1080 ret = stat(filep->fullPath, buf); in fstat()
Dvfs_files.c96 file->fullPath = NULL; in VfsFilePut()
Dvfs_files.h82 const char *fullPath; member
/kernel/liteos_a/syscall/
Dfs_syscall.c113 char *fullPath = NULL; in GetFullpathNull() local
122 fullPath = strdup(file->f_path); in GetFullpathNull()
123 if (fullPath == NULL) { in GetFullpathNull()
127 ret = GetFullpath(fd, path, &fullPath); in GetFullpathNull()
133 *filePath = fullPath; in GetFullpathNull()