/tools/include/uapi/asm-generic/ |
D | fcntl.h | 38 #ifndef O_NONBLOCK 39 #define O_NONBLOCK 00004000 macro 96 #define O_NDELAY O_NONBLOCK
|
/tools/testing/selftests/bpf/ |
D | test_lirc_mode2_user.c | 69 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main() 82 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); in main()
|
/tools/testing/selftests/kvm/lib/ |
D | userfaultfd_util.c | 134 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in uffd_setup_demand_paging() 151 ret = pipe2(uffd_desc->pipefds, O_CLOEXEC | O_NONBLOCK); in uffd_setup_demand_paging()
|
/tools/testing/selftests/mm/ |
D | compaction_test.c | 63 O_RDONLY | O_NONBLOCK); in prereq() 97 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
|
D | uffd-common.h | 41 #define UFFD_FLAGS (O_CLOEXEC | O_NONBLOCK | UFFD_USER_MODE_ONLY)
|
D | uffd-stress.c | 282 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress() 284 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); in userfaultfd_stress()
|
D | hugepage-mremap.c | 68 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in register_region_with_uffd()
|
/tools/testing/selftests/pidfd/ |
D | pidfd.h | 50 #define PIDFD_NONBLOCK O_NONBLOCK
|
D | pidfd_wait.c | 198 ASSERT_GT((flags & O_NONBLOCK), 0); in TEST() 216 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0); in TEST()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | trace_vprintk.c | 39 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_vprintk()
|
D | trace_printk.c | 46 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_printk()
|
D | lwt_helpers.h | 60 err = fcntl(fd, F_SETFL, O_NONBLOCK); in open_tuntap()
|
/tools/perf/trace/beauty/ |
D | open_flags.c | 53 #ifdef O_NONBLOCK in open__scnprintf_flags()
|
/tools/testing/selftests/netfilter/ |
D | connect_close.c | 45 fcntl(s, F_SETFL, O_NONBLOCK); in do_connect()
|
/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 422 fd = open(acpi_aml_file_path, O_RDWR | O_NONBLOCK); in main() 428 acpi_aml_set_fl(STDIN_FILENO, O_NONBLOCK); in main() 429 acpi_aml_set_fl(STDOUT_FILENO, O_NONBLOCK); in main()
|
/tools/perf/tests/ |
D | bp_signal_overflow.c | 108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
|
D | bp_signal.c | 131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in __event()
|
/tools/virtio/virtio-trace/ |
D | trace-agent-rw.c | 67 if (pipe2(data_pipe, O_NONBLOCK) < 0) { in rw_thread_init()
|
/tools/testing/selftests/proc/ |
D | read.c | 45 fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); in f_reg()
|
/tools/laptop/dslm/ |
D | dslm.c | 147 if (!(fd = open(disk, O_RDONLY|O_NONBLOCK))) { in main()
|
/tools/testing/selftests/net/af_unix/ |
D | test_unix_oob.c | 42 flags &= ~O_NONBLOCK; in set_filemode() 44 flags |= O_NONBLOCK; in set_filemode()
|
/tools/testing/selftests/ir/ |
D | ir_loopback.c | 96 fd = open(buf, O_RDWR | O_NONBLOCK); in lirc_open()
|
/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 294 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue() 303 printf("\t\tmq_flags:\t\t\t%s\n", result.mq_flags & O_NONBLOCK ? in open_queue() 712 attr.mq_flags = O_NONBLOCK; in main()
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-pagefault.c | 148 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in setup_uf_mem()
|
/tools/wmi/ |
D | dell-smbios-example.c | 47 fd = open(ioctl_devfs, O_NONBLOCK); in run_wmi_smbios_cmd()
|