/kernel/liteos_m/kal/posix/src/ |
D | pipe.c | 105 BOOL openFlag; member 346 INT32 PipeOpen(const CHAR *path, INT32 openFlag, INT32 minFd) in PipeOpen() argument 356 if ((openFlag != O_RDONLY) && (openFlag != O_WRONLY)) { in PipeOpen() 375 g_devFd[fd].openFlag = openFlag; in PipeOpen() 380 if (openFlag == O_RDONLY) { in PipeOpen() 382 } else if (openFlag == O_WRONLY) { in PipeOpen() 425 UINT32 openFlag; in PipeClose() local 434 openFlag = g_devFd[fd].openFlag; in PipeClose() 436 g_devFd[fd].openFlag = FALSE; in PipeClose() 441 if (openFlag == O_RDONLY) { in PipeClose() [all …]
|
D | mqueue.c | 179 …C struct mqpersonal *DoMqueueCreate(const struct mq_attr *attr, const CHAR *mqName, INT32 openFlag) in DoMqueueCreate() argument 221 …mqueueCB->mq_personal->mq_flags = (INT32)((UINT32)openFlag | ((UINT32)attr->mq_flags & (UINT32)FNO… in DoMqueueCreate() 233 STATIC struct mqpersonal *DoMqueueOpen(struct mqarray *mqueueCB, INT32 openFlag) in DoMqueueOpen() argument 253 privateMqPersonal->mq_flags = openFlag; in DoMqueueOpen() 262 mqd_t mq_open(const char *mqName, int openFlag, ...) in mq_open() argument 277 if ((UINT32)openFlag & (UINT32)O_CREAT) { in mq_open() 279 if (((UINT32)openFlag & (UINT32)O_EXCL)) { in mq_open() 283 privateMqPersonal = DoMqueueOpen(mqueueCB, openFlag); in mq_open() 285 va_start(ap, openFlag); in mq_open() 298 privateMqPersonal = DoMqueueCreate(&defaultAttr, mqName, openFlag); in mq_open() [all …]
|
/kernel/liteos_a/compat/posix/src/ |
D | mqueue.c | 163 …rsonal *DoMqueueCreate(const struct mq_attr *attr, const CHAR *mqName, INT32 openFlag, UINT32 mode) in DoMqueueCreate() argument 206 …mqueueCB->mq_personal->mq_flags = (INT32)((UINT32)openFlag | ((UINT32)attr->mq_flags & (UINT32)FNO… in DoMqueueCreate() 221 STATIC struct mqpersonal *DoMqueueOpen(struct mqarray *mqueueCB, INT32 openFlag) in DoMqueueOpen() argument 241 privateMqPersonal->mq_flags = openFlag; in DoMqueueOpen() 486 mqd_t mq_open(const char *mqName, int openFlag, ...) in mq_open() argument 503 if ((UINT32)openFlag & (UINT32)O_CREAT) { in mq_open() 505 if (((UINT32)openFlag & (UINT32)O_EXCL)) { in mq_open() 509 privateMqPersonal = DoMqueueOpen(mqueueCB, openFlag); in mq_open() 511 va_start(ap, openFlag); in mq_open() 519 privateMqPersonal = DoMqueueCreate(&defaultAttr, mqName, openFlag, mode); in mq_open() [all …]
|
D | semaphore.c | 173 sem_t *sem_open(const char *name, int openFlag, ...) in sem_open() argument 176 (VOID)openFlag; in sem_open()
|
/kernel/liteos_m/kal/posix/include/ |
D | pipe_impl.h | 48 INT32 PipeOpen(const CHAR *path, INT32 openFlag, INT32 minFd);
|
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
D | mqueue.h | 51 mqd_t mq_open(const char *mqName, int openFlag, ...);
|
/kernel/liteos_a/compat/posix/include/ |
D | mqueue.h | 170 extern mqd_t mq_open(const char *mqName, int openFlag, ...);
|
/kernel/liteos_a/syscall/ |
D | ipc_syscall.c | 61 mqd_t SysMqOpen(const char *mqName, int openFlag, mode_t mode, struct mq_attr *attr) in SysMqOpen() argument 71 ret = mq_open(kMqName, openFlag, mode, attr); in SysMqOpen()
|
D | los_syscall.h | 120 extern mqd_t SysMqOpen(const char *mqName, int openFlag, mode_t mode, struct mq_attr *attr);
|
/kernel/uniproton/src/fs/littlefs/ |
D | lfs_adapter.c | 400 static S32 OsLfsOpen(struct TagFile *file, const char *pathName, S32 openFlag) in OsLfsOpen() argument 417 S32 lfsOpenFlag = OsConvertFlagToLfsOpenFlag(openFlag); in OsLfsOpen()
|
/kernel/liteos_m/components/fs/littlefs/ |
D | lfs_adapter.c | 427 int LfsOpen(struct File *file, const char *pathName, int openFlag) in LfsOpen() argument 444 int lfsOpenFlag = ConvertFlagToLfsOpenFlag(openFlag); in LfsOpen()
|