/freebsd-current/contrib/unbound/libunbound/ |
H A D | libworker.h | 69 /** every worker has a unique thread_num. (first in struct) */ 70 int thread_num; member in struct:libworker
|
H A D | libworker.c | 151 w->thread_num = w->env->alloc->thread_num; 338 log_thread_set(&w->thread_num); 387 w->thread_num = 1; /* for nicer DEBUG checklocks */
|
/freebsd-current/contrib/unbound/daemon/ |
H A D | worker.h | 84 int thread_num; member in struct:worker
|
H A D | worker.c | 166 if(worker->thread_num == 0) 2039 server_stats_log(&worker->stats, worker, worker->thread_num); 2080 worker->thread_num = id; 2227 worker->alloc = worker->daemon->worker_allocs[worker->thread_num]; 2272 && worker->thread_num == 0 2290 && worker->thread_num == 0 2300 && worker->thread_num == 0 2334 server_stats_log(&worker->stats, worker, worker->thread_num); 2348 if(worker->thread_num == 0) { 2356 && worker->thread_num [all...] |
H A D | daemon.c | 619 log_thread_set(&worker->thread_num); 624 close_other_pipes(worker->daemon, worker->thread_num); 628 port_num = worker->thread_num % worker->daemon->num_ports;
|
H A D | stats.c | 404 who->thread_num
|
H A D | remote.c | 2459 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num))
|
/freebsd-current/contrib/unbound/cachedb/ |
H A D | redis.c | 239 /* We assume env->alloc->thread_num is a unique ID for each thread 244 log_assert(env->alloc->thread_num < d->numctxs); 245 ctx = d->ctxs[env->alloc->thread_num]; 252 d->ctxs[env->alloc->thread_num] = ctx; 265 d->ctxs[env->alloc->thread_num] = NULL;
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | ompt-specific.cpp | 361 int *thread_num) { 442 if (thread_num) { 444 *thread_num = __kmp_get_tid(); 446 *thread_num = 0; 454 // region, thread_num is determined the same way as for level==0. 455 *thread_num = __kmp_get_tid(); 457 *thread_num = prev_team->t.t_master_tid; 458 // *thread_num = team->t.t_master_tid; 357 __ompt_get_task_info_internal(int ancestor_level, int *type, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num) argument
|
H A D | ompt-internal.h | 59 int thread_num; member in struct:__anon3080
|
H A D | ompt-specific.h | 53 ompt_data_t **parallel_data, int *thread_num);
|
H A D | ompt-general.cpp | 661 int *thread_num) { 665 task_frame, parallel_data, thread_num); 657 ompt_get_task_info(int ancestor_level, int *type, ompt_data_t **task_data, ompt_frame_t **task_frame, ompt_data_t **parallel_data, int *thread_num) argument
|
H A D | kmp_runtime.cpp | 1373 OMPT_CUR_TASK_INFO(this_thr)->thread_num = 1457 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); 1460 1, OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); 1492 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); 1695 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); 1699 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); 1726 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); 1765 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_initial); 1804 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); 1831 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implici [all...] |
H A D | kmp_gsupport.cpp | 498 task_info->thread_num = __kmp_tid_from_gtid(gtid);
|
H A D | kmp_csupport.cpp | 620 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit);
|
/freebsd-current/contrib/unbound/util/ |
H A D | alloc.h | 82 int thread_num; member in struct:alloc_cache 105 * @param thread_num: thread number for id creation of special type. 108 int thread_num);
|
H A D | alloc.c | 104 int thread_num) 108 alloc->thread_num = thread_num; 109 alloc->next_id = (uint64_t)thread_num; /* in steps, so that type */ 204 alloc->next_id = (uint64_t)alloc->thread_num; 103 alloc_init(struct alloc_cache* alloc, struct alloc_cache* super, int thread_num) argument
|
/freebsd-current/tests/sys/cddl/zfs/tests/txg_integrity/ |
H A D | fsync_integrity.c | 108 int thread_num; member in struct:__anon20 294 marker_fill(uint64_t* buf, int file_ofs, size_t len, int thread_num){ argument 296 uint32_t thread_mark = thread_num; 299 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? 357 write_chunk(const pattern_t* p_pat, int chunk_idx, int thread_num) argument 363 marker_fill(buf, chunk_start, size, thread_num); 380 int perm_idx, thread_num; local 384 thread_num = data->thread_num; 390 if (thread_num > [all...] |
/freebsd-current/contrib/unbound/util/shm_side/ |
H A D | shm_main.c | 234 worker->thread_num, worker->daemon, (unsigned)worker->env.now_tv->tv_sec, (unsigned)worker->daemon->time_boot.tv_sec); 237 offset = worker->thread_num + 1; 245 if (worker->thread_num == 0) {
|
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_redact.c | 108 uint32_t thread_num; member in struct:redact_node 429 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); 455 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); 764 node->thread_num = i;
|
/freebsd-current/lib/libomp/ |
H A D | omp-tools.h | 657 int *thread_num 1276 int thread_num, 1326 int thread_num,
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerLLGS.cpp | 861 uint32_t thread_num = 0; local 863 if (thread_num > 0) 866 ++thread_num; 875 if (thread_num > 1) {
|