Lines Matching refs:fcntl
156 if (fcntl(fd, F_GETLK, &fl1) < 0) in test1()
209 if (fcntl(fd, F_SETLK, &fl) < 0) in test2()
229 res = fcntl(fd, F_SETLK, &fl); in test2()
280 if (fcntl(fd, F_SETLK, &fl) < 0) in test3()
303 res = fcntl(fd, F_SETLKW, &fl); in test3()
349 if (fcntl(fd, F_SETLK, &fl) < 0) in test4()
368 if (fcntl(fd, F_GETLK, &fl) < 0) in test4()
424 if (fcntl(fd, F_SETLK, &fl) < 0) in test5()
437 if (fcntl(fd, F_SETLK, &fl) < 0) in test5()
440 if (fcntl(fd, F_SETLKW, &fl) < 0) in test5()
460 res = fcntl(fd, F_SETLKW, &fl); in test5()
470 if (fcntl(fd, F_SETLK, &fl) < 0) in test5()
510 if (fcntl(fd, F_SETLK, &fl) < 0) in test6()
523 if (fcntl(fd, F_SETLK, &fl) < 0) in test6()
540 if (fcntl(fd, F_SETLK, &fl) < 0) in test6()
543 if (fcntl(fd, F_SETLKW, &fl) < 0) in test6()
564 res = fcntl(fd, F_SETLKW, &fl); in test6()
573 if (fcntl(fd, F_SETLK, &fl) < 0) in test6()
624 if (fcntl(fd, F_SETLK, &fl) < 0) in test7()
646 res = fcntl(fd, F_SETLK, &fl); in test7()
696 if (fcntl(fd, F_SETLK, &fl) < 0) in test8()
718 res = fcntl(fd, F_SETLK, &fl); in test8()
728 if (fcntl(fd, F_SETLK, &fl) < 0) in test8()
773 if (fcntl(fd, F_SETLK, &fl) < 0) in test9()
795 res = fcntl(fd, F_SETLK, &fl); in test9()
848 if (fcntl(fd, F_SETLK, &fl) < 0) in test10()
865 if (fcntl(fd, F_GETLK, &fl) < 0) in test10()
906 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
910 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
914 res = fcntl(fd, F_GETLK, &fl); in test11()
923 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
932 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
936 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
941 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
945 res = fcntl(fd, F_GETLK, &fl); in test11()
952 res = fcntl(fd, F_SETLK_REMOTE, &fl); in test11()
998 if (fcntl(fd, F_SETLK, &fl) < 0) in test12()
1022 res = fcntl(fd, F_SETLKW, &fl); in test12()
1032 if (fcntl(fd, F_SETLK, &fl) < 0) in test12()
1081 if (fcntl(fd, F_SETLK, &fl) < 0) in test13()
1110 res = fcntl(fd, F_SETLKW, &fl); in test13()
1120 if (fcntl(fd, F_SETLK, &fl) < 0) in test13()
1203 if (fcntl(fd, F_SETLKW, &fl) < 0) { in test14()
1362 if (fcntl(fd, F_SETLK, &fl) < 0) in test15()
1400 res = fcntl(fd, F_GETLK, &fl); in test15()
1424 error = fcntl(tc->tc_fd, F_SETLKW, &tc->tc_fl); in test16_func()
1470 if (fcntl(fd, F_SETLK, &tc.tc_fl) < 0) in test16()