/dragonfly/sys/netproto/802_11/wlan/ |
H A D | ieee80211_tdma.c | 162 if (ts == NULL) { in ieee80211_tdma_vattach() 197 vap->iv_tdma = ts; in ieee80211_tdma_vattach() 205 if (ts == NULL) { in tdma_vdetach() 286 ((ts->tdma_slotcnt * ts->tdma_slotlen) / 1024)); in tdma_newstate() 425 if (ppsratecheck(&ts->tdma_lastprint, &ts->tdma_fails, 1)) in tdma_update() 435 if (ppsratecheck(&ts->tdma_lastprint, &ts->tdma_fails, 1)) in tdma_update() 444 if (ppsratecheck(&ts->tdma_lastprint, &ts->tdma_fails, 1)) in tdma_update() 495 __func__, ts->tdma_slot, ts->tdma_slotcnt, in tdma_update() 496 ts->tdma_slotlen, ts->tdma_bintval); in tdma_update() 738 ts->tdma_inuse[0] = ts->tdma_active[0]; in ieee80211_tdma_update_beacon() [all …]
|
/dragonfly/sys/dev/drm/include/linux/ |
H A D | time.h | 73 #define getrawmonotonic(ts) nanouptime(ts) argument 82 return ts; in timespec_sub() 89 ts->tv_sec = sec; in set_normalized_timespec() 96 return ((ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec); in timespec_to_ns() 106 ts.tv_sec = 0; in ns_to_timespec() 107 ts.tv_nsec = 0; in ns_to_timespec() 108 return (ts); in ns_to_timespec() 114 ts.tv_sec--; in ns_to_timespec() 118 return (ts); in ns_to_timespec() 124 if (ts->tv_sec < 0 || ts->tv_sec > 100000000 || in timespec_valid() [all …]
|
/dragonfly/contrib/gcc-4.7/libgomp/ |
H A D | parallel.c | 146 return gomp_thread ()->ts.team_id; in omp_get_thread_num() 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() 172 ts = &ts->team->prev_ts; in omp_get_ancestor_thread_num() 173 return ts->team_id; in omp_get_ancestor_thread_num() 179 struct gomp_team_state *ts = &gomp_thread ()->ts; in omp_get_team_size() local 180 if (level < 0 || level > ts->level) in omp_get_team_size() 183 ts = &ts->team->prev_ts; in omp_get_team_size() 184 if (ts->team == NULL) in omp_get_team_size() [all …]
|
H A D | team.c | 54 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() 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() 293 ++thr->ts.level; in gomp_team_start() 349 nthr->ts.team = team; in gomp_team_start() 352 nthr->ts.team_id = i; in gomp_team_start() 354 nthr->ts.active_level = thr->ts.active_level; in gomp_team_start() [all …]
|
H A D | ordered.c | 38 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() 69 struct gomp_team *team = thr->ts.team; in gomp_ordered_last() 104 struct gomp_team *team = thr->ts.team; in gomp_ordered_next() 152 struct gomp_team *team = thr->ts.team; in gomp_ordered_static_init() 170 struct gomp_team *team = thr->ts.team; in gomp_ordered_static_next() 172 unsigned id = thr->ts.team_id; in gomp_ordered_static_next() 194 struct gomp_team *team = thr->ts.team; in gomp_ordered_sync() 217 if (ws->ordered_owner != thr->ts.team_id) in gomp_ordered_sync() [all …]
|
H A D | work.c | 171 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() 215 thr->ts.work_share = NULL; in gomp_work_share_end() 228 thr->ts.last_work_share = NULL; in gomp_work_share_end() 246 thr->ts.work_share = NULL; in gomp_work_share_end_nowait() [all …]
|
H A D | loop.c | 54 struct gomp_team *team = thr->ts.team; in gomp_loop_init() 102 thr->ts.static_trip = 0; in gomp_loop_static_start() 130 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_dynamic_start() 155 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_guided_start() 197 thr->ts.static_trip = 0; in gomp_loop_ordered_static_start() 313 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_dynamic_next() 330 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_guided_next() 343 switch (thr->ts.work_share->sched) in GOMP_loop_runtime_next() 371 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ordered_static_next() 387 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ordered_dynamic_next() [all …]
|
H A D | loop_ull.c | 57 struct gomp_team *team = thr->ts.team; in gomp_loop_ull_init() 105 thr->ts.static_trip = 0; in gomp_loop_ull_static_start() 134 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_start() 160 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_start() 207 thr->ts.static_trip = 0; in gomp_loop_ull_ordered_static_start() 326 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_next() 343 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_next() 356 switch (thr->ts.work_share->sched) in GOMP_loop_ull_runtime_next() 384 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_ordered_static_next() 400 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_ordered_dynamic_next() [all …]
|
H A D | iter.c | 41 struct gomp_team *team = thr->ts.team; 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() 112 i = thr->ts.team_id; in gomp_iter_static_next() 134 thr->ts.static_trip = -1; in gomp_iter_static_next() 136 thr->ts.static_trip++; in gomp_iter_static_next() 264 struct gomp_team *team = thr->ts.team; in gomp_iter_guided_next_locked() [all …]
|
/dragonfly/contrib/gcc-8.0/libgomp/ |
H A D | team.c | 56 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() 285 if (thr->ts.level == 0 && __builtin_expect (thr->ts.team != NULL, 0)) in gomp_free_thread() 329 thr->ts.team = team; in gomp_team_start() 330 thr->ts.team_id = 0; in gomp_team_start() 331 ++thr->ts.level; in gomp_team_start() 614 nthr->ts.active_level = thr->ts.active_level; in gomp_team_start() 730 start_data->ts.place_partition_off = thr->ts.place_partition_off; in gomp_team_start() 731 start_data->ts.place_partition_len = thr->ts.place_partition_len; in gomp_team_start() [all …]
|
H A D | parallel.c | 143 if (thr->ts.team == NULL) in GOMP_parallel_end() 246 return gomp_thread ()->ts.team_id; in omp_get_thread_num() 262 return gomp_thread ()->ts.level; in omp_get_level() 268 struct gomp_team_state *ts = &gomp_thread ()->ts; in omp_get_ancestor_thread_num() local 269 if (level < 0 || level > ts->level) in omp_get_ancestor_thread_num() 272 ts = &ts->team->prev_ts; in omp_get_ancestor_thread_num() 273 return ts->team_id; in omp_get_ancestor_thread_num() 279 struct gomp_team_state *ts = &gomp_thread ()->ts; in omp_get_team_size() local 283 ts = &ts->team->prev_ts; in omp_get_team_size() 284 if (ts->team == NULL) in omp_get_team_size() [all …]
|
H A D | work.c | 172 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() 216 thr->ts.work_share = NULL; in gomp_work_share_end() 232 thr->ts.last_work_share = NULL; in gomp_work_share_end() 256 thr->ts.last_work_share = NULL; in gomp_work_share_end_cancel() 276 thr->ts.work_share = NULL; in gomp_work_share_end_nowait() [all …]
|
H A D | loop.c | 55 struct gomp_team *team = thr->ts.team; in gomp_loop_init() 103 thr->ts.static_trip = 0; in gomp_loop_static_start() 136 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_dynamic_start() 164 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_guided_start() 209 thr->ts.static_trip = 0; in gomp_loop_ordered_static_start() 312 thr->ts.static_trip = 0; in gomp_loop_doacross_static_start() 342 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_doacross_dynamic_start() 368 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_doacross_guided_start() 430 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_dynamic_next() 460 switch (thr->ts.work_share->sched) in GOMP_loop_runtime_next() [all …]
|
H A D | loop_ull.c | 58 struct gomp_team *team = thr->ts.team; in gomp_loop_ull_init() 106 thr->ts.static_trip = 0; in gomp_loop_ull_static_start() 135 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_start() 161 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_guided_start() 208 thr->ts.static_trip = 0; in gomp_loop_ull_ordered_static_start() 315 thr->ts.static_trip = 0; in gomp_loop_ull_doacross_static_start() 346 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_doacross_dynamic_start() 373 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_doacross_guided_start() 435 gomp_mutex_lock (&thr->ts.work_share->lock); in gomp_loop_ull_dynamic_next() 465 switch (thr->ts.work_share->sched) in GOMP_loop_ull_runtime_next() [all …]
|
H A D | iter.c | 42 struct gomp_team *team = thr->ts.team; 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() 113 i = thr->ts.team_id; in gomp_iter_static_next() 135 thr->ts.static_trip = -1; in gomp_iter_static_next() 137 thr->ts.static_trip++; in gomp_iter_static_next() 265 struct gomp_team *team = thr->ts.team; in gomp_iter_guided_next_locked() [all …]
|
H A D | ordered.c | 42 struct gomp_team *team = thr->ts.team; in gomp_ordered_first() 73 struct gomp_team *team = thr->ts.team; in gomp_ordered_last() 108 struct gomp_team *team = thr->ts.team; in gomp_ordered_next() 156 struct gomp_team *team = thr->ts.team; in gomp_ordered_static_init() 174 struct gomp_team *team = thr->ts.team; in gomp_ordered_static_next() 176 unsigned id = thr->ts.team_id; in gomp_ordered_static_next() 198 struct gomp_team *team = thr->ts.team; in gomp_ordered_sync() 265 struct gomp_team *team = thr->ts.team; in gomp_doacross_init() 370 ent = thr->ts.team_id; in GOMP_doacross_post() 494 struct gomp_team *team = thr->ts.team; in gomp_doacross_ull_init() [all …]
|
/dragonfly/sys/dev/drm/ |
H A D | linux_kthread.c | 89 kthread_stop(struct task_struct *ts) in kthread_stop() argument 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 107 wake_up_process(ts); in kthread_park() 109 return ts->kt_exitvalue; in kthread_park() 113 kthread_unpark(struct task_struct *ts) in kthread_unpark() argument 116 lwkt_schedule(ts->dfly_td); in kthread_unpark() [all …]
|
/dragonfly/contrib/gcc-8.0/gcc/cp/ |
H A D | logic.cc | 345 analyze_atom (term_list& ts, tree t) in analyze_atom() argument 393 for (term_list::iterator i = ts.begin(); i != ts.end(); ++i) in search_known_subsumptions() 417 return check_term (ts, c); in analyze_check() 452 return analyze_check (ts, t); in analyze_term() 468 return analyze_atom (ts, t); in analyze_term() 471 return analyze_pack (ts, t); in analyze_term() 488 check_term (term_list& ts, tree t) in check_term() argument 491 if (ts.includes (t)) in check_term() 495 return analyze_term (ts, t); in check_term() 577 return ts.replace(i, t1, t2); in load_conjunction_assumption() [all …]
|
/dragonfly/contrib/gcc-4.7/libgomp/config/posix/ |
H A D | time.c | 49 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()
|
/dragonfly/contrib/gcc-8.0/libgomp/config/posix/ |
H A D | time.c | 50 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()
|
/dragonfly/sys/dev/netif/ath/ath/ |
H A D | if_ath_tx_edma.c | 614 struct ath_tx_status ts; in ath_edma_tx_processq() local 627 bzero(&ts, sizeof(ts)); 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() 717 ts.ts_queue_id, in ath_edma_tx_processq() 718 ts.ts_desc_id, in ath_edma_tx_processq() 779 if (ts.ts_finaltsi < 4) { in ath_edma_tx_processq() 780 ts.ts_rate = in ath_edma_tx_processq() 793 ts.ts_finaltsi); in ath_edma_tx_processq() 808 memcpy(&bf->bf_status, &ts, sizeof(ts)); in ath_edma_tx_processq() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/misc/ |
H A D | timestamp.c | 43 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()
|
/dragonfly/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_xmit_ds.c | 206 switch (ts->ts_finaltsi) { in ar9300_get_tx_rate_code() 302 ts->ts_tstamp = ads->status4; in ar9300_proc_tx_desc() 303 ts->ts_status = 0; in ar9300_proc_tx_desc() 304 ts->ts_flags = 0; in ar9300_proc_tx_desc() 310 ts->ts_status |= HAL_TXERR_FILT; in ar9300_proc_tx_desc() 334 ts->ts_flags |= HAL_TX_BA; in ar9300_proc_tx_desc() 335 ts->ts_ba_low = ads->status5; in ar9300_proc_tx_desc() 336 ts->ts_ba_high = ads->status6; in ar9300_proc_tx_desc() 354 ts->ts_antenna = 0; in ar9300_proc_tx_desc() 386 finalindex_tries = ts->ts_longretry + (ts->ts_flags & HAL_TX_BA)? 1 : 0; in ar9300_calc_tx_airtime() [all …]
|
/dragonfly/games/tetris/ |
H A D | input.c | 53 #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()
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | tracepoint.c | 1996 ts->stop_desc, ts->stopping_tracepoint); in trace_status_command() 2012 && ts->traceframe_count != ts->traceframes_created) in trace_status_command() 2016 ts->traceframe_count, ts->traceframes_created); in trace_status_command() 2029 ts->buffer_free, ts->buffer_size); in trace_status_command() 2050 if (ts->user_name && strlen (ts->user_name) > 0) in trace_status_command() 2053 if (ts->notes && strlen (ts->notes) > 0) in trace_status_command() 2068 LONGEST run_time = ts->stop_time - ts->start_time; in trace_status_command() 2127 if (ts->running) in trace_status_mi() 3052 (ts->running ? '1' : '0'), stop_reason_names[ts->stop_reason]); in trace_save() 3910 ts->notes = NULL; in parse_trace_status() [all …]
|