| /xnu-10063.141.1/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 | lockf_basic.c | 45 return fcntl(fd, (pid == -1) ? F_OFD_GETLK : F_OFD_GETLKPID, fl); in ofd_get() 57 return fcntl(fd, (pid == -1) ? F_GETLK : F_GETLKPID, fl); in posix_get() 70 return fcntl(fd, (flags & WAIT) ? F_SETLKW : F_SETLK, &fl); in posix_lock() 83 return fcntl(fd, (flags & WAIT) ? F_OFD_SETLKW : F_OFD_SETLK, &fl); in ofd_lock() 96 return fcntl(fd, F_SETLK, &fl); in posix_unlock() 109 return fcntl(fd, F_OFD_SETLK, &fl); in ofd_unlock() 276 T_ASSERT_POSIX_SUCCESS(fcntl(a_confined, F_SETCONFINED, 1), "F_SETCONFINED"); 278 T_ASSERT_POSIX_SUCCESS(fcntl(b_confined, F_SETCONFINED, 1), "F_SETCONFINED"); 667 T_ASSERT_POSIX_SUCCESS(fcntl(a, F_SETLK, &fl), "SEEK_END: -10, 10"); 676 T_ASSERT_POSIX_SUCCESS(fcntl(a, F_SETLK, &fl), "SEEK_END: -file_len, file_len"); [all …]
|
| 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 | recvmsg_x_ctrunc.c | 248 int flags = fcntl(recvSocket, F_GETFL, 0); 249 T_QUIET; T_EXPECT_POSIX_SUCCESS(fcntl(recvSocket, F_SETFL, flags | O_NONBLOCK), "fcntl()"); 286 int flags = fcntl(recvSocket, F_GETFL, 0); 287 T_QUIET; T_EXPECT_POSIX_SUCCESS(fcntl(recvSocket, F_SETFL, flags | O_NONBLOCK), "fcntl()");
|
| 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 | vsock.c | 502 long arg = fcntl(socket, F_GETFL, NULL); 505 result = fcntl(socket, F_SETFL, arg);
|
| 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()
|
| /xnu-10063.141.1/libsyscall/wrappers/cancelable/ |
| H A D | fcntl-base.c | 33 fcntl(int fd, int cmd, ...) in fcntl() function
|
| /xnu-10063.141.1/bsd/sys/ |
| H A D | fcntl.h | 817 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.… 82 fcntl.h \ 151 errno.h ev.h event.h fcntl.h file.h filio.h \
|
| /xnu-10063.141.1/bsd/man/man2/ |
| H A D | Makefile | 55 fcntl.2 \
|
| /xnu-10063.141.1/tests/vfs/ |
| H A D | freeable_vnodes.c | 246 …T_ASSERT_POSIX_SUCCESS(fcntl(dlpath_fd, F_GETPATH, &path), "path is %s, iteration number is %d and…
|
| /xnu-10063.141.1/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… 509 …B121C8EE4008C073F /* fcntl-base.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileTyp… 510 …A04E121C8F06008C073F /* fcntl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 511 …121C8FE2008C073F /* fcntl-cancel.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileTy… 958 248BA04B121C8EE4008C073F /* fcntl-base.c */, 959 248BA04E121C8F06008C073F /* fcntl.c */, 960 248BA051121C8FE2008C073F /* fcntl-cancel.c */, 1571 248BA04F121C8F06008C073F /* fcntl.c in Sources */, 1574 248BA05C121C9649008C073F /* fcntl-cancel.c in Sources */,
|
| /xnu-10063.141.1/tests/vm/ |
| H A D | test_vm_no_pager.m | 2 #include <fcntl.h>
|
| /xnu-10063.141.1/tools/tests/superpages/ |
| H A D | testsp.c | 643 fcntl(fd, F_NOCACHE, 1); in test_fileio()
|