Searched refs:thread_num (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/contrib/unbound/libunbound/
H A Dlibworker.h69 /** every worker has a unique thread_num. (first in struct) */
70 int thread_num; member in struct:libworker
H A Dlibworker.c154 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 Dredis.c193 /* 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 Dworker.h84 int thread_num; member in struct:worker
H A Ddaemon.c523 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 Dworker.c163 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 Dremote.c2399 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num))
/freebsd-13-stable/contrib/llvm-project/openmp/runtime/src/
H A Dompt-specific.cpp332 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 Dompt-internal.h59 int thread_num; member in struct:__anon4995
H A Dompt-specific.h45 ompt_data_t **parallel_data, int *thread_num);
H A Dompt-general.cpp531 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 Dkmp_runtime.cpp1377 ->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 Dkmp_gsupport.cpp399 task_info->thread_num = __kmp_tid_from_gtid(gtid);
H A Dkmp_csupport.cpp523 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit);
/freebsd-13-stable/contrib/unbound/util/
H A Dalloc.h82 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 Dalloc.c104 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 Dfsync_integrity.c109 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 Dshm_main.c228 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 Ddmu_redact.c107 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 Domp-tools.h571 int *thread_num

Completed in 301 milliseconds