Searched refs:F_SETFL (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/include/trace/misc/
H A Dfs.h56 { F_SETFL, "SETFL" }, \
77 { F_SETFL, "SETFL" }, \
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h59 err = fcntl(fd, F_SETFL, O_NONBLOCK);
H A Dperf_skip.c85 err = fcntl(perf_fd, F_SETFL, O_ASYNC);
86 if (!ASSERT_OK(err, "fcntl(F_SETFL, O_ASYNC)"))
H A Dlwt_redirect.c133 err = fcntl(s, F_SETFL, O_NONBLOCK);
/linux-master/tools/testing/selftests/net/netfilter/
H A Dconnect_close.c45 fcntl(s, F_SETFL, O_NONBLOCK);
/linux-master/tools/perf/tests/
H A Dbp_signal_overflow.c108 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
H A Dbp_signal.c131 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC);
/linux-master/tools/testing/selftests/perf_events/
H A Dwatermark_signal.c91 if (fcntl(fd, F_SETFL, FASYNC)) {
92 perror("F_SETFL FASYNC");
/linux-master/tools/perf/trace/beauty/
H A Dfcntl.c81 if (cmd == F_SETFL)
/linux-master/tools/testing/selftests/mm/
H A Duffd-stress.c282 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
284 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK);
H A Duffd-unit-tests.c780 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
839 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
1031 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK);
/linux-master/arch/um/os-Linux/
H A Dfile.c413 if (fcntl(fd, F_SETFL, flags) < 0) {
440 if (fcntl(fd, F_SETFL, flags) < 0)
458 if (fcntl(fd, F_SETFL, flags) < 0)
H A Dsigio.c437 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) ||
441 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0))
/linux-master/tools/testing/selftests/net/
H A Dtcp_mmap.c190 fcntl(fd, F_SETFL, O_NDELAY);
281 fcntl(fd, F_SETFL, 0);
/linux-master/samples/timers/
H A Dhpet_example.c253 (fcntl(fd, F_SETFL, value | O_ASYNC) == 1)) {
/linux-master/tools/testing/selftests/wireguard/qemu/
H A Dinit.c137 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0)
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c216 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0);
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Drepair.c175 if ((flags < 0) || (fcntl(sk, F_SETFL, flags | O_NONBLOCK) < 0))
H A Dsock.c28 if ((flags < 0) || (fcntl(sk, F_SETFL, flags | O_NONBLOCK) < 0))
95 if ((flags < 0) || (fcntl(sk, F_SETFL, flags | O_NONBLOCK) < 0))
/linux-master/samples/bpf/
H A Dxdp_router_ipv4_user.c464 fcntl(sock, F_SETFL, O_NONBLOCK);
484 fcntl(sock_arp, F_SETFL, O_NONBLOCK);
/linux-master/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c45 fcntl(fd, F_SETFL, flags);
/linux-master/security/tomoyo/
H A Dtomoyo.c315 if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND)))
/linux-master/tools/testing/selftests/bpf/
H A Dtrace_helpers.c409 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
/linux-master/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c107 ret = fcntl(fd, F_SETFL, flags);
109 perror("fcntl(F_SETFL)");

Completed in 333 milliseconds

12