Home
last modified time | relevance | path

Searched refs:zonestatsize (Results 1 – 3 of 3) sorted by relevance

/openbsd/usr.sbin/nsd/
H A Dnsd.h326 size_t zonestatsize[2], zonestatdesired, zonestatsizenow; member
H A Dserver.c629 nsd->zonestatsize[0] = num; in server_zonestat_alloc()
630 nsd->zonestatsize[1] = num; in server_zonestat_alloc()
643 sizeof(struct nsdst)*nsd->zonestatsize[idx], sz, in zonestat_remap()
654 sizeof(struct nsdst)*nsd->zonestatsize[idx]) != 0) in zonestat_remap()
677 if(nsd->zonestatsize[idx] == nsd->zonestatdesired) in server_zonestat_realloc()
692 if(nsd->zonestatdesired > nsd->zonestatsize[idx]) { in server_zonestat_realloc()
694 nsd->zonestatsize[idx], 0, sizeof(struct nsdst) * in server_zonestat_realloc()
695 (nsd->zonestatdesired - nsd->zonestatsize[idx])); in server_zonestat_realloc()
697 nsd->zonestatsize[idx] = nsd->zonestatdesired; in server_zonestat_realloc()
709 nsd->zonestatsizenow = nsd->zonestatsize[1]; in server_zonestat_switch()
[all …]
H A Dxfrd.c2854 xfrd->nsd->zonestatsize[0] = xfrd->zonestat_safe; in xfrd_process_zonestat_inc_task()
2856 xfrd->nsd->zonestatsize[1] = xfrd->zonestat_safe; in xfrd_process_zonestat_inc_task()