| /freebsd-12.1/tests/sys/cddl/zfs/tests/txg_integrity/ |
| H A D | fsync_integrity.c | 109 int thread_num; member 297 uint32_t thread_mark = thread_num; in marker_fill() 300 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? in marker_fill() 364 marker_fill(buf, chunk_start, size, thread_num); in write_chunk() 381 int perm_idx, thread_num; in worker() local 385 thread_num = data->thread_num; in worker() 391 if (thread_num > 0) { in worker() 398 write_chunk(data->pat, chunk_idx, thread_num); in worker() 400 if ((thread_num % 2) == 0) in worker() 403 if (thread_num < NUM_THREADS - 1) { in worker() [all …]
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | gdb-events.c | 143 selected_thread_changed_event (int thread_num) in selected_thread_changed_event() argument 149 current_event_hooks->selected_thread_changed (thread_num); in selected_thread_changed_event() 227 int thread_num; member 340 queue_selected_thread_changed (int thread_num) in queue_selected_thread_changed() argument 344 event->data.selected_thread_changed.thread_num = thread_num; in queue_selected_thread_changed() 405 (event->data.selected_thread_changed.thread_num); in gdb_events_deliver()
|
| H A D | gdb-events.h | 64 typedef void (gdb_events_selected_thread_changed_ftype) (int thread_num); 96 extern void selected_thread_changed_event (int thread_num); 111 #define selected_thread_changed_event(thread_num) 0 argument
|
| H A D | remote.c | 2885 ULONGEST thread_num = -1; in remote_wait() local 2959 p_temp = unpack_varlen_hex (++p1, &thread_num); in remote_wait() 2960 record_currthread (thread_num); in remote_wait() 3012 record_currthread (thread_num); in remote_wait() 3055 if (thread_num != -1) in remote_wait() 3057 return pid_to_ptid (thread_num); in remote_wait() 3068 ULONGEST thread_num = -1; in remote_async_wait() local 3148 record_currthread (thread_num); in remote_async_wait() 3201 record_currthread (thread_num); in remote_async_wait() 3247 if (thread_num != -1) in remote_async_wait() [all …]
|
| H A D | gdb-events.sh | 70 f:void:selected_thread_changed:int thread_num:thread_num
|
| /freebsd-12.1/contrib/unbound/cachedb/ |
| H A D | redis.c | 168 log_assert(env->alloc->thread_num < d->numctxs); in redis_command() 169 ctx = d->ctxs[env->alloc->thread_num]; in redis_command() 176 d->ctxs[env->alloc->thread_num] = ctx; in redis_command() 189 d->ctxs[env->alloc->thread_num] = NULL; in redis_command()
|
| /freebsd-12.1/contrib/openmp/runtime/src/ |
| H A D | ompt-specific.cpp | 333 int *thread_num) { in __ompt_get_task_info_internal() argument 417 if (thread_num) { in __ompt_get_task_info_internal() 419 *thread_num = __kmp_get_tid(); in __ompt_get_task_info_internal() 421 *thread_num = 0; in __ompt_get_task_info_internal() 423 *thread_num = prev_team->t.t_master_tid; in __ompt_get_task_info_internal()
|
| H A D | ompt-internal.h | 60 int thread_num; member
|
| H A D | ompt-specific.h | 45 ompt_data_t **parallel_data, int *thread_num);
|
| H A D | ompt-general.cpp | 509 int *thread_num) { argument 511 task_frame, parallel_data, thread_num);
|
| H A D | kmp_runtime.cpp | 1434 ->thread_num = __kmp_tid_from_gtid(global_tid); in __kmp_serialized_parallel() 1600 ->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_call() 1628 …OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); // TODO: Can this be ompt_task_ini… in __kmp_fork_call() 1812 ->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_call() 1840 …OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); // TODO: Can this be ompt_task_ini… in __kmp_fork_call() 1913 ->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_call() 1940 …OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); // TODO: Can this be ompt_task_ini… in __kmp_fork_call() 2544 …OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); // TODO: Can this be ompt_task_ini… in __kmp_join_call() 7045 OMPT_CUR_TASK_INFO(this_thr)->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_invoke_task_func()
|
| H A D | kmp_taskq.cpp | 166 static void __kmp_dump_thunk_stack(kmpc_thunk_t *thunk, kmp_int32 thread_num) { in __kmp_dump_thunk_stack() argument 169 __kmp_printf(" Thunk stack for T#%d: ", thread_num); in __kmp_dump_thunk_stack()
|
| H A D | kmp_gsupport.cpp | 404 task_info->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_GOMP_fork_call()
|
| H A D | kmp_csupport.cpp | 514 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit); in __kmpc_end_serialized_parallel()
|
| /freebsd-12.1/contrib/unbound/util/shm_side/ |
| H A D | shm_main.c | 228 …worker->thread_num, worker->daemon, (unsigned)worker->env.now_tv->tv_sec, (unsigned)worker->daemon… in shm_main_run() 231 offset = worker->thread_num + 1; in shm_main_run() 239 if (worker->thread_num == 0) { in shm_main_run()
|
| /freebsd-12.1/contrib/unbound/util/ |
| H A D | alloc.h | 82 int thread_num; member 108 int thread_num);
|
| H A D | alloc.c | 104 int thread_num) in alloc_init() argument 108 alloc->thread_num = thread_num; in alloc_init() 109 alloc->next_id = (uint64_t)thread_num; /* in steps, so that type */ in alloc_init() 204 alloc->next_id = (uint64_t)alloc->thread_num; in alloc_get_id()
|
| /freebsd-12.1/contrib/unbound/libunbound/ |
| H A D | libworker.h | 70 int thread_num; member
|
| H A D | libworker.c | 143 w->thread_num = w->env->alloc->thread_num; in libworker_setup() 338 log_thread_set(&w->thread_num); in libworker_dobg() 386 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
|
| /freebsd-12.1/contrib/unbound/daemon/ |
| H A D | worker.h | 84 int thread_num; member
|
| H A D | worker.c | 162 if(worker->thread_num == 0) in worker_mem_report() 1672 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_stat_timer_cb() 1713 worker->thread_num = id; in worker_create() 1847 worker->thread_num); in worker_init() 1894 && worker->thread_num == 0 in worker_init() 1912 && worker->thread_num == 0 in worker_init() 1943 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_delete() 1959 if(worker->thread_num == 0) { in worker_delete() 2014 if(worker->thread_num == 0) in worker_start_accept() 2022 if(worker->thread_num == 0) in worker_stop_accept()
|
| H A D | daemon.c | 506 log_thread_set(&worker->thread_num); in thread_start() 511 close_other_pipes(worker->daemon, worker->thread_num); in thread_start() 515 port_num = worker->thread_num % worker->daemon->num_ports; in thread_start()
|
| H A D | remote.c | 2390 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist()
|
| /freebsd-12.1/lib/libomp/ |
| H A D | omp-tools.h | 572 int *thread_num
|
| /freebsd-12.1/contrib/openmp/runtime/src/include/50/ |
| H A D | omp-tools.h.var | 571 int *thread_num
|