Lines Matching refs:realm
159 int realm; in dump_abs_db() local
177 for (realm = 0; realm < 256; realm++) { in dump_abs_db()
182 if (!(rmap[realm>>5] & (1<<(realm&0x1f)))) in dump_abs_db()
185 val = &kern_db->val[realm*4]; in dump_abs_db()
186 rate = &kern_db->rate[realm*4]; in dump_abs_db()
196 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4); in dump_abs_db()
202 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1))); in dump_abs_db()
215 int k, realm; in dump_incr_db() local
232 for (realm = 0; realm < 256; realm++) { in dump_incr_db()
239 if (!(rmap[realm>>5] & (1<<(realm&0x1f)))) in dump_incr_db()
242 val = &kern_db->val[realm*4]; in dump_incr_db()
243 rate = &kern_db->rate[realm*4]; in dump_incr_db()
247 if (rval[k] < hist_db->val[realm*4+k]) in dump_incr_db()
250 rval[k] -= hist_db->val[realm*4+k]; in dump_incr_db()
257 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4); in dump_incr_db()
271 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1))); in dump_incr_db()
487 __u32 realm; in main() local
489 if (rtnl_rtrealm_a2n(&realm, argv[0])) { in main()
493 rmap[realm>>5] |= (1<<(realm&0x1f)); in main()