Lines Matching defs:parent
64 #define WILLBLOCK 3 /* blocks, succeeds, parent unlocks records */
265 static int parent;
305 /* Lock should succeed after blocking and parent releases lock */
307 if ((kill(parent, SIGUSR2)) < 0) {
308 tst_resm(TFAIL, "Attempt to send signal to parent "
315 if ((kill(parent, SIGUSR1)) < 0) {
316 tst_resm(TFAIL, "Attempt to send signal to parent "
359 * Set flag to let parent know that child #1 is ready to have the
368 * Set flag to let parent know that child #2 is ready to have the
411 parent = getpid();
420 sprintf(tmpname, "fcntl4.%d", parent);
460 /* Initialize first parent lock structure */
464 /* set the initial parent lock on the file */
466 tst_resm(TFAIL, "First parent lock failed");
474 /* Initialize second parent lock structure */
478 /* set the second parent lock */
480 tst_resm(TFAIL, "Second parent lock failed");
502 if (self_exec(argv0, "ddddd", i, parent,
522 /* parent process */
549 /* set the third parent lock on the file */
551 tst_resm(TFAIL, "Third parent lock failed");
559 /* Initialize fourth parent lock structure */
563 /* set the fourth parent lock */
565 tst_resm(TINFO, "Fourth parent lock failed");
658 maybe_run_child(dochild_uc, "ddddd", &kid_uc, &parent, &test,