Searched refs:chld_args (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/mem/mtest07/ |
D | shm_test.c | 280 long chld_args[4]; /* arguments to the thread function */ in main() local 314 chld_args[0] = num_reps; in main() 321 chld_args[1] = shmkey++; in main() 322 chld_args[2] = map_size; in main() 327 chld_args[3] = WRITER; in main() 330 (&thrdid[thrd_ndx], NULL, shmat_rd_wr, chld_args)) { in main() 335 chld_args[3] = READER; in main() 338 (&thrdid[thrd_ndx + 1], NULL, shmat_rd_wr, chld_args)) { in main()
|
/external/ltp/testcases/kernel/mem/mtest06/ |
D | shmat1.c | 398 long chld_args[3]; /* arguments to funcs execed by child process */ in main() local 463 chld_args[0] = num_iter; in main() 468 if (pthread_create(&thid[0], NULL, shmat_shmdt, chld_args)) { in main() 478 if (pthread_create(&thid[1], NULL, write_to_mem, chld_args)) { in main() 488 if (pthread_create(&thid[2], NULL, read_from_mem, chld_args)) { in main()
|
/external/ltp/testcases/kernel/sched/tool/ |
D | trace_sched.c | 304 thread_sched_t *chld_args; /* arguments to funcs execed by child process. */ in main() local 390 chld_args = args_table[thrd_ndx]; in main() 391 chld_args->s_policy = spcy; in main() 393 chld_args)) { in main()
|