Lines Matching refs:F_WRLCK
160 err = fcntl(fd, F_SETLEASE, F_WRLCK);
222 err = fcntl(fd, F_SETLEASE, F_WRLCK);
274 err = fcntl(fd, F_SETLEASE, F_SETLEASE_ARG(F_WRLCK, 3));
664 err = fcntl(fd, F_SETLEASE, F_WRLCK);
669 T_ASSERT_EQ(err, F_WRLCK, "Retrieve lease: %s", g_testfile);
800 err = fcntl(fd, F_SETLEASE, F_WRLCK);
839 err = fcntl(fd, F_SETLEASE, F_WRLCK);
848 T_ASSERT_EQ(err, F_WRLCK, "Retrieve lease with dup fd: %d", dup_fd);
900 err = fcntl(fd, F_SETLEASE, F_WRLCK);
909 T_ASSERT_EQ(err, F_WRLCK, "Retrieve lease with fork fd: %d", fd);
1111 err = fcntl(dir_fd, F_SETLEASE, F_WRLCK);