Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/mem/mtest07/
Dshm_test.c284 struct child_args chld_args[30]; /* arguments to the thread function */ in main() local
325 chld_args[i].num_reps = num_reps; in main()
326 chld_args[i].map_size = map_size; in main()
327 chld_args[i].shmkey = shmkey++; in main()
328 chld_args[i].is_reader = 0; in main()
330 (&chld_args[i].threadid, NULL, shmat_rd_wr, &chld_args[i])) { in main()
335 chld_args[i + 1] = chld_args[i]; in main()
336 chld_args[i + 1].is_reader = 1; in main()
338 (&chld_args[i + 1].threadid, NULL, shmat_rd_wr, &chld_args[i + 1])) { in main()
347 if (pthread_join(chld_args[i].threadid, &th_status) != 0) { in main()
[all …]
/third_party/ltp/testcases/kernel/mem/mtest06/
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()
/third_party/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()