Home
last modified time | relevance | path

Searched refs:F_SETFL (Results 1 – 25 of 36) sorted by relevance

12

/linux-5.19.10/include/trace/events/
Dfs.h56 { F_SETFL, "SETFL" }, \
77 { F_SETFL, "SETFL" }, \
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/
Dtrace_vprintk.c35 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_vprintk()
Dtrace_printk.c42 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in serial_test_trace_printk()
/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h104 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h104 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-5.19.10/tools/testing/selftests/netfilter/
Dconnect_close.c45 fcntl(s, F_SETFL, O_NONBLOCK); in do_connect()
/linux-5.19.10/tools/perf/tests/
Dbp_signal_overflow.c108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
Dbp_signal.c131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in __event()
/linux-5.19.10/arch/um/os-Linux/
Dfile.c413 if (fcntl(fd, F_SETFL, flags) < 0) { in os_set_fd_async()
440 if (fcntl(fd, F_SETFL, flags) < 0) in os_clear_fd_async()
458 if (fcntl(fd, F_SETFL, flags) < 0) in os_set_fd_block()
Dsigio.c436 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || in async_pty()
440 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty()
/linux-5.19.10/tools/perf/trace/beauty/
Dfcntl.c81 if (cmd == F_SETFL) in syscall_arg__scnprintf_fcntl_arg()
/linux-5.19.10/Documentation/userspace-api/media/dvb/
Dca-fopen.rst57 using the ``F_SETFL`` command of the ``fcntl`` system call. This is a
Ddmx-fopen.rst67 using the ``F_SETFL`` command of the fcntl system call.
Dfrontend_f_open.rst63 versa) using the F_SETFL command of the fcntl system call. This is a
/linux-5.19.10/drivers/staging/media/av7110/
Daudio-fopen.rst70 put into non-blocking mode (and vice versa) using the F_SETFL command
Dvideo-fopen.rst72 using the F_SETFL command of the fcntl system call. This is a standard
/linux-5.19.10/samples/timers/
Dhpet_example.c253 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) { in hpet_fasync()
/linux-5.19.10/tools/testing/selftests/wireguard/qemu/
Dinit.c137 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests()
/linux-5.19.10/tools/testing/selftests/vm/
Duserfaultfd.c1126 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_events_test()
1178 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_sig_test()
1457 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress()
1459 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); in userfaultfd_stress()
/linux-5.19.10/tools/testing/selftests/pidfd/
Dpidfd_wait.c206 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0); in TEST()
/linux-5.19.10/samples/bpf/
Dxdp_router_ipv4_user.c464 fcntl(sock, F_SETFL, O_NONBLOCK); in monitor_routes_thread()
484 fcntl(sock_arp, F_SETFL, O_NONBLOCK); in monitor_routes_thread()
/linux-5.19.10/tools/testing/selftests/net/af_unix/
Dtest_unix_oob.c45 fcntl(fd, F_SETFL, flags); in set_filemode()
/linux-5.19.10/tools/perf/
Dbuiltin-ftrace.c620 fcntl(trace_fd, F_SETFL, O_NONBLOCK); in __cmd_ftrace()
902 fcntl(trace_fd, F_SETFL, O_NONBLOCK); in __cmd_latency()
/linux-5.19.10/security/tomoyo/
Dtomoyo.c302 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl()
/linux-5.19.10/tools/testing/selftests/net/
Dtcp_mmap.c167 fcntl(fd, F_SETFL, O_NDELAY); in child_thread()

12