Lines Matching defs:flock_fileA
71 static lockinfo_t flock_fileA = { "a", NULL, -1 };
200 assert_unlocked(&flock_fileA);
345 VERIFY3S(flock_copyfil(&flock_fileA, &afd1), ==, 0);
346 VERIFY3S(flock_copyfil(&flock_fileA, &afd2), ==, 0);
347 VERIFY3S(flock_copyfil(&flock_fileA, &afd3), ==, 0);
353 assert_read_locked_by(&flock_fileA, -1);
359 assert_read_locked_by(&flock_fileA, -1);
366 assert_write_locked_by(&flock_fileA, -1);
371 flock_run(LSTYLE_FLOCK, B_FALSE, &flock_fileA, &pid, fds);
375 assert_read_locked_by(&flock_fileA, -1);
381 assert_read_locked_by(&flock_fileA, -1);
383 assert_write_locked_by(&flock_fileA, -1);
515 VERIFY3S(flock_copyfil(&flock_fileA, &afd1), ==, 0);
516 VERIFY3S(flock_copyfil(&flock_fileA, &afd2), ==, 0);
517 VERIFY3S(flock_copyfil(&flock_fileA, &afd3), ==, 0);
522 assert_read_locked_by(&flock_fileA, -1);
537 assert_write_locked_by(&flock_fileA, -1);
568 &flock_fileA, &flock_fileB, B_TRUE);
570 &flock_fileA, &flock_fileB, B_FALSE);
578 &flock_fileA, &flock_fileB, B_TRUE);
580 &flock_fileA, &flock_fileB, B_FALSE);
597 flock_test_invalid(&flock_fileA, cmds[i], 200, 0, 0, 0);
598 flock_test_invalid(&flock_fileA, cmds[i], -1, 0, 0, 0);
601 flock_test_invalid(&flock_fileA, cmds[i], F_WRLCK, 1, 0, 0);
602 flock_test_invalid(&flock_fileA, cmds[i], F_WRLCK, 0, 1, 0);
603 flock_test_invalid(&flock_fileA, cmds[i], F_WRLCK, 0, 0, 1);
647 if (flock_mkfil(&flock_fileA) != 0 ||
672 flock_rminfo(&flock_fileA);