Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/dflybsd-src/sys/netproto/802_11/wlan/
H A Dieee80211_tdma.c148 struct ieee80211_tdma_state *ts; in ieee80211_tdma_vattach() local
154 ts = (struct ieee80211_tdma_state *) kmalloc( in ieee80211_tdma_vattach()
158 ts = (struct ieee80211_tdma_state *) IEEE80211_MALLOC( in ieee80211_tdma_vattach()
162 if (ts == NULL) { in ieee80211_tdma_vattach()
169 ts->tdma_version = TDMA_VERSION; in ieee80211_tdma_vattach()
170 ts->tdma_slotlen = TDMA_SLOTLEN_DEFAULT; in ieee80211_tdma_vattach()
171 ts->tdma_slotcnt = TDMA_SLOTCNT_DEFAULT; in ieee80211_tdma_vattach()
172 ts->tdma_bintval = TDMA_BINTVAL_DEFAULT; in ieee80211_tdma_vattach()
173 ts->tdma_slot = 1; /* passive operation */ in ieee80211_tdma_vattach()
189 ts->tdma_opdetach = vap->iv_opdetach; in ieee80211_tdma_vattach()
[all …]
/dflybsd-src/sys/dev/drm/include/linux/
H A Dtime.h73 #define getrawmonotonic(ts) nanouptime(ts) argument
78 struct timespec ts; in timespec_sub() local
80 timespecsub(&lhs, &rhs, &ts); in timespec_sub()
82 return ts; in timespec_sub()
86 set_normalized_timespec(struct timespec *ts, time_t sec, int64_t nsec) in set_normalized_timespec() argument
89 ts->tv_sec = sec; in set_normalized_timespec()
90 ts->tv_nsec = nsec; in set_normalized_timespec()
94 timespec_to_ns(const struct timespec *ts) in timespec_to_ns() argument
96 return ((ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec); in timespec_to_ns()
102 struct timespec ts; in ns_to_timespec() local
[all …]
/dflybsd-src/contrib/gcc-4.7/libgomp/
H A Dparallel.c49 else if (thread->ts.active_level >= 1 && !icv->nest_var) in gomp_resolve_num_threads()
51 else if (thread->ts.active_level >= gomp_max_active_levels_var) in gomp_resolve_num_threads()
117 struct gomp_team *team = thr->ts.team; in GOMP_parallel_end()
139 struct gomp_team *team = gomp_thread ()->ts.team; in omp_get_num_threads()
146 return gomp_thread ()->ts.team_id; in omp_get_thread_num()
156 return gomp_thread ()->ts.active_level > 0; in omp_in_parallel()
162 return gomp_thread ()->ts.level; in omp_get_level()
168 struct gomp_team_state *ts = &gomp_thread ()->ts; in omp_get_ancestor_thread_num() local
169 if (level < 0 || level > ts->level) in omp_get_ancestor_thread_num()
171 for (level = ts->level - level; level > 0; --level) in omp_get_ancestor_thread_num()
[all …]
H A Dteam.c54 struct gomp_team_state ts; member
86 thr->ts = data->ts; in gomp_thread_start()
89 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; in gomp_thread_start()
96 struct gomp_team *team = thr->ts.team; in gomp_thread_start()
108 pool->threads[thr->ts.team_id] = thr; in gomp_thread_start()
113 struct gomp_team *team = thr->ts.team; in gomp_thread_start()
276 nested = thr->ts.team != NULL; in gomp_team_start()
289 team->prev_ts = thr->ts; in gomp_team_start()
291 thr->ts.team = team; in gomp_team_start()
292 thr->ts.team_id = 0; in gomp_team_start()
[all …]
H A Dordered.c38 struct gomp_team *team = thr->ts.team; in gomp_ordered_first()
39 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_first()
49 ws->ordered_team_ids[index] = thr->ts.team_id; in gomp_ordered_first()
55 gomp_sem_post (team->ordered_release[thr->ts.team_id]); in gomp_ordered_first()
69 struct gomp_team *team = thr->ts.team; in gomp_ordered_last()
70 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_last()
104 struct gomp_team *team = thr->ts.team; in gomp_ordered_next()
105 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_next()
120 gomp_sem_post (team->ordered_release[thr->ts.team_id]); in gomp_ordered_next()
132 ws->ordered_team_ids[index] = thr->ts.team_id; in gomp_ordered_next()
[all …]
H A Dwork.c171 struct gomp_team *team = thr->ts.team; in gomp_work_share_start()
179 thr->ts.work_share = ws; in gomp_work_share_start()
183 ws = thr->ts.work_share; in gomp_work_share_start()
184 thr->ts.last_work_share = ws; in gomp_work_share_start()
191 thr->ts.work_share = ws; in gomp_work_share_start()
196 thr->ts.work_share = ws; in gomp_work_share_start()
208 struct gomp_team *team = thr->ts.team; in gomp_work_share_end()
214 free_work_share (NULL, thr->ts.work_share); in gomp_work_share_end()
215 thr->ts.work_share = NULL; in gomp_work_share_end()
223 if (__builtin_expect (thr->ts.last_work_share != NULL, 1)) in gomp_work_share_end()
[all …]
H A Dloop.c54 struct gomp_team *team = thr->ts.team; in gomp_loop_init()
102 thr->ts.static_trip = 0; in gomp_loop_static_start()
105 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_static_start()
122 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_dynamic_start()
130 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_dynamic_start()
132 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_dynamic_start()
147 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_guided_start()
155 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_guided_start()
157 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_guided_start()
197 thr->ts.static_trip = 0; in gomp_loop_ordered_static_start()
[all …]
H A Dloop_ull.c57 struct gomp_team *team = thr->ts.team; in gomp_loop_ull_init()
105 thr->ts.static_trip = 0; in gomp_loop_ull_static_start()
108 gomp_loop_ull_init (thr->ts.work_share, up, start, end, incr, in gomp_loop_ull_static_start()
126 gomp_loop_ull_init (thr->ts.work_share, up, start, end, incr, in gomp_loop_ull_dynamic_start()
134 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_start()
136 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_start()
152 gomp_loop_ull_init (thr->ts.work_share, up, start, end, incr, in gomp_loop_ull_guided_start()
160 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_start()
162 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_start()
207 thr->ts.static_trip = 0; in gomp_loop_ull_ordered_static_start()
[all …]
H A Diter.c41 struct gomp_team *team = thr->ts.team; in gomp_iter_static_next()
42 struct gomp_work_share *ws = thr->ts.work_share; in gomp_iter_static_next()
45 if (thr->ts.static_trip == -1) in gomp_iter_static_next()
53 thr->ts.static_trip = -1; in gomp_iter_static_next()
66 if (thr->ts.static_trip > 0) in gomp_iter_static_next()
72 i = thr->ts.team_id; in gomp_iter_static_next()
89 thr->ts.static_trip = 1; in gomp_iter_static_next()
99 thr->ts.static_trip = (e0 == n ? -1 : 1); in gomp_iter_static_next()
112 i = thr->ts.team_id; in gomp_iter_static_next()
117 s0 = (thr->ts.static_trip * nthreads + i) * c; in gomp_iter_static_next()
[all …]
/dflybsd-src/contrib/gcc-8.0/libgomp/
H A Dteam.c56 struct gomp_team_state ts; member
89 thr->ts = data->ts; in gomp_thread_start()
93 thr->ts.team->ordered_release[thr->ts.team_id] = &thr->release; in gomp_thread_start()
100 struct gomp_team *team = thr->ts.team; in gomp_thread_start()
112 pool->threads[thr->ts.team_id] = thr; in gomp_thread_start()
117 struct gomp_team *team = thr->ts.team; in gomp_thread_start()
144 if (thr->ts.team == NULL) in get_last_team()
285 if (thr->ts.level == 0 && __builtin_expect (thr->ts.team != NULL, 0)) in gomp_free_thread()
317 nested = thr->ts.level; in gomp_team_start()
327 team->prev_ts = thr->ts; in gomp_team_start()
[all …]
H A Dparallel.c51 else if (thr->ts.active_level >= 1 && !icv->nest_var) in gomp_resolve_num_threads()
53 else if (thr->ts.active_level >= gomp_max_active_levels_var) in gomp_resolve_num_threads()
88 if (thr->ts.team == NULL || pool == NULL) in gomp_resolve_num_threads()
136 struct gomp_team *team = thr->ts.team; in GOMP_parallel_end()
143 if (thr->ts.team == NULL) in GOMP_parallel_end()
179 struct gomp_team *team = thr->ts.team; in GOMP_cancellation_point()
210 struct gomp_team *team = thr->ts.team; in ialias()
239 struct gomp_team *team = gomp_thread ()->ts.team; in omp_get_num_threads()
246 return gomp_thread ()->ts.team_id; in omp_get_thread_num()
256 return gomp_thread ()->ts.active_level > 0; in omp_in_parallel()
[all …]
H A Dwork.c172 struct gomp_team *team = thr->ts.team; in gomp_work_share_start()
180 thr->ts.work_share = ws; in gomp_work_share_start()
184 ws = thr->ts.work_share; in gomp_work_share_start()
185 thr->ts.last_work_share = ws; in gomp_work_share_start()
192 thr->ts.work_share = ws; in gomp_work_share_start()
197 thr->ts.work_share = ws; in gomp_work_share_start()
209 struct gomp_team *team = thr->ts.team; in gomp_work_share_end()
215 free_work_share (NULL, thr->ts.work_share); in gomp_work_share_end()
216 thr->ts.work_share = NULL; in gomp_work_share_end()
224 if (__builtin_expect (thr->ts.last_work_share != NULL, 1)) in gomp_work_share_end()
[all …]
H A Dloop_ull.c58 struct gomp_team *team = thr->ts.team; in gomp_loop_ull_init()
106 thr->ts.static_trip = 0; in gomp_loop_ull_static_start()
109 gomp_loop_ull_init (thr->ts.work_share, up, start, end, incr, in gomp_loop_ull_static_start()
127 gomp_loop_ull_init (thr->ts.work_share, up, start, end, incr, in gomp_loop_ull_dynamic_start()
135 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_start()
137 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_start()
153 gomp_loop_ull_init (thr->ts.work_share, up, start, end, incr, in gomp_loop_ull_guided_start()
161 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_start()
163 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_start()
208 thr->ts.static_trip = 0; in gomp_loop_ull_ordered_static_start()
[all …]
H A Dloop.c55 struct gomp_team *team = thr->ts.team; in gomp_loop_init()
103 thr->ts.static_trip = 0; in gomp_loop_static_start()
106 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_static_start()
128 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_dynamic_start()
136 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_dynamic_start()
138 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_dynamic_start()
156 gomp_loop_init (thr->ts.work_share, start, end, incr, in gomp_loop_guided_start()
164 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_guided_start()
166 gomp_mutex_unlock (&thr->ts.work_share->lock); in gomp_loop_guided_start()
209 thr->ts.static_trip = 0; in gomp_loop_ordered_static_start()
[all …]
H A Diter.c42 struct gomp_team *team = thr->ts.team; in gomp_iter_static_next()
43 struct gomp_work_share *ws = thr->ts.work_share; in gomp_iter_static_next()
46 if (thr->ts.static_trip == -1) in gomp_iter_static_next()
54 thr->ts.static_trip = -1; in gomp_iter_static_next()
67 if (thr->ts.static_trip > 0) in gomp_iter_static_next()
73 i = thr->ts.team_id; in gomp_iter_static_next()
90 thr->ts.static_trip = 1; in gomp_iter_static_next()
100 thr->ts.static_trip = (e0 == n ? -1 : 1); in gomp_iter_static_next()
113 i = thr->ts.team_id; in gomp_iter_static_next()
118 s0 = (thr->ts.static_trip * nthreads + i) * c; in gomp_iter_static_next()
[all …]
H A Dordered.c42 struct gomp_team *team = thr->ts.team; in gomp_ordered_first()
43 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_first()
53 ws->ordered_team_ids[index] = thr->ts.team_id; in gomp_ordered_first()
59 gomp_sem_post (team->ordered_release[thr->ts.team_id]); in gomp_ordered_first()
73 struct gomp_team *team = thr->ts.team; in gomp_ordered_last()
74 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_last()
108 struct gomp_team *team = thr->ts.team; in gomp_ordered_next()
109 struct gomp_work_share *ws = thr->ts.work_share; in gomp_ordered_next()
124 gomp_sem_post (team->ordered_release[thr->ts.team_id]); in gomp_ordered_next()
136 ws->ordered_team_ids[index] = thr->ts.team_id; in gomp_ordered_next()
[all …]
/dflybsd-src/sys/dev/drm/
H A Dlinux_kthread.c89 kthread_stop(struct task_struct *ts) in kthread_stop() argument
91 set_bit(KTHREAD_SHOULD_STOP, &ts->kt_flags); in kthread_stop()
93 kthread_unpark(ts); in kthread_stop()
94 wake_up_process(ts); in kthread_stop()
98 lwkt_free_thread(ts->dfly_td); in kthread_stop()
100 return ts->kt_exitvalue; in kthread_stop()
104 kthread_park(struct task_struct *ts) in kthread_park() argument
106 set_bit(KTHREAD_SHOULD_PARK, &ts->kt_flags); in kthread_park()
107 wake_up_process(ts); in kthread_park()
109 return ts->kt_exitvalue; in kthread_park()
[all …]
/dflybsd-src/contrib/gcc-8.0/gcc/cp/
H A Dlogic.cc345 analyze_atom (term_list& ts, tree t) in analyze_atom() argument
359 if (any_non_atomic_constraints_p (ts)) in analyze_atom()
368 analyze_pack (term_list& ts, tree t) in analyze_pack() argument
371 term_list::iterator iter = ts.begin(); in analyze_pack()
372 term_list::iterator end = ts.end(); in analyze_pack()
391 search_known_subsumptions (term_list& ts, tree t) in search_known_subsumptions() argument
393 for (term_list::iterator i = ts.begin(); i != ts.end(); ++i) in search_known_subsumptions()
408 analyze_check (term_list& ts, tree t) in analyze_check() argument
410 proof_result r = search_known_subsumptions (ts, t); in analyze_check()
417 return check_term (ts, c); in analyze_check()
[all …]
/dflybsd-src/contrib/gcc-8.0/libgomp/config/posix/
H A Dtime.c50 struct timespec ts; in omp_get_wtime() local
52 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtime()
54 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime()
55 return ts.tv_sec + ts.tv_nsec / 1e9; in omp_get_wtime()
67 struct timespec ts; in omp_get_wtick() local
69 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtick()
71 clock_getres (CLOCK_REALTIME, &ts); in omp_get_wtick()
72 return ts.tv_sec + ts.tv_nsec / 1e9; in omp_get_wtick()
/dflybsd-src/contrib/gcc-4.7/libgomp/config/posix/
H A Dtime.c49 struct timespec ts; in omp_get_wtime() local
51 if (clock_gettime (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtime()
53 clock_gettime (CLOCK_REALTIME, &ts); in omp_get_wtime()
54 return ts.tv_sec + ts.tv_nsec / 1e9; in omp_get_wtime()
66 struct timespec ts; in omp_get_wtick() local
68 if (clock_getres (CLOCK_MONOTONIC, &ts) < 0) in omp_get_wtick()
70 clock_getres (CLOCK_REALTIME, &ts); in omp_get_wtick()
71 return ts.tv_sec + ts.tv_nsec / 1e9; in omp_get_wtick()
/dflybsd-src/sys/dev/netif/ath/ath/
H A Dif_ath_tx_edma.c614 struct ath_tx_status ts; in ath_edma_tx_processq() local
627 bzero(&ts, sizeof(ts)); in ath_edma_tx_processq()
633 status = ath_hal_txprocdesc(ah, NULL, (void *) &ts); in ath_edma_tx_processq()
641 if (ts.ts_queue_id != sc->sc_bhalq) in ath_edma_tx_processq()
642 ath_printtxstatbuf(sc, NULL, txstatus, ts.ts_queue_id, in ath_edma_tx_processq()
681 if (ts.ts_queue_id == sc->sc_bhalq) in ath_edma_tx_processq()
684 txq = &sc->sc_txq[ts.ts_queue_id]; in ath_edma_tx_processq()
697 ts.ts_queue_id); in ath_edma_tx_processq()
704 ts.ts_queue_id, bf, in ath_edma_tx_processq()
712 if (ts.ts_desc_id != bf->bf_descid) { in ath_edma_tx_processq()
[all …]
/dflybsd-src/contrib/lvm2/dist/lib/misc/
H A Dtimestamp.c43 struct timestamp *ts = NULL; in get_timestamp() local
45 if (!(ts = dm_malloc(sizeof(*ts)))) in get_timestamp()
48 if (clock_gettime(CLOCK_MONOTONIC, &ts->t)) { in get_timestamp()
53 return ts; in get_timestamp()
92 struct timestamp *ts = NULL; in get_timestamp() local
94 if (!(ts = dm_malloc(sizeof(*ts)))) in get_timestamp()
97 if (gettimeofday(&ts->t, NULL)) { in get_timestamp()
102 return ts; in get_timestamp()
/dflybsd-src/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit_ds.c202 ar9300_get_tx_rate_code(struct ath_hal *ah, void *ds, struct ath_tx_status *ts) in ar9300_get_tx_rate_code() argument
206 switch (ts->ts_finaltsi) { in ar9300_get_tx_rate_code()
208 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate0); in ar9300_get_tx_rate_code()
211 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate1); in ar9300_get_tx_rate_code()
214 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate2); in ar9300_get_tx_rate_code()
217 ts->ts_rate = MS(ads->ds_ctl14, AR_xmit_rate3); in ar9300_get_tx_rate_code()
221 ar9300_set_selfgenrate_limit(ah, ts->ts_rate); in ar9300_get_tx_rate_code()
246 struct ath_tx_status *ts = (struct ath_tx_status *)txstatus; in ar9300_proc_tx_desc() local
299 ts->ts_queue_id = MS(dsinfo, AR_tx_qcu_num); in ar9300_proc_tx_desc()
300 ts->ts_desc_id = MS(ads->status1, AR_tx_desc_id); in ar9300_proc_tx_desc()
[all …]
/dflybsd-src/games/tetris/
H A Dinput.c53 #define TS_POS(ts) \ argument
54 ((ts)->tv_sec > 0 || ((ts)->tv_sec == 0 && (ts)->tv_nsec > 0))
105 struct timespec ts; in tsleep() local
108 ts.tv_sec = 0; in tsleep()
109 ts.tv_nsec = fallrate; in tsleep()
110 while (TS_POS(&ts)) in tsleep()
111 if (rwait(&ts) && read(STDIN_FILENO, &c, 1) != 1) in tsleep()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dtracepoint.c1942 struct trace_status *ts = current_trace_status (); in trace_status_command() local
1947 status = target_get_trace_status (ts); in trace_status_command()
1951 if (ts->filename != NULL) in trace_status_command()
1960 if (!ts->running_known) in trace_status_command()
1964 else if (ts->running) in trace_status_command()
1970 switch (ts->stop_reason) in trace_status_command()
1976 if (ts->stop_desc) in trace_status_command()
1978 ts->stop_desc); in trace_status_command()
1990 ts->stopping_tracepoint); in trace_status_command()
1993 if (ts->stopping_tracepoint) in trace_status_command()
[all …]

12345678910>>...13