Lines Matching refs:thislock
264 static struct flock *thislock; variable
324 if ((fcntl(fd, F_SETLKW, thislock)) < 0) { in dochild()
462 thislock = &thiscase->parent_a; in run_test()
465 if ((fcntl(fd, F_SETLK, thislock)) < 0) { in run_test()
475 thislock = &thiscase->parent_b; in run_test()
477 if ((thislock->l_type) != IGNORED) { /*SKIPVAL */ in run_test()
479 if ((fcntl(fd, F_SETLK, thislock)) < 0) { in run_test()
490 thislock = &thiscase->child_a; in run_test()
499 if (thislock->l_type != IGNORED) { in run_test()
503 test, thislock, fd) < 0) { in run_test()
517 flag[i] = thislock->l_pid; in run_test()
520 thislock = &thiscase->child_b; in run_test()
547 thislock = &thiscase->parent_c; in run_test()
550 if ((fcntl(fd, F_SETLK, thislock)) < 0) { in run_test()
560 thislock = &thiscase->parent_d; in run_test()
562 if ((thislock->l_type) != IGNORED) { /*SKIPVAL */ in run_test()
564 if ((fcntl(fd, F_SETLK, thislock)) < 0) { in run_test()
659 &thislock, &fd); in main()