Lines Matching refs:cp
81 struct cpr_stat *cp = STAT;
126 cp->cs_ntests = cep->ce_ntests & ~CE_START_MASK;
132 struct cpr_stat *cp = STAT;
135 for (cep = cp->cs_event_head; cep; cep = cep->ce_next) {
170 struct cpr_stat *cp = STAT;
179 for (cep = cp->cs_event_head; cep; cep = cep->ce_next) {
204 cp->cs_nosw_pages*PAGESIZE/1000, cp->cs_nosw_pages);
206 cp->cs_upage2statef*PAGESIZE/1000, cp->cs_upage2statef);
207 if (cp->cs_mclustsz)
209 cp->cs_mclustsz/1000, cp->cs_mclustsz/PAGESIZE,
210 ((cp->cs_mclustsz%PAGESIZE)*10/PAGESIZE),
211 ((cp->cs_mclustsz%PAGESIZE)*100/PAGESIZE)%10);
212 printf("\tKernel Memory Size:\t\t%8lu\n", cp->cs_nocomp_statefsz/1000);
213 printf("\tEstimated Statefile Size:\t%8lu\n", cp->cs_est_statefsz/1000);
214 printf("\tActual Statefile Size:\t\t%8lu\n", cp->cs_real_statefsz/1000);
215 if (cp->cs_real_statefsz) {
216 int min = cp->cs_min_comprate;
218 cp->cs_nocomp_statefsz*100)/cp->cs_real_statefsz);
229 struct cpr_stat *cp = STAT;
233 for (cep = cp->cs_event_head; cep; cep = cep->ce_next) {
243 for (cep = cp->cs_event_head; cep; cep = cep->ce_next) {
253 if (!cp->cs_event_head) {
255 cp->cs_event_head = new_cep;
258 new_cep->ce_next = cp->cs_event_tail->ce_next;
259 cp->cs_event_tail->ce_next = new_cep;
261 cp->cs_event_tail = new_cep;