| /xnu-8792.41.9/tests/ |
| H A D | file_leases.c | 122 err = fcntl(fd, F_SETLEASE, F_RDLCK); 126 err = fcntl(fd, F_GETLEASE); 142 err = fcntl(fd, F_SETLEASE, F_RDLCK); 159 err = fcntl(fd, F_SETLEASE, F_WRLCK); 178 err = fcntl(fd, F_SETLEASE, F_RDLCK); 202 err = fcntl(fd, F_SETLEASE, F_UNLCK); 221 err = fcntl(fd, F_SETLEASE, F_WRLCK); 245 err = fcntl(fd, F_SETLEASE, F_RDLCK); 273 err = fcntl(fd, F_SETLEASE, F_SETLEASE_ARG(F_WRLCK, 3)); 298 err = fcntl(fd, F_SETLEASE, F_SETLEASE_ARG(F_RDLCK, 2)); [all …]
|
| H A D | lockf_EOF_77264182.c | 46 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETLK, &fl), "wrlock"); 49 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETLK, &fl), "unlock"); 53 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETLK, &fl), "wrlock 2");
|
| H A D | uipc_kevent.c | 36 int flags = fcntl(sockets[0], F_GETFL); in test_kevent() 37 T_ASSERT_POSIX_SUCCESS(fcntl(sockets[0], F_SETFL, flags | O_NONBLOCK), "fcntl"); in test_kevent() 74 int flags = fcntl(sockets[0], F_GETFL); in test_kevent_lowat() 75 T_ASSERT_POSIX_SUCCESS(fcntl(sockets[0], F_SETFL, flags | O_NONBLOCK), "fcntl"); in test_kevent_lowat()
|
| H A D | fd.c | 111 T_EXPECT_EQ(fcntl(fd2, F_GETFD, 0), 0, 126 fcntl(*fdp, F_SETCONFINED, 1); in confine_thread() 145 T_QUIET; T_ASSERT_EQ(fcntl(fd, F_GETCONFINED), 0,
|
| H A D | sendmsg_x_test.c | 122 int flags = fcntl(socket_fds[1], F_GETFL, 0); 123 T_EXPECT_POSIX_SUCCESS(fcntl(socket_fds[1], F_SETFL, flags | O_NONBLOCK), "fcntl() O_NONBLOCK");
|
| H A D | tcp_input_outputopts_uaf_56155583.c | 77 T_ASSERT_POSIX_SUCCESS(fcntl(s, F_SETFL, fcntl(s, F_GETFL) | O_NONBLOCK), NULL);
|
| H A D | ioperf.c | 93 T_ASSERT_POSIX_ZERO(fcntl(fd, F_NOCACHE, 1), "fcntl F_NOCACHE enable"); in io_perf_test_io_init() 171 T_ASSERT_POSIX_ZERO(fcntl(test_file_fd, F_NOCACHE, 1), "fcntl F_NOCACHE enable"); in perform_io() 172 T_ASSERT_POSIX_ZERO(fcntl(test_file_fd, F_RDAHEAD, 0), "fcntl F_RDAHEAD disable"); in perform_io()
|
| H A D | uipc_sosendcheck.c | 92 int flags = fcntl(sk, F_GETFL, 0); in cfg_sk() 94 T_ASSERT_POSIX_SUCCESS(fcntl(sk, F_SETFL, flags | O_NONBLOCK), in cfg_sk()
|
| H A D | pipe_kevent.c | 56 fcntl(write_fd, F_SETFL, (O_NONBLOCK));
|
| H A D | fcntl.c | 36 int result = fcntl(fd, F_ADDSIGS, &args);
|
| H A D | recvmsg_x_test.c | 182 int flags = fcntl(recvSocket, F_GETFL, 0); 183 T_QUIET; T_EXPECT_POSIX_SUCCESS(fcntl(recvSocket, F_SETFL, flags | O_NONBLOCK), "fcntl()");
|
| H A D | tty_hang.c | 194 (void)fcntl(master_fd, F_SETFL, O_NONBLOCK); in run_test()
|
| H A D | disk_mount_conditioner.c | 289 fcntl(fd, F_FULLFSYNC); 527 fcntl(temp_fd, F_NOCACHE, 1); in perf_setup()
|
| H A D | poll_select_kevent_paired_fds.c | 552 fd_flags = fcntl(fd, F_GETFL, 0); in read_from_fd() 557 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETFL, in read_from_fd()
|
| H A D | vsock.c | 502 long arg = fcntl(socket, F_GETFL, NULL); 505 result = fcntl(socket, F_SETFL, arg);
|
| H A D | net_tuntests.c | 130 T_QUIET; T_EXPECT_POSIX_SUCCESS(flags = fcntl(s, F_GETFL, 0), NULL); in setblocking() 146 T_QUIET; T_EXPECT_POSIX_SUCCESS(flags = fcntl(s, F_SETFL, flags), NULL); in setblocking()
|
| H A D | proc_info.c | 622 retval = fcntl(tmp_fd, F_NOCACHE, 1); in proc_info_caller()
|
| H A D | kqueue_file_tests.c | 241 fcntl(tmpwritefd, F_SETFL, O_WRONLY | O_NONBLOCK); in open_fifo()
|
| /xnu-8792.41.9/libsyscall/wrappers/cancelable/ |
| H A D | fcntl-base.c | 33 fcntl(int fd, int cmd, ...) in fcntl() function
|
| /xnu-8792.41.9/bsd/sys/ |
| H A D | fcntl.h | 798 int fcntl(int, int, ...) __DARWIN_ALIAS_C(fcntl);
|
| H A D | Makefile | 35 …errno.h ev.h event.h fasttrap.h fasttrap_isa.h fcntl.h file.h filedesc.h filio.h fsgetpath.h gmon.… 80 fcntl.h \ 152 errno.h ev.h event.h fcntl.h file.h filio.h \
|
| /xnu-8792.41.9/bsd/man/man2/ |
| H A D | Makefile | 55 fcntl.2 \
|
| H A D | getdirentriesattr.2 | 335 #include <fcntl.h>
|
| /xnu-8792.41.9/libsyscall/Libsyscall.xcodeproj/ |
| H A D | project.pbxproj | 83 …248BA04F121C8F06008C073F /* fcntl.c in Sources */ = {isa = PBXBuildFile; fileRef = 248BA04E121C8F0… 84 …248BA05C121C9649008C073F /* fcntl-cancel.c in Sources */ = {isa = PBXBuildFile; fileRef = 248BA051… 506 …B121C8EE4008C073F /* fcntl-base.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileTyp… 507 …A04E121C8F06008C073F /* fcntl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 508 …121C8FE2008C073F /* fcntl-cancel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileTy… 950 248BA04B121C8EE4008C073F /* fcntl-base.c */, 951 248BA04E121C8F06008C073F /* fcntl.c */, 952 248BA051121C8FE2008C073F /* fcntl-cancel.c */, 1537 248BA04F121C8F06008C073F /* fcntl.c in Sources */, 1540 248BA05C121C9649008C073F /* fcntl-cancel.c in Sources */,
|
| /xnu-8792.41.9/tools/tests/superpages/ |
| H A D | testsp.c | 643 fcntl(fd, F_NOCACHE, 1); in test_fileio()
|