Lines Matching refs:F_WRLCK

216 	do_test(&fl, F_WRLCK, 0, 0, 0);  in unlock_file()
341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
363 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 0, 0) < 0) { in main()
372 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
373 compare_lock(&tl, (short)F_WRLCK, (short)0, 0, 0, parent_pid); in main()
402 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 1, 5) < 0) { in main()
411 do_test(&tl, F_WRLCK, 0, 0, 0); in main()
412 compare_lock(&tl, (short)F_WRLCK, (short)0, 1, 5, parent_pid); in main()
417 do_test(&tl, F_WRLCK, 0, 6, 0); in main()
423 do_test(&tl, F_WRLCK, 0, 15, 0); in main()
452 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 5) < 0) { in main()
461 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
462 compare_lock(&tl, (short)F_WRLCK, (short)0, 5, 5, parent_pid); in main()
467 do_test(&tl, (short)F_WRLCK, (short)0, 10, 0); in main()
473 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
502 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 6) < 0) { in main()
511 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
512 compare_lock(&tl, (short)F_WRLCK, (short)0, 5, 6, parent_pid); in main()
517 do_test(&tl, (short)F_WRLCK, (short)0, 11, 0); in main()
523 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
552 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 8) < 0) { in main()
561 do_test(&tl, (short)F_WRLCK, (short)0, 5, 0); in main()
562 compare_lock(&tl, (short)F_WRLCK, (short)0, 5, 8, parent_pid); in main()
567 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0); in main()
573 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
602 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 13, 5) < 0) { in main()
611 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
617 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0); in main()
618 compare_lock(&tl, (short)F_WRLCK, (short)0, 13, 5, parent_pid); in main()
623 do_test(&tl, (short)F_WRLCK, (short)0, 18, 0); in main()
629 do_test(&tl, (short)F_WRLCK, (short)0, 20, 0); in main()
659 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 13, 5) < 0) { in main()
668 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
674 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0); in main()
675 compare_lock(&tl, (short)F_WRLCK, (short)0, 13, 5, parent_pid); in main()
680 do_test(&tl, (short)F_WRLCK, (short)0, 18, 0); in main()
712 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 14, 5) < 0) { in main()
721 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
727 do_test(&tl, (short)F_WRLCK, (short)0, 14, 0); in main()
728 compare_lock(&tl, (short)F_WRLCK, (short)0, 14, 5, parent_pid); in main()
733 do_test(&tl, (short)F_WRLCK, (short)0, 19, 0); in main()
766 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 15, 5) < 0) { in main()
775 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
781 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
782 compare_lock(&tl, (short)F_WRLCK, (short)0, 15, 5, parent_pid); in main()
787 do_test(&tl, (short)F_WRLCK, (short)0, 20, 0); in main()
816 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 16, 5) < 0) { in main()
825 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
831 do_test(&tl, (short)F_WRLCK, (short)0, 15, 1); in main()
837 do_test(&tl, (short)F_WRLCK, (short)0, 16, 0); in main()
838 compare_lock(&tl, (short)F_WRLCK, (short)0, 16, 5, parent_pid); in main()
843 do_test(&tl, (short)F_WRLCK, (short)0, 21, 0); in main()