Home
last modified time | relevance | path

Searched refs:kern_db (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/misc/
Drtacct.c76 static struct rtacct_data *kern_db = &kern_db_static; variable
163 fprintf(fp, "#%s\n", kern_db->signature); 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()
219 fprintf(fp, "#%s\n", kern_db->signature); 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()
300 __u32 incr = ival[i] - kern_db->ival[i]; in update_db()
303 kern_db->val[i] == 0 && kern_db->rate[i] == 0) in update_db()
306 kern_db->val[i] += incr; in update_db()
[all …]
Difstat.c97 struct ifstat_ent *kern_db; variable
153 n->next = kern_db; in get_nlmsg_extended()
154 kern_db = n; in get_nlmsg_extended()
190 n->next = kern_db; in get_nlmsg()
191 kern_db = n; in get_nlmsg()
231 db = kern_db; in load_info()
232 kern_db = NULL; in load_info()
237 n->next = kern_db; in load_info()
238 kern_db = n; in load_info()
301 n->next = kern_db; in load_raw_table()
[all …]
Dnstat.c91 struct nstat_ent *kern_db; variable
164 n->next = kern_db; in load_good_table()
165 kern_db = n; in load_good_table()
249 n->next = kern_db; in load_ugly_table()
250 kern_db = n; in load_ugly_table()
310 for (n = kern_db; n; n = n->next) { in dump_kern_db()
357 for (n = kern_db; n; n = n->next) { in dump_incr_db()
403 n = kern_db; in update_db()
404 kern_db = NULL; in update_db()
411 h = kern_db; in update_db()
[all …]