Lines Matching refs:F_SETLEASE
26 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument.
138 #ifdef F_SETLEASE
140 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname
142 TEST(fcntl(fd, F_SETLEASE, F_WRLCK));
148 "fcntl(F_SETLEASE, F_WRLCK) failed on overlayfs as expected");
151 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s",
161 TEST(fcntl(fd, F_SETLEASE, F_UNLCK));
164 "fcntl(%s, F_SETLEASE, F_UNLCK) did not return 0, returned %ld",
168 "fcntl(%s, F_SETLEASE, F_WRLCK)",
173 tst_resm(TINFO, "F_SETLEASE not defined, skipping test");