| /openbsd-src/usr.sbin/unbound/testcode/ |
| H A D | asynclook.c | 174 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 D | redis.c | 244 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 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()
|
| /openbsd-src/usr.sbin/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()
|
| /openbsd-src/sbin/unwind/libunbound/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()
|
| /openbsd-src/usr.sbin/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()
|
| /openbsd-src/sbin/unwind/libunbound/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()
|
| /openbsd-src/usr.sbin/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() 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 D | daemon.c | 639 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 D | stats.c | 411 who->thread_num in server_stats_obtain()
|
| H A D | remote.c | 2626 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 D | worker.h | 84 int thread_num; member
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | remote.c | 2795 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 D | ChangeLog-2002 | 5705 thread_num from int to ULONGEST.
|
| /openbsd-src/gnu/llvm/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()
|