/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | pipe_test_003.cpp | 50 fcntl(*readFd, F_SETFL, flag | O_NONBLOCK); in TestPipeSingleProcessFcntl() 82 fcntl(*readFd, F_SETFL, O_NONBLOCK); in TestPipeSingleProcessFcntl() 83 ret = fcntl(*readFd, F_GETFL, O_NONBLOCK); in TestPipeSingleProcessFcntl() 84 printf("fctrl ret=%d,O_NONBLOCK=%d\n", ret, O_NONBLOCK); in TestPipeSingleProcessFcntl()
|
/kernel/liteos_m/testsuites/sample/posix/mqueue/ |
D | It_posix_queue_009.c | 46 mqueue = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase() 52 ICUNIT_GOTO_EQUAL(attrget.mq_flags, O_CREAT | O_RDWR | O_NONBLOCK, attrget.mq_flags, EXIT1); in Testcase() 56 if (!(attrget.mq_flags & O_NONBLOCK)) { in Testcase()
|
D | It_posix_queue_043.c | 43 mqdes = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in Testcase() 58 ICUNIT_ASSERT_NOT_EQUAL((mqstat.mq_flags & O_NONBLOCK), 0, ret); in Testcase()
|
D | It_posix_queue_012.c | 49 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase() 58 mqueue2 = mq_open(mqname, O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in Testcase()
|
D | It_posix_queue_044.c | 54 mqstat1.mq_flags |= O_NONBLOCK; in Testcase() 62 ICUNIT_GOTO_EQUAL(mqstat2.mq_flags, O_CREAT | O_RDWR | O_NONBLOCK, mqstat2.mq_flags, EXIT1); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
D | It_posix_queue_015.cpp | 47 mqueue = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase() 53 ICUNIT_GOTO_EQUAL(attrget.mq_flags, O_CREAT | O_RDWR | O_NONBLOCK, attrget.mq_flags, EXIT1); in Testcase() 57 ICUNIT_GOTO_NOT_EQUAL(attrget.mq_flags & O_NONBLOCK, 0, MQUEUE_IS_ERROR, EXIT1); in Testcase()
|
D | It_posix_queue_061.cpp | 45 mqdes = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in Testcase() 60 if (!(mqstat.mq_flags & O_NONBLOCK)) { in Testcase()
|
D | It_posix_queue_019.cpp | 49 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase() 58 mqueue2 = mq_open(mqname, O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, NULL); in Testcase()
|
/kernel/linux/linux-5.10/tools/include/uapi/asm-generic/ |
D | fcntl.h | 37 #ifndef O_NONBLOCK 38 #define O_NONBLOCK 00004000 macro 96 #define O_NDELAY O_NONBLOCK
|
/kernel/linux/linux-5.10/include/uapi/asm-generic/ |
D | fcntl.h | 38 #ifndef O_NONBLOCK 39 #define O_NONBLOCK 00004000 macro 97 #define O_NDELAY O_NONBLOCK
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
D | fcntl.h | 42 #ifndef O_NONBLOCK 43 #define O_NONBLOCK 00004000 macro 82 #define O_NDELAY O_NONBLOCK
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
D | fcntl.h | 28 #ifndef O_NONBLOCK 29 #define O_NONBLOCK 00004000 macro 68 #define O_NDELAY O_NONBLOCK
|
/kernel/linux/linux-5.10/arch/sparc/include/uapi/asm/ |
D | fcntl.h | 11 #define O_NONBLOCK 0x4000 macro 15 #define O_NDELAY (0x0004 | O_NONBLOCK)
|
/kernel/linux/linux-5.10/drivers/char/pcmcia/ |
D | cm4000_cs.c | 950 ((filp->f_flags & O_NONBLOCK) in cmm_read() 952 if (filp->f_flags & O_NONBLOCK) in cmm_read() 963 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read() 964 if (filp->f_flags & O_NONBLOCK) in cmm_read() 972 ((filp->f_flags & O_NONBLOCK) in cmm_read() 974 if (filp->f_flags & O_NONBLOCK) in cmm_read() 1102 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1104 if (filp->f_flags & O_NONBLOCK) in cmm_write() 1117 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1119 if (filp->f_flags & O_NONBLOCK) in cmm_write() [all …]
|
/kernel/liteos_m/testsuites/unittest/xts/ipc/msg_queue/ |
D | mq_exp_test.c | 63 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 106 queue = mq_open(qName, O_CREAT | O_WRONLY | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 112 attr.mq_flags |= O_NONBLOCK; 142 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 173 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 197 queue = mq_open(qName, O_CREAT | O_RDONLY | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 204 attr.mq_flags |= O_NONBLOCK; 359 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 380 queue = mq_open(qName, O_CREAT | O_WRONLY | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 387 attr.mq_flags |= O_NONBLOCK; [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | eventfd.h | 27 #define EFD_NONBLOCK O_NONBLOCK 29 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
D | userfaultfd_k.h | 28 #define UFFD_NONBLOCK O_NONBLOCK 30 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
/kernel/liteos_m/testsuites/unittest/posix/src/mqueue/ |
D | mqueue_func_test.c | 378 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 411 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 430 queue = mq_open(qName, O_CREAT | O_RDONLY | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 437 attr.mq_flags |= O_NONBLOCK; 468 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); 500 queue = mq_open(qName, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr);
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 68 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main() 81 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); in main()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/smoke/ |
D | It_posix_queue_062.cpp | 55 mqstat1.mq_flags |= O_NONBLOCK; in Testcase() 63 ICUNIT_GOTO_EQUAL(mqstat2.mq_flags, O_CREAT | O_RDWR | O_NONBLOCK, mqstat2.mq_flags, EXIT1); in Testcase()
|
/kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
D | compaction_test.c | 63 O_RDONLY | O_NONBLOCK); in prereq() 95 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | pidfd.h | 23 #define PIDFD_NONBLOCK O_NONBLOCK
|
D | timerfd.h | 27 #define TFD_NONBLOCK O_NONBLOCK
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | pidfd.h | 10 #define PIDFD_NONBLOCK O_NONBLOCK
|
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/ |
D | dmx-fwrite.rst | 58 - No data was written. This might happen if ``O_NONBLOCK`` was 60 ``O_NONBLOCK`` is not specified the function will block until buffer
|