Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/uapi/asm-generic/
Dfcntl.h104 #define F_SETFL 4 /* set file->f_flags */ macro
/Linux-v5.4/tools/include/uapi/asm-generic/
Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/Linux-v5.4/arch/um/os-Linux/
Dfile.c409 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()
Dsigio.c419 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/
Dbp_signal_overflow.c103 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
Dbp_signal.c136 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in __event()
/Linux-v5.4/tools/perf/trace/beauty/
Dfcntl.c81 if (cmd == F_SETFL) in syscall_arg__scnprintf_fcntl_arg()
/Linux-v5.4/tools/testing/selftests/vm/
Duserfaultfd.c927 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/
Dca-fopen.rst67 using the ``F_SETFL`` command of the ``fcntl`` system call. This is a
Daudio-fopen.rst80 put into non-blocking mode (and vice versa) using the F_SETFL command
Dvideo-fopen.rst81 using the F_SETFL command of the fcntl system call. This is a standard
Ddmx-fopen.rst76 using the ``F_SETFL`` command of the fcntl system call.
Dfrontend_f_open.rst73 versa) using the F_SETFL command of the fcntl system call. This is a
/Linux-v5.4/samples/timers/
Dhpet_example.c253 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) { in hpet_fasync()
/Linux-v5.4/tools/perf/lib/
Devlist.c274 fcntl(fd, F_SETFL, O_NONBLOCK); in perf_evlist__add_pollfd()
/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c535 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/
Dtcp_mmap.c138 fcntl(fd, F_SETFL, O_NDELAY); in child_thread()
Dnettest.c1147 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()
Dtls.c841 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/
Dtomoyo.c300 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl()
/Linux-v5.4/tools/perf/
Dbuiltin-ftrace.c360 fcntl(trace_fd, F_SETFL, O_NONBLOCK); in __cmd_ftrace()
Dbuiltin-kvm.c922 if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) { in fd_set_nonblock()
/Linux-v5.4/tools/power/acpi/tools/acpidbg/
Dacpidbg.c107 ret = fcntl(fd, F_SETFL, flags); in acpi_aml_set_fl()
/Linux-v5.4/fs/
Dfcntl.c346 case F_SETFL: in do_fcntl()
/Linux-v5.4/Documentation/filesystems/
Dvfs.rst1069 called by the fcntl(2) system call for F_SETFL command

12