Home
last modified time | relevance | path

Searched refs:thread_num (Results 1 – 23 of 23) sorted by relevance

/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dfsync_integrity.c108 int thread_num; member
296 uint32_t thread_mark = thread_num; in marker_fill()
299 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? in marker_fill()
363 marker_fill(buf, chunk_start, size, thread_num); in write_chunk()
380 int perm_idx, thread_num; in worker() local
384 thread_num = data->thread_num; in worker()
390 if (thread_num > 0) { in worker()
397 write_chunk(data->pat, chunk_idx, thread_num); in worker()
399 if ((thread_num % 2) == 0) in worker()
402 if (thread_num < NUM_THREADS - 1) { in worker()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dompt-specific.cpp361 int *thread_num) { in __ompt_get_task_info_internal() argument
442 if (thread_num) { in __ompt_get_task_info_internal()
444 *thread_num = __kmp_get_tid(); in __ompt_get_task_info_internal()
446 *thread_num = 0; in __ompt_get_task_info_internal()
455 *thread_num = __kmp_get_tid(); in __ompt_get_task_info_internal()
457 *thread_num = prev_team->t.t_master_tid; in __ompt_get_task_info_internal()
H A Dompt-internal.h59 int thread_num; member
H A Dompt-specific.h53 ompt_data_t **parallel_data, int *thread_num);
H A Dompt-general.cpp661 int *thread_num) { argument
665 task_frame, parallel_data, thread_num);
H A Dkmp_runtime.cpp1373 OMPT_CUR_TASK_INFO(this_thr)->thread_num = in __kmp_serialized_parallel()
1457 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_in_teams()
1492 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_fork_in_teams()
1699 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_serial_fork_call()
1726 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_serial_fork_call()
1765 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_initial); in __kmp_serial_fork_call()
1831 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_serial_fork_call()
2572 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_join_call()
2654 OMPT_CUR_TASK_INFO(master_th)->thread_num, flags); in __kmp_join_call()
7710 OMPT_CUR_TASK_INFO(this_thr)->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_invoke_task_func()
[all …]
H A Dkmp_gsupport.cpp498 task_info->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_GOMP_fork_call()
H A Dkmp_csupport.cpp620 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit); in __kmpc_end_serialized_parallel()
/freebsd/contrib/unbound/cachedb/
H A Dredis.c244 log_assert(env->alloc->thread_num < d->numctxs); in redis_command()
245 ctx = d->ctxs[env->alloc->thread_num]; in redis_command()
252 d->ctxs[env->alloc->thread_num] = ctx; in redis_command()
265 d->ctxs[env->alloc->thread_num] = NULL; in redis_command()
/freebsd/contrib/unbound/util/shm_side/
H A Dshm_main.c234 …worker->thread_num, worker->daemon, (unsigned)worker->env.now_tv->tv_sec, (unsigned)worker->daemon… in shm_main_run()
237 offset = worker->thread_num + 1; in shm_main_run()
245 if (worker->thread_num == 0) { in shm_main_run()
/freebsd/contrib/unbound/util/
H A Dalloc.h82 int thread_num; member
108 int thread_num);
H A Dalloc.c104 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/contrib/unbound/libunbound/
H A Dlibworker.h70 int thread_num; member
H A Dlibworker.c151 w->thread_num = w->env->alloc->thread_num; in libworker_setup()
338 log_thread_set(&w->thread_num); in libworker_dobg()
387 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
/freebsd/contrib/unbound/daemon/
H A Dworker.h84 int thread_num; member
H A Dworker.c166 if(worker->thread_num == 0) in worker_mem_report()
2039 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_stat_timer_cb()
2080 worker->thread_num = id; in worker_create()
2272 && worker->thread_num == 0 in worker_init()
2290 && worker->thread_num == 0 in worker_init()
2300 && worker->thread_num == 0 in worker_init()
2334 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_delete()
2348 if(worker->thread_num == 0) { in worker_delete()
2356 && worker->thread_num == 0 in worker_delete()
2416 if(worker->thread_num == 0) in worker_start_accept()
[all …]
H A Ddaemon.c619 log_thread_set(&worker->thread_num); in thread_start()
624 close_other_pipes(worker->daemon, worker->thread_num); in thread_start()
628 port_num = worker->thread_num % worker->daemon->num_ports; in thread_start()
H A Dstats.c404 who->thread_num in server_stats_obtain()
H A Dremote.c2459 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddmu_redact.c108 uint32_t thread_num; member
429 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); in redact_node_compare_start()
455 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); in redact_node_compare_end()
764 node->thread_num = i; in perform_thread_merge()
/freebsd/lib/libomp/
H A Domp-tools.h657 int *thread_num
1276 int thread_num,
1326 int thread_num,
/freebsd/contrib/llvm-project/openmp/runtime/src/include/
H A Domp-tools.h.var657 int *thread_num
1276 int thread_num,
1326 int thread_num,
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.cpp861 uint32_t thread_num = 0; in PrepareStopReplyPacketForThread() local
863 if (thread_num > 0) in PrepareStopReplyPacketForThread()
866 ++thread_num; in PrepareStopReplyPacketForThread()
875 if (thread_num > 1) { in PrepareStopReplyPacketForThread()