Lines Matching refs:F_WRLCK
183 do_test(&fl, F_WRLCK, 0, 0, 0); in unlock_file()
283 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
292 do_test(&tl, F_WRLCK, 0, 0, 0); in main()
298 do_test(&tl, F_WRLCK, 0, 6, 0); in main()
299 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main()
304 do_test(&tl, F_WRLCK, 0, 15, 0); in main()
321 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
330 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
336 do_test(&tl, (short)F_WRLCK, (short)0, 10, 0); in main()
337 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main()
342 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
359 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
368 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
374 do_test(&tl, (short)F_WRLCK, (short)0, 11, 0); in main()
375 compare_lock(&tl, (short)F_WRLCK, (short)0, 11, 4, parent_pid); in main()
380 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
397 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
406 do_test(&tl, (short)F_WRLCK, (short)0, 5, 0); in main()
412 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0); in main()
413 compare_lock(&tl, (short)F_WRLCK, (short)0, 13, 2, parent_pid); in main()
418 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
435 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0) in main()
444 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
445 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 3, parent_pid); in main()
450 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0); in main()
456 do_test(&tl, (short)F_WRLCK, (short)0, 18, 0); in main()
457 compare_lock(&tl, (short)F_WRLCK, (short)0, 18, 2, parent_pid); in main()
462 do_test(&tl, (short)F_WRLCK, (short)0, 20, 0); in main()
477 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
489 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
490 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 3, parent_pid); in main()
495 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0); in main()
501 do_test(&tl, (short)F_WRLCK, (short)0, 18, 0); in main()
518 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
530 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
531 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 4, parent_pid); in main()
536 do_test(&tl, (short)F_WRLCK, (short)0, 14, 0); in main()
542 do_test(&tl, (short)F_WRLCK, (short)0, 19, 0); in main()
560 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
572 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
573 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main()
578 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main()
584 do_test(&tl, (short)F_WRLCK, (short)0, 20, 0); in main()
601 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
610 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main()
611 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main()
616 do_test(&tl, (short)F_WRLCK, (short)0, 15, 1); in main()
622 do_test(&tl, (short)F_WRLCK, (short)0, 16, 0); in main()
628 do_test(&tl, (short)F_WRLCK, (short)0, 21, 0); in main()