Home
last modified time | relevance | path

Searched refs:fullPath (Results 1 - 9 of 9) sorted by relevance

/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
H A DIt_process_plimits_ipc_004.cpp58 std::string fullPath = rootplimitsPath + "/" + *iter; in ItProcessPlimitsIpc004() local
59 ret = chmod(fullPath.c_str(), mode); in ItProcessPlimitsIpc004()
64 std::string fullPath = subPlimitsPath + "/" + *iter; in ItProcessPlimitsIpc004() local
65 ret = chmod(fullPath.c_str(), mode); in ItProcessPlimitsIpc004()
H A DIt_process_plimits_ipc_002.cpp52 std::string fullPath = plimitsRootPath + *iter; in ItProcessPlimitsIpc002() local
53 fd = access(fullPath.c_str(), W_OK | X_OK); in ItProcessPlimitsIpc002()
55 fd = access(fullPath.c_str(), F_OK | R_OK); in ItProcessPlimitsIpc002()
/kernel/liteos_a/syscall/
H A 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()
341 char *fullPath = NULL; in ProcRealProcessDirGet() local
344 int ret = vfs_normalize_path(NULL, path, &fullPath); in ProcRealProcessDirGet()
350 if (strncmp(fullPath, PROCESS_DIR_ROOT, procLen) != 0) { in ProcRealProcessDirGet()
351 free(fullPath); in ProcRealProcessDirGet()
355 char *pidStr = NextName(fullPath in ProcRealProcessDirGet()
[all...]
/kernel/uniproton/src/fs/vfs/
H A 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()
H A Dvfs_files.h61 const char *fullPath; member
H A Dvfs_files.c80 file->fullPath = NULL; in OsVfsPutFile()
/kernel/liteos_m/components/fs/vfs/
H A Dvfs_fs.c271 file->fullPath = LOSCFG_FS_MALLOC_HOOK(len); in VfsOpen()
272 if (file->fullPath == NULL) { in VfsOpen()
278 (void)strcpy_s((char *)file->fullPath, len, path); in VfsOpen()
292 LOSCFG_FS_FREE_HOOK((void *)file->fullPath); in VfsOpen()
369 if (file->fullPath != NULL) { in VfsClose()
370 LOSCFG_FS_FREE_HOOK((void *)file->fullPath); in VfsClose()
1084 if ((filep == NULL) || (filep->fMp == NULL) || filep->fullPath == NULL) { in fstat()
1087 ret = stat(filep->fullPath, buf); in fstat()
H A Dvfs_files.h82 const char *fullPath; member
H A Dvfs_files.c96 file->fullPath = NULL; in VfsFilePut()

Completed in 8 milliseconds