/freebsd-13-stable/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 | 154 w->thread_num = w->env->alloc->thread_num; 349 log_thread_set(&w->thread_num); 397 w->thread_num = 1; /* for nicer DEBUG checklocks */
|
/freebsd-13-stable/contrib/unbound/cachedb/ |
H A D | redis.c | 193 /* We assume env->alloc->thread_num is a unique ID for each thread 198 log_assert(env->alloc->thread_num < d->numctxs); 199 ctx = d->ctxs[env->alloc->thread_num]; 206 d->ctxs[env->alloc->thread_num] = ctx; 219 d->ctxs[env->alloc->thread_num] = NULL;
|
/freebsd-13-stable/contrib/unbound/daemon/ |
H A D | worker.h | 84 int thread_num; member in struct:worker
|
H A D | daemon.c | 523 log_thread_set(&worker->thread_num); 528 close_other_pipes(worker->daemon, worker->thread_num); 532 port_num = worker->thread_num % worker->daemon->num_ports;
|
H A D | worker.c | 163 if(worker->thread_num == 0) 1672 server_stats_log(&worker->stats, worker, worker->thread_num); 1713 worker->thread_num = id; 1848 worker->thread_num); 1895 && worker->thread_num == 0 1913 && worker->thread_num == 0 1921 && worker->thread_num == 0 1958 server_stats_log(&worker->stats, worker, worker->thread_num); 1974 if(worker->thread_num == 0) { 1982 && worker->thread_num [all...] |
H A D | remote.c | 2399 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num))
|
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | ompt-specific.cpp | 332 int *thread_num) { 357 // needed for thread_num 416 if (thread_num) { 418 *thread_num = __kmp_get_tid(); 420 *thread_num = 0; 422 *thread_num = prev_team->t.t_master_tid; 423 // *thread_num = team->t.t_master_tid; 328 __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:__anon4995
|
H A D | ompt-specific.h | 45 ompt_data_t **parallel_data, int *thread_num);
|
H A D | ompt-general.cpp | 531 int *thread_num) { 535 task_frame, parallel_data, thread_num); 527 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 | 1377 ->thread_num = __kmp_tid_from_gtid(global_tid); 1527 ->thread_num = __kmp_tid_from_gtid(gtid); 1531 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); 1562 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); 1738 ->thread_num = __kmp_tid_from_gtid(gtid); 1742 OMPT_CUR_TASK_INFO(master_th)->thread_num, 1771 OMPT_CUR_TASK_INFO(master_th)->thread_num, 1813 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_initial); 1853 ->thread_num = __kmp_tid_from_gtid(gtid); 1880 OMPT_CUR_TASK_INFO(master_th)->thread_num, [all...] |
H A D | kmp_gsupport.cpp | 399 task_info->thread_num = __kmp_tid_from_gtid(gtid);
|
H A D | kmp_csupport.cpp | 523 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit);
|
/freebsd-13-stable/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-13-stable/tests/sys/cddl/zfs/tests/txg_integrity/ |
H A D | fsync_integrity.c | 109 int thread_num; member in struct:__anon16189 295 marker_fill(uint64_t* buf, int file_ofs, size_t len, int thread_num){ argument 297 uint32_t thread_mark = thread_num; 300 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? 358 write_chunk(pattern_t* p_pat, int chunk_idx, int thread_num) argument 364 marker_fill(buf, chunk_start, size, thread_num); 381 int perm_idx, thread_num; local 385 thread_num = data->thread_num; 391 if (thread_num > [all...] |
/freebsd-13-stable/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->time_boot.tv_sec); 231 offset = worker->thread_num + 1; 239 if (worker->thread_num == 0) {
|
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_redact.c | 107 uint32_t thread_num; member in struct:redact_node 428 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); 454 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); 765 node->thread_num = i;
|
/freebsd-13-stable/lib/libomp/ |
H A D | omp-tools.h | 571 int *thread_num
|