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

12

/linux-master/include/trace/misc/
H A Dfs.h56 { F_SETFL, "SETFL" }, \
77 { F_SETFL, "SETFL" }, \
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_printk.c46 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
H A Dtrace_vprintk.c39 fcntl(fileno(fp), F_SETFL, O_NONBLOCK);
H A Dlwt_helpers.h59 err = fcntl(fd, F_SETFL, O_NONBLOCK);
H A Dlwt_redirect.c133 err = fcntl(s, F_SETFL, O_NONBLOCK);
/linux-master/tools/testing/selftests/netfilter/
H A Dconnect_close.c45 fcntl(s, F_SETFL, O_NONBLOCK);
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-master/tools/include/uapi/asm-generic/
H A Dfcntl.h103 #define F_SETFL 4 /* set file->f_flags */ macro
/linux-master/tools/perf/trace/beauty/
H A Dfcntl.c81 if (cmd == F_SETFL)
/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);
H A Dbuiltin-test.c297 fcntl(out, F_SETFL, O_NONBLOCK);
299 fcntl(err, F_SETFL, O_NONBLOCK);
/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)))

Completed in 401 milliseconds

12