Home
last modified time | relevance | path

Searched refs:FNONBLOCK (Results 1 - 4 of 4) sorted by relevance

/kernel/liteos_m/kal/posix/src/
H A Dmqueue_impl.h82 #ifndef FNONBLOCK
83 #define FNONBLOCK O_NONBLOCK macro
H A Dmqueue.c221 mqueueCB->mq_personal->mq_flags = (INT32)((UINT32)openFlag | ((UINT32)attr->mq_flags & (UINT32)FNONBLOCK)); in DoMqueueCreate()
420 privateMqPersonal->mq_flags = (INT32)((UINT32)privateMqPersonal->mq_flags & (UINT32)(~FNONBLOCK)); /* clear */ in OsMqSetAttr()
421 if (((UINT32)mqSetAttr->mq_flags & (UINT32)FNONBLOCK) == (UINT32)FNONBLOCK) { in OsMqSetAttr()
422 privateMqPersonal->mq_flags = (INT32)((UINT32)privateMqPersonal->mq_flags | (UINT32)FNONBLOCK); in OsMqSetAttr()
492 if ((UINT32)flags & (UINT32)FNONBLOCK) { in ConvertTimeout()
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A DIt_posix_queue_168.cpp32 #define FNONBLOCK O_NONBLOCK macro
51 mqueue = mq_open(mqname, FNONBLOCK | O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase()
/kernel/liteos_a/compat/posix/src/
H A Dmqueue.c45 #define FNONBLOCK O_NONBLOCK macro
175 mqueueCB->mq_personal->mq_flags = (INT32)((UINT32)openFlag | ((UINT32)attr->mq_flags & (UINT32)FNONBLOCK)); in MqueueCBInit()
666 privateMqPersonal->mq_flags = (INT32)((UINT32)privateMqPersonal->mq_flags & (UINT32)(~FNONBLOCK)); /* clear */ in OsMqSetAttr()
667 if (((UINT32)mqSetAttr->mq_flags & (UINT32)FNONBLOCK) == (UINT32)FNONBLOCK) { in OsMqSetAttr()
668 privateMqPersonal->mq_flags = (INT32)((UINT32)privateMqPersonal->mq_flags | (UINT32)FNONBLOCK); in OsMqSetAttr()
714 if ((UINT32)flags & (UINT32)FNONBLOCK) { in ConvertTimeout()

Completed in 4 milliseconds