/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/ |
H A D | fsync_integrity.c | 108 int thread_num; member 294 marker_fill(uint64_t* buf, int file_ofs, size_t len, int thread_num){ in marker_fill() argument 296 uint32_t thread_mark = thread_num; in marker_fill() 299 uint64_t mark = ((thread_num == (NUM_THREADS - 1) ? in marker_fill() 357 write_chunk(const pattern_t* p_pat, int chunk_idx, int thread_num) in write_chunk() argument 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() 391 if (-1 == sem_wait(&chunk_sems[thread_num - 1][chunk_idx])){ in worker() [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | ompt-specific.cpp | 361 int *thread_num) { in __ompt_get_task_info_internal() argument 440 if (thread_num) { in __ompt_get_task_info_internal() 442 *thread_num = __kmp_get_tid(); in __ompt_get_task_info_internal() 444 *thread_num = 0; in __ompt_get_task_info_internal() 453 *thread_num = __kmp_get_tid(); in __ompt_get_task_info_internal() 455 *thread_num = prev_team->t.t_master_tid; in __ompt_get_task_info_internal()
|
H A D | ompt-internal.h | 63 int thread_num; member
|
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) { argument 665 task_frame, parallel_data, thread_num);
|
H A D | kmp_runtime.cpp | 1433 OMPT_CUR_TASK_INFO(this_thr)->thread_num = in __kmp_serialized_parallel() 1517 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_fork_in_teams() 1520 1, OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_fork_in_teams() 1552 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_fork_in_teams() 1755 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_serial_fork_call() 1759 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_serial_fork_call() 1786 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_serial_fork_call() 1819 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_initial); in __kmp_serial_fork_call() 1858 OMPT_CUR_TASK_INFO(master_th)->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_serial_fork_call() 1885 OMPT_CUR_TASK_INFO(master_th)->thread_num, ompt_task_implicit); in __kmp_serial_fork_call() [all …]
|
H A D | kmp_gsupport.cpp | 498 task_info->thread_num = __kmp_tid_from_gtid(gtid); in __kmp_GOMP_fork_call()
|
H A D | kmp_csupport.cpp | 665 OMPT_CUR_TASK_INFO(this_thr)->thread_num, ompt_task_implicit); in __kmpc_end_serialized_parallel()
|
/freebsd/contrib/unbound/cachedb/ |
H A D | redis.c | 261 log_assert(env->alloc->thread_num < d->numctxs); in redis_command() 262 ctx = d->ctxs[env->alloc->thread_num]; in redis_command() 269 d->ctxs[env->alloc->thread_num] = ctx; in redis_command() 282 d->ctxs[env->alloc->thread_num] = NULL; in redis_command()
|
/freebsd/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… 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 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/contrib/unbound/libunbound/ |
H A D | libworker.h | 70 int thread_num; member
|
H A D | libworker.c | 151 w->thread_num = w->env->alloc->thread_num; in libworker_setup() 339 log_thread_set(&w->thread_num); in libworker_dobg() 388 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
|
/freebsd/contrib/unbound/daemon/ |
H A D | worker.h | 84 int thread_num; member
|
H A D | worker.c | 168 if(worker->thread_num == 0) in worker_mem_report() 2038 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_stat_timer_cb() 2079 worker->thread_num = id; in worker_create() 2228 worker->alloc = worker->daemon->worker_allocs[worker->thread_num]; in worker_init() 2273 && worker->thread_num == 0 in worker_init() 2291 && worker->thread_num == 0 in worker_init() 2301 && worker->thread_num == 0 in worker_init() 2335 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_delete() 2349 if(worker->thread_num == 0) { in worker_delete() 2357 && worker->thread_num == 0 in worker_delete() [all …]
|
H A D | daemon.c | 645 log_thread_set(&worker->thread_num); in thread_start() 650 close_other_pipes(worker->daemon, worker->thread_num); in thread_start() 654 port_num = worker->thread_num % worker->daemon->num_ports; in thread_start()
|
H A D | remote.c | 2638 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_dump_requestlist() 3276 if(worker->thread_num == 0 && !cookie_secret_file_dump(ssl, worker)) { in do_activate_cookie_secret() 3283 if(worker->thread_num == 0) in do_activate_cookie_secret() 3311 if(worker->thread_num == 0 && !cookie_secret_file_dump(ssl, worker)) { in do_drop_cookie_secret() 3318 if(worker->thread_num == 0) in do_drop_cookie_secret() 3367 if(worker->thread_num == 0 && !cookie_secret_file_dump(ssl, worker)) { in do_add_cookie_secret() 3377 if(worker->thread_num == 0) in do_add_cookie_secret()
|
H A D | stats.c | 417 who->thread_num in server_stats_obtain()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_redact.c | 108 uint32_t thread_num; member 431 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); in redact_node_compare_start() 457 cmp = (rn1->thread_num < rn2->thread_num ? -1 : 1); in redact_node_compare_end() 766 node->thread_num = i; in perform_thread_merge()
|
/freebsd/lib/libomp/ |
H A D | omp-tools.h | 663 int *thread_num 1282 int thread_num, 1332 int thread_num,
|
/freebsd/contrib/llvm-project/openmp/runtime/src/include/ |
H A D | omp-tools.h.var | 663 int *thread_num 1282 int thread_num, 1332 int thread_num,
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerLLGS.cpp | 861 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()
|