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