Home
last modified time | relevance | path

Searched refs:chld_args (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c280 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/
Dmmap1.c293 long chld_args[3]; in main() local
386 chld_args[0] = fd; in main()
387 chld_args[1] = file_size; in main()
388 chld_args[2] = num_iter; in main()
392 chld_args))) in main()
398 if ((ret = pthread_create(&thid[1], NULL, read_mem, chld_args))) in main()
Dshmat1.c398 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/
Dtrace_sched.c304 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()