Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 25 of 440) sorted by relevance

12345678910>>...18

/kernel/liteos_a/testsuites/unittest/extended/signal/full/
Dpipe_test_003.cpp50 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/
DIt_posix_queue_009.c46 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()
DIt_posix_queue_043.c43 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()
DIt_posix_queue_012.c49 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()
DIt_posix_queue_044.c54 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/
DIt_posix_queue_015.cpp47 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()
DIt_posix_queue_061.cpp45 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()
DIt_posix_queue_019.cpp49 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/
Dfcntl.h37 #ifndef O_NONBLOCK
38 #define O_NONBLOCK 00004000 macro
96 #define O_NDELAY O_NONBLOCK
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dfcntl.h38 #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/
Dfcntl.h42 #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/
Dfcntl.h28 #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/
Dfcntl.h11 #define O_NONBLOCK 0x4000 macro
15 #define O_NDELAY (0x0004 | O_NONBLOCK)
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dcm4000_cs.c950 ((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/
Dmq_exp_test.c63 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/
Deventfd.h27 #define EFD_NONBLOCK O_NONBLOCK
29 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Duserfaultfd_k.h28 #define UFFD_NONBLOCK O_NONBLOCK
30 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
/kernel/liteos_m/testsuites/unittest/posix/src/mqueue/
Dmqueue_func_test.c378 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/
Dtest_lirc_mode2_user.c68 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/
DIt_posix_queue_062.cpp55 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/
Dcompaction_test.c63 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/
Dpidfd.h23 #define PIDFD_NONBLOCK O_NONBLOCK
Dtimerfd.h27 #define TFD_NONBLOCK O_NONBLOCK
/kernel/linux/linux-5.10/include/uapi/linux/
Dpidfd.h10 #define PIDFD_NONBLOCK O_NONBLOCK
/kernel/linux/linux-5.10/Documentation/userspace-api/media/dvb/
Ddmx-fwrite.rst58 - No data was written. This might happen if ``O_NONBLOCK`` was
60 ``O_NONBLOCK`` is not specified the function will block until buffer

12345678910>>...18