Home
last modified time | relevance | path

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

/openbsd-src/usr.sbin/unbound/testcode/
H A Dasynclook.c174 int thread_num; member
304 log_thread_set(&inf->thread_num); in ext_thread()
305 if(inf->thread_num > NUMTHR*2/3) { in ext_thread()
332 } else if(inf->thread_num > NUMTHR/2) { in ext_thread()
346 if(inf->thread_num > NUMTHR/2) { in ext_thread()
368 inf[i].thread_num = i+2; in ext_test()
/openbsd-src/usr.sbin/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()
/openbsd-src/usr.sbin/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()
/openbsd-src/usr.sbin/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()
/openbsd-src/sbin/unwind/libunbound/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()
/openbsd-src/usr.sbin/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()
339 log_thread_set(&w->thread_num); in libworker_dobg()
388 w->thread_num = 1; /* for nicer DEBUG checklocks */ in libworker_bg()
/openbsd-src/sbin/unwind/libunbound/libunbound/
H A Dlibworker.h70 int thread_num; member
H A Dlibworker.c151 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()
/openbsd-src/usr.sbin/unbound/daemon/
H A Dworker.h84 int thread_num; member
H A Dworker.c168 if(worker->thread_num == 0) in worker_mem_report()
2042 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_stat_timer_cb()
2083 worker->thread_num = id; in worker_create()
2230 worker->alloc = worker->daemon->worker_allocs[worker->thread_num]; in worker_init()
2275 && worker->thread_num == 0 in worker_init()
2293 && worker->thread_num == 0 in worker_init()
2303 && worker->thread_num == 0 in worker_init()
2337 server_stats_log(&worker->stats, worker, worker->thread_num); in worker_delete()
2351 if(worker->thread_num == 0) { in worker_delete()
2359 && worker->thread_num in worker_delete()
[all...]
H A Ddaemon.c639 log_thread_set(&worker->thread_num);
644 close_other_pipes(worker->daemon, worker->thread_num);
648 port_num = worker->thread_num % worker->daemon->num_ports; in daemon_start_others()
H A Dstats.c411 who->thread_num in server_stats_obtain()
H A Dremote.c2626 if(!ssl_printf(ssl, "thread #%d\n", worker->thread_num)) in do_auth_zone_reload()
3264 if(worker->thread_num == 0 && !cookie_secret_file_dump(ssl, worker)) { in handle_req()
3271 if(worker->thread_num == 0) in handle_req()
3299 if(worker->thread_num == 0 && !cookie_secret_file_dump(ssl, worker)) { in handle_req()
3306 if(worker->thread_num == 0)
3355 if(worker->thread_num == 0 && !cookie_secret_file_dump(ssl, worker)) { in remote_control_callback()
3365 if(worker->thread_num == 0) in remote_control_callback()
/openbsd-src/sbin/unwind/libunbound/daemon/
H A Dworker.h84 int thread_num; member
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dremote.c2795 ULONGEST thread_num = -1; in remote_wait() local
2869 p_temp = unpack_varlen_hex (++p1, &thread_num); in remote_wait()
2870 record_currthread (thread_num); in remote_wait()
2921 thread_num = strtol ((const char *) &buf[4], NULL, 16); in remote_wait()
2922 record_currthread (thread_num); in remote_wait()
2965 if (thread_num != -1) in remote_wait()
2967 return pid_to_ptid (thread_num); in remote_wait()
2978 ULONGEST thread_num = -1; in remote_async_wait() local
3057 p_temp = unpack_varlen_hex (++p1, &thread_num); in remote_async_wait()
3058 record_currthread (thread_num); in remote_async_wait()
[all …]
H A DChangeLog-20025705 thread_num from int to ULONGEST.
/openbsd-src/gnu/llvm/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()