Lines Matching refs:F_SETLEASE
27 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument.
139 #ifdef F_SETLEASE
141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname
143 TEST(fcntl(fd, F_SETLEASE, F_WRLCK));
149 "fcntl(F_SETLEASE, F_WRLCK) failed on overlayfs as expected");
152 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s",
162 TEST(fcntl(fd, F_SETLEASE, F_UNLCK));
165 "fcntl(%s, F_SETLEASE, F_UNLCK) did not return 0, returned %ld",
169 "fcntl(%s, F_SETLEASE, F_WRLCK)",
174 tst_resm(TINFO, "F_SETLEASE not defined, skipping test");