Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/sched/
Dcs_prctl_test.c113 int thr_tids[MAX_THREADS]; member
123 static void create_threads(int num_threads, int thr_tids[]) in create_threads() argument
137 thr_tids[i] = tid; in create_threads()
147 create_threads(ca->num_threads, ca->thr_tids); in child_func_process()
149 write(ca->pfd[1], &ca->thr_tids, sizeof(int) * ca->num_threads); in child_func_process()
177 read(proc[i].pfd[0], &proc[i].thr_tids, sizeof(int) * proc[i].num_threads); in create_processes()
193 printf(" tid=%d, / tgid=%d / pgid=%d: %lx\n", proc[i].thr_tids[j], in disp_processes()
194 proc[i].cpid, getpgid(0), get_cs_cookie(proc[i].thr_tids[j])); in disp_processes()
280 validate(get_cs_cookie(0) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
289 validate(get_cs_cookie(pid) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
[all …]