| /Linux-v5.4/include/uapi/asm-generic/ |
| D | fcntl.h | 104 #define F_SETFL 4 /* set file->f_flags */ macro
|
| /Linux-v5.4/tools/include/uapi/asm-generic/ |
| D | fcntl.h | 103 #define F_SETFL 4 /* set file->f_flags */ macro
|
| /Linux-v5.4/arch/um/os-Linux/ |
| D | file.c | 409 if (fcntl(fd, F_SETFL, flags) < 0) { in os_set_fd_async() 436 if (fcntl(fd, F_SETFL, flags) < 0) in os_clear_fd_async() 454 if (fcntl(fd, F_SETFL, flags) < 0) in os_set_fd_block()
|
| D | sigio.c | 419 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || in async_pty() 423 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty()
|
| /Linux-v5.4/tools/perf/tests/ |
| D | bp_signal_overflow.c | 103 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
|
| D | bp_signal.c | 136 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in __event()
|
| /Linux-v5.4/tools/perf/trace/beauty/ |
| D | fcntl.c | 81 if (cmd == F_SETFL) in syscall_arg__scnprintf_fcntl_arg()
|
| /Linux-v5.4/tools/testing/selftests/vm/ |
| D | userfaultfd.c | 927 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_events_test() 986 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_sig_test() 1114 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress() 1116 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); in userfaultfd_stress()
|
| /Linux-v5.4/Documentation/media/uapi/dvb/ |
| D | ca-fopen.rst | 67 using the ``F_SETFL`` command of the ``fcntl`` system call. This is a
|
| D | audio-fopen.rst | 80 put into non-blocking mode (and vice versa) using the F_SETFL command
|
| D | video-fopen.rst | 81 using the F_SETFL command of the fcntl system call. This is a standard
|
| D | dmx-fopen.rst | 76 using the ``F_SETFL`` command of the fcntl system call.
|
| D | frontend_f_open.rst | 73 versa) using the F_SETFL command of the fcntl system call. This is a
|
| /Linux-v5.4/samples/timers/ |
| D | hpet_example.c | 253 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) { in hpet_fasync()
|
| /Linux-v5.4/tools/perf/lib/ |
| D | evlist.c | 274 fcntl(fd, F_SETFL, O_NONBLOCK); in perf_evlist__add_pollfd()
|
| /Linux-v5.4/samples/bpf/ |
| D | xdp_router_ipv4_user.c | 535 fcntl(sock, F_SETFL, O_NONBLOCK); in monitor_route() 553 fcntl(sock_arp, F_SETFL, O_NONBLOCK); in monitor_route()
|
| /Linux-v5.4/tools/testing/selftests/net/ |
| D | tcp_mmap.c | 138 fcntl(fd, F_SETFL, O_NDELAY); in child_thread()
|
| D | nettest.c | 1147 if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) { in lsock_init() 1296 if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) { in connectsock()
|
| D | tls.c | 841 fcntl(self->fd, F_SETFL, flags | O_NONBLOCK); in TEST_F() 842 fcntl(self->cfd, F_SETFL, flags | O_NONBLOCK); in TEST_F()
|
| /Linux-v5.4/security/tomoyo/ |
| D | tomoyo.c | 300 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl()
|
| /Linux-v5.4/tools/perf/ |
| D | builtin-ftrace.c | 360 fcntl(trace_fd, F_SETFL, O_NONBLOCK); in __cmd_ftrace()
|
| D | builtin-kvm.c | 922 if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) { in fd_set_nonblock()
|
| /Linux-v5.4/tools/power/acpi/tools/acpidbg/ |
| D | acpidbg.c | 107 ret = fcntl(fd, F_SETFL, flags); in acpi_aml_set_fl()
|
| /Linux-v5.4/fs/ |
| D | fcntl.c | 346 case F_SETFL: in do_fcntl()
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | vfs.rst | 1069 called by the fcntl(2) system call for F_SETFL command
|