Searched refs:kern_db (Results 1 – 3 of 3) sorted by relevance
76 struct rtacct_data *kern_db = &kern_db_static; variable163 fprintf(fp, "#%s\n", kern_db->signature); in dump_abs_db()191 val = &kern_db->val[realm*4]; in dump_abs_db()192 rate = &kern_db->rate[realm*4]; in dump_abs_db()225 fprintf(fp, "#%s\n", kern_db->signature); in dump_incr_db()254 val = &kern_db->val[realm*4]; in dump_incr_db()255 rate = &kern_db->rate[realm*4]; in dump_incr_db()312 __u32 incr = ival[i] - kern_db->ival[i]; in update_db()315 kern_db->val[i] == 0 && kern_db->rate[i] == 0) in update_db()318 kern_db->val[i] += incr; in update_db()[all …]
63 struct ifstat_ent *kern_db; variable112 n->next = kern_db; in get_nlmsg()113 kern_db = n; in get_nlmsg()137 db = kern_db; in load_info()138 kern_db = NULL; in load_info()143 n->next = kern_db; in load_info()144 kern_db = n; in load_info()206 n->next = kern_db; in load_raw_table()207 kern_db = n; in load_raw_table()217 for (n=kern_db; n; n=n->next) { in dump_raw_db()[all …]
82 struct nstat_ent *kern_db; variable154 n->next = kern_db; in load_good_table()155 kern_db = n; in load_good_table()225 n->next = kern_db; in load_ugly_table()226 kern_db = n; in load_ugly_table()263 for (n=kern_db; n; n=n->next) { in dump_kern_db()288 for (n=kern_db; n; n=n->next) { in dump_incr_db()322 n = kern_db; in update_db()323 kern_db = NULL; in update_db()329 h = kern_db; in update_db()[all …]