Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 - 25 of 733) sorted by relevance

12345678910>>...30

/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A 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/linux/linux-5.10/tools/include/uapi/asm-generic/
H A 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/
H A Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
97 #define O_NDELAY O_NONBLOCK
/kernel/linux/linux-6.6/include/uapi/asm-generic/
H A Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
96 #define O_NDELAY O_NONBLOCK
/kernel/linux/linux-6.6/tools/include/uapi/asm-generic/
H A Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
96 #define O_NDELAY O_NONBLOCK
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
H A Dfcntl.h28 #ifndef O_NONBLOCK
29 #define O_NONBLOCK 00004000 macro
68 #define O_NDELAY O_NONBLOCK
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/asm-generic/
H A Dfcntl.h42 #ifndef O_NONBLOCK
43 #define O_NONBLOCK 00004000 macro
82 #define O_NDELAY O_NONBLOCK
/kernel/liteos_m/testsuites/sample/posix/mqueue/
H A 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()
H A 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()
H A 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()
H A 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/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
H A Dfcntl.h42 #ifndef O_NONBLOCK
43 #define O_NONBLOCK 00004000 macro
82 #define O_NDELAY O_NONBLOCK
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/
H A 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()
H A 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()
H A 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/arch/sparc/include/uapi/asm/
H A Dfcntl.h11 #define O_NONBLOCK 0x4000 macro
15 #define O_NDELAY (0x0004 | O_NONBLOCK)
/kernel/linux/linux-6.6/arch/sparc/include/uapi/asm/
H A Dfcntl.h11 #define O_NONBLOCK 0x4000 macro
15 #define O_NDELAY (0x0004 | O_NONBLOCK)
/kernel/linux/linux-6.6/net/handshake/
H A Dhandshake-test.c222 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test4()
257 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test5()
295 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test6()
328 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test1()
364 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test2()
406 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test3()
464 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_destroy_test1()
/kernel/linux/linux-5.10/include/linux/
H A Deventfd.h27 #define EFD_NONBLOCK O_NONBLOCK
29 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
/kernel/linux/linux-5.10/drivers/char/pcmcia/
H A Dcm4000_cs.c950 ((filp->f_flags & O_NONBLOCK)
952 if (filp->f_flags & O_NONBLOCK)
963 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) {
964 if (filp->f_flags & O_NONBLOCK)
972 ((filp->f_flags & O_NONBLOCK)
974 if (filp->f_flags & O_NONBLOCK)
1102 ((filp->f_flags & O_NONBLOCK)
1104 if (filp->f_flags & O_NONBLOCK)
1117 ((filp->f_flags & O_NONBLOCK)
1119 if (filp->f_flags & O_NONBLOCK)
[all...]
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/smoke/
H A 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/liteos_m/testsuites/unittest/posix/src/mqueue/
H A 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/liteos_m/testsuites/unittest/xts/ipc/msg_queue/
H A 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/tools/testing/selftests/vm/
H A 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/linux-5.10/tools/testing/selftests/bpf/
H A 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()

Completed in 10 milliseconds

12345678910>>...30