Home
last modified time | relevance | path

Searched refs:f_oflags (Results 1 – 12 of 12) sorted by relevance

/kernel/liteos_a/fs/vfs/operation/
Dvfs_fallocate.c60 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) { in file_fallocate()
131 if (filep->f_oflags & O_DIRECTORY) { in fallocate()
Dvfs_fallocate64.c61 if (((unsigned int)(filep->f_oflags) & O_ACCMODE) == O_RDONLY) { in file_fallocate64()
136 if ((unsigned int)filep->f_oflags & O_DIRECTORY) { in fallocate64()
Dvfs_force_umount.c387 if (filep->f_oflags & O_DIRECTORY) { in FilePreClose()
/kernel/liteos_a/compat/posix/src/
Dstdio.c52 if (filep->f_oflags & O_DIRECTORY) { in _lseek()
92 if (filep->f_oflags & O_DIRECTORY) { in _lseek64()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_syscall.c84 …if (!((unsigned int)filep->f_oflags & O_RDWR) && (((unsigned int)filep->f_oflags & O_ACCMODE) ^ O_… in OsNamedMmapingPermCheck()
88 if (((unsigned int)filep->f_oflags & O_APPEND) && (prot & PROT_WRITE)) { in OsNamedMmapingPermCheck()
91 if ((prot & PROT_WRITE) && !((unsigned int)filep->f_oflags & O_RDWR)) { in OsNamedMmapingPermCheck()
180 UINT32 fileFlags = region->unTypeData.rf.f_oflags; in OsProtMprotectPermCheck()
Dlos_vm_filemap.c505 region->unTypeData.rf.f_oflags = filep->f_oflags; in OsVfsFileMmap()
Dlos_vm_map.c680 newRegion->unTypeData.rf.f_oflags = oldRegion->unTypeData.rf.f_oflags;
/kernel/liteos_a/kernel/common/
Dvirtual_serial.c230 g_serialFilep.f_oflags = O_RDWR; in virtual_serial_init()
Dconsole.c1068 filep->f_oflags = O_RDWR; in OsConsoleDevInit()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h97 int f_oflags; member
/kernel/liteos_a/syscall/
Dfs_syscall.c1427 if (filep->f_oflags & O_DIRECTORY) { in SysFstat()
1464 if (filep->f_oflags & O_DIRECTORY) { in SysFsync()
/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c780 if ((filep->f_oflags & O_ACCMODE) == O_RDONLY) { in fatfs_lseek64()