Lines Matching refs:dbs
98 struct dbstat dbs[lastdb]; member
106 send_stats (int fd, struct database_dyn dbs[lastdb]) in send_stats()
126 memset (&data.dbs[cnt], 0, sizeof (data.dbs[cnt])); in send_stats()
127 data.dbs[cnt].enabled = dbs[cnt].enabled; in send_stats()
128 data.dbs[cnt].check_file = dbs[cnt].check_file; in send_stats()
129 data.dbs[cnt].shared = dbs[cnt].shared; in send_stats()
130 data.dbs[cnt].persistent = dbs[cnt].persistent; in send_stats()
131 data.dbs[cnt].postimeout = dbs[cnt].postimeout; in send_stats()
132 data.dbs[cnt].negtimeout = dbs[cnt].negtimeout; in send_stats()
133 if (dbs[cnt].head != NULL) in send_stats()
135 data.dbs[cnt].module = dbs[cnt].head->module; in send_stats()
136 data.dbs[cnt].poshit = dbs[cnt].head->poshit; in send_stats()
137 data.dbs[cnt].neghit = dbs[cnt].head->neghit; in send_stats()
138 data.dbs[cnt].posmiss = dbs[cnt].head->posmiss; in send_stats()
139 data.dbs[cnt].negmiss = dbs[cnt].head->negmiss; in send_stats()
140 data.dbs[cnt].nentries = dbs[cnt].head->nentries; in send_stats()
141 data.dbs[cnt].maxnentries = dbs[cnt].head->maxnentries; in send_stats()
142 data.dbs[cnt].datasize = dbs[cnt].head->data_size; in send_stats()
143 data.dbs[cnt].dataused = dbs[cnt].head->first_free; in send_stats()
144 data.dbs[cnt].maxnsearched = dbs[cnt].head->maxnsearched; in send_stats()
145 data.dbs[cnt].rdlockdelayed = dbs[cnt].head->rdlockdelayed; in send_stats()
146 data.dbs[cnt].wrlockdelayed = dbs[cnt].head->wrlockdelayed; in send_stats()
147 data.dbs[cnt].addfailed = dbs[cnt].head->addfailed; in send_stats()
268 unsigned long int hit = data.dbs[i].poshit + data.dbs[i].neghit; in receive_print_stats()
269 unsigned long int all = hit + data.dbs[i].posmiss + data.dbs[i].negmiss; in receive_print_stats()
270 const char *enabled = data.dbs[i].enabled ? yesstr : nostr; in receive_print_stats()
271 const char *check_file = data.dbs[i].check_file ? yesstr : nostr; in receive_print_stats()
272 const char *shared = data.dbs[i].shared ? yesstr : nostr; in receive_print_stats()
273 const char *persistent = data.dbs[i].persistent ? yesstr : nostr; in receive_print_stats()
279 enabled = data.dbs[i].enabled ? yesstr : nostr; in receive_print_stats()
281 check_file = data.dbs[i].check_file ? yesstr : nostr; in receive_print_stats()
283 shared = data.dbs[i].shared ? yesstr : nostr; in receive_print_stats()
285 persistent = data.dbs[i].persistent ? yesstr : nostr; in receive_print_stats()
313 data.dbs[i].module, in receive_print_stats()
314 data.dbs[i].datasize, data.dbs[i].dataused, in receive_print_stats()
315 data.dbs[i].postimeout, data.dbs[i].negtimeout, in receive_print_stats()
316 data.dbs[i].poshit, data.dbs[i].neghit, in receive_print_stats()
317 data.dbs[i].posmiss, data.dbs[i].negmiss, in receive_print_stats()
319 data.dbs[i].nentries, data.dbs[i].maxnentries, in receive_print_stats()
320 data.dbs[i].maxnsearched, in receive_print_stats()
321 data.dbs[i].rdlockdelayed, in receive_print_stats()
322 data.dbs[i].wrlockdelayed, in receive_print_stats()
323 data.dbs[i].addfailed, check_file, dbnames[i]); in receive_print_stats()