Home
last modified time | relevance | path

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

12

/linux-5.15/tools/testing/selftests/bpf/prog_tests/
A Dtrace_printk.c43 fcntl(fileno(fp), F_SETFL, O_NONBLOCK); in test_trace_printk()
/linux-5.15/tools/include/uapi/asm-generic/
A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-5.15/include/uapi/asm-generic/
A Dfcntl.h104 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-5.15/tools/perf/tests/
H A Dbp_signal_overflow.c103 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
H A Dbp_signal.c131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in __event()
/linux-5.15/arch/um/os-Linux/
H A 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()
H A Dsigio.c437 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || in async_pty()
441 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty()
/linux-5.15/tools/perf/trace/beauty/
A Dfcntl.c81 if (cmd == F_SETFL) in syscall_arg__scnprintf_fcntl_arg()
/linux-5.15/Documentation/userspace-api/media/dvb/
A Dca-fopen.rst57 using the ``F_SETFL`` command of the ``fcntl`` system call. This is a
A Ddmx-fopen.rst67 using the ``F_SETFL`` command of the fcntl system call.
A Dfrontend_f_open.rst63 versa) using the F_SETFL command of the fcntl system call. This is a
/linux-5.15/drivers/staging/media/av7110/
A Daudio-fopen.rst70 put into non-blocking mode (and vice versa) using the F_SETFL command
A Dvideo-fopen.rst72 using the F_SETFL command of the fcntl system call. This is a standard
/linux-5.15/samples/timers/
A Dhpet_example.c253 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) { in hpet_fasync()
/linux-5.15/tools/testing/selftests/wireguard/qemu/
A Dinit.c142 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests()
/linux-5.15/tools/testing/selftests/vm/
A Duserfaultfd.c1121 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_events_test()
1175 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_sig_test()
1476 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress()
1478 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); in userfaultfd_stress()
/linux-5.15/tools/testing/selftests/pidfd/
A Dpidfd_wait.c208 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0); in TEST()
/linux-5.15/samples/bpf/
A 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-5.15/tools/testing/selftests/net/af_unix/
A Dtest_unix_oob.c45 fcntl(fd, F_SETFL, flags); in set_filemode()
/linux-5.15/tools/testing/selftests/net/
A Dtcp_mmap.c167 fcntl(fd, F_SETFL, O_NDELAY); in child_thread()
/linux-5.15/security/tomoyo/
H A Dtomoyo.c293 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) in tomoyo_file_fcntl()
/linux-5.15/tools/power/acpi/tools/acpidbg/
A Dacpidbg.c107 ret = fcntl(fd, F_SETFL, flags); in acpi_aml_set_fl()
/linux-5.15/tools/perf/bench/
A Dinject-buildid.c255 fcntl(data->output_pipe[0], F_SETFL, flag | O_NONBLOCK); in data_reader()
/linux-5.15/tools/lib/perf/
A Devlist.c323 fcntl(fd, F_SETFL, O_NONBLOCK); in perf_evlist__add_pollfd()
/linux-5.15/tools/testing/selftests/tpm2/
A Dtpm2.py370 fcntl.fcntl(self.tpm, fcntl.F_SETFL, flags)

12