Lines Matching refs:team

41   struct gomp_team *team = thr->ts.team;  in gomp_ordered_first()  local
46 if (team == NULL || team->nthreads == 1) in gomp_ordered_first()
50 if (index >= team->nthreads) in gomp_ordered_first()
51 index -= team->nthreads; in gomp_ordered_first()
58 gomp_sem_post (team->ordered_release[thr->ts.team_id]); in gomp_ordered_first()
72 struct gomp_team *team = thr->ts.team; in gomp_ordered_last() local
77 if (team == NULL || team->nthreads == 1) in gomp_ordered_last()
87 if (next == team->nthreads) in gomp_ordered_last()
92 gomp_sem_post (team->ordered_release[next_id]); in gomp_ordered_last()
107 struct gomp_team *team = thr->ts.team; in gomp_ordered_next() local
112 if (team == NULL || team->nthreads == 1) in gomp_ordered_next()
123 gomp_sem_post (team->ordered_release[thr->ts.team_id]); in gomp_ordered_next()
130 if (ws->ordered_num_used < team->nthreads) in gomp_ordered_next()
133 if (index >= team->nthreads) in gomp_ordered_next()
134 index -= team->nthreads; in gomp_ordered_next()
139 if (index == team->nthreads) in gomp_ordered_next()
144 gomp_sem_post (team->ordered_release[next_id]); in gomp_ordered_next()
155 struct gomp_team *team = thr->ts.team; in gomp_ordered_static_init() local
157 if (team == NULL || team->nthreads == 1) in gomp_ordered_static_init()
160 gomp_sem_post (team->ordered_release[0]); in gomp_ordered_static_init()
173 struct gomp_team *team = thr->ts.team; in gomp_ordered_static_next() local
177 if (team == NULL || team->nthreads == 1) in gomp_ordered_static_next()
183 if (++id == team->nthreads) in gomp_ordered_static_next()
186 gomp_sem_post (team->ordered_release[id]); in gomp_ordered_static_next()
197 struct gomp_team *team = thr->ts.team; in gomp_ordered_sync() local
202 if (team == NULL || team->nthreads == 1) in gomp_ordered_sync()
217 gomp_sem_wait (team->ordered_release[thr->ts.team_id]); in gomp_ordered_sync()