Searched refs:alarm_flag (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl15.c | 72 static volatile sig_atomic_t parent_flag, child_flag, alarm_flag; variable 84 alarm_flag = 1; in alarm_sig() 149 while (parent_flag == 0 && alarm_flag == 0) in dochild1() 158 alarm_flag = 0; in dochild1() 224 while (child_flag == 0 && alarm_flag == 0) in dofork() 232 alarm_flag = 0; in dofork() 300 while (parent_flag == 0 && alarm_flag == 0) in dochild2() 309 alarm_flag = 0; in dochild2() 382 child_flag = parent_flag = alarm_flag = 0; in run_test() 480 while (child_flag == 0 && alarm_flag == 0) in run_test() [all …]
|
D | fcntl16.c | 269 static int alarm_flag = 0; variable 353 alarm_flag = 1; in catch_alarm() 493 alarm_flag = parent_flag = 0; in run_test() 530 while (!alarm_flag in run_test() 545 child_flag1 = child_flag2 = alarm_flag = 0; in run_test() 581 alarm_flag = nexited = 0; in run_test() 588 if (errno != EINTR || alarm_flag != 1) { in run_test()
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill02.c | 181 int alarm_flag = FALSE; /*This flag indicates an alarm time out. */ variable 313 while ((read(pipe1_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout() 318 while ((read(pipe2_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout() 326 if (alarm_flag == TRUE) { in parent_rout() 434 while ((read(pipe1_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in parent_rout() 539 while ((read(pipeA_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in child1_rout() 543 while ((read(pipeB_fd[0], pipe_buf, 1) != 1) && (alarm_flag == FALSE)) in child1_rout() 550 if (alarm_flag == TRUE) { in child1_rout() 802 alarm_flag = TRUE; in notify_timeout()
|