Home
last modified time | relevance | path

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

/tools/include/uapi/asm-generic/
Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/tools/perf/tests/
Dbp_signal_overflow.c103 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
Dbp_signal.c128 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in __event()
/tools/perf/trace/beauty/
Dfcntl.c81 if (cmd == F_SETFL) in syscall_arg__scnprintf_fcntl_arg()
/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()
/tools/perf/lib/
Devlist.c274 fcntl(fd, F_SETFL, O_NONBLOCK); in perf_evlist__add_pollfd()
/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.c869 fcntl(self->fd, F_SETFL, flags | O_NONBLOCK); in TEST_F()
870 fcntl(self->cfd, F_SETFL, flags | O_NONBLOCK); in TEST_F()
/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()
/tools/power/acpi/tools/acpidbg/
Dacpidbg.c107 ret = fcntl(fd, F_SETFL, flags); in acpi_aml_set_fl()