Lines Matching refs:h1
316 struct nstat_ent *h1; in dump_kern_db() local
320 for (h1 = h; h1; h1 = h1->next) { in dump_kern_db()
321 if (strcmp(h1->id, n->id) == 0) { in dump_kern_db()
322 val = h1->val; in dump_kern_db()
323 h = h1->next; in dump_kern_db()
360 struct nstat_ent *h1; in dump_incr_db() local
362 for (h1 = h; h1; h1 = h1->next) { in dump_incr_db()
363 if (strcmp(h1->id, n->id) == 0) { in dump_incr_db()
364 if (val < h1->val) { in dump_incr_db()
366 val = h1->val; in dump_incr_db()
368 val -= h1->val; in dump_incr_db()
369 h = h1->next; in dump_incr_db()
415 struct nstat_ent *h1; in update_db() local
417 for (h1 = h; h1; h1 = h1->next) { in update_db()
418 if (strcmp(h1->id, n->id) == 0) { in update_db()
420 unsigned long long incr = h1->val - n->val; in update_db()
422 n->val = h1->val; in update_db()
436 while (h != h1) { in update_db()
443 h = h1->next; in update_db()
444 free(h1->id); in update_db()
445 free(h1); in update_db()