Searched refs:stat_time (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 56 static int stat_time; variable 90 stat_time = FIRST; in test_hugeshmctl() 151 if (stat_time == SECOND) { in stat_setup() 162 test = (stat_time == FIRST) ? set_shmat() : set_shared; in stat_setup() 211 if (buf.shm_nattch != N_ATTACH + stat_time) { in func_stat() 224 "- pass #%d", stat_time); in func_stat() 250 if (stat_time == SECOND) in stat_cleanup() 253 stat_time++; in stat_cleanup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl01.c | 62 static int stat_time; variable 138 maybe_run_child(do_child, "ddd", &stat_i, &stat_time, &shm_id_1); in main() 146 stat_time = FIRST; in main() 224 if (stat_time == SECOND) in stat_setup() 239 if (self_exec(argv0, "ddd", stat_i, stat_time, in stat_setup() 258 if (stat_time == FIRST) in do_child() 305 if (!fail && buf.shm_nattch != N_ATTACH + stat_time) { in func_istat() 327 "- pass #%d", stat_time); in func_istat() 345 if (stat_time == SECOND) { in stat_cleanup() 354 stat_time++; in stat_cleanup()
|