Lines Matching refs:F_WRLCK

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