Lines Matching refs:F_WRLCK
159 err = fcntl(fd, F_SETLEASE, F_WRLCK);
221 err = fcntl(fd, F_SETLEASE, F_WRLCK);
273 err = fcntl(fd, F_SETLEASE, F_SETLEASE_ARG(F_WRLCK, 3));
663 err = fcntl(fd, F_SETLEASE, F_WRLCK);
668 T_ASSERT_EQ(err, F_WRLCK, "Retrieve lease: %s", g_testfile);
799 err = fcntl(fd, F_SETLEASE, F_WRLCK);
838 err = fcntl(fd, F_SETLEASE, F_WRLCK);
847 T_ASSERT_EQ(err, F_WRLCK, "Retrieve lease with dup fd: %d", dup_fd);
899 err = fcntl(fd, F_SETLEASE, F_WRLCK);
908 T_ASSERT_EQ(err, F_WRLCK, "Retrieve lease with fork fd: %d", fd);
1110 err = fcntl(dir_fd, F_SETLEASE, F_WRLCK);