Searched refs:hist_db (Results 1 - 3 of 3) sorted by relevance

/external/iproute2/misc/
H A Drtacct.c77 struct rtacct_data *hist_db; variable in typeref:struct:rtacct_data
201 if (hist_db) {
202 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4);
259 if (rval[k] < hist_db->val[realm*4+k])
262 rval[k] -= hist_db->val[realm*4+k];
268 if (hist_db) {
269 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4);
565 if (stb.st_size != sizeof(*hist_db))
566 if (write(fd, kern_db, sizeof(*hist_db)) < 0) {
571 hist_db
[all...]
H A Difstat.c65 struct ifstat_ent *hist_db; variable in typeref:struct:ifstat_ent
215 h = hist_db;
394 h = hist_db;
725 hist_db = kern_db;
736 if (hist_db && source_mismatch) {
738 hist_db = NULL;
744 if (hist_db && info_source[0] && strcmp(info_source, "kernel")) {
746 hist_db = NULL;
755 if (ignore_history || hist_db == NULL)
H A Dnstat.c83 struct nstat_ent *hist_db; variable in typeref:struct:nstat_ent
261 h = hist_db;
286 h = hist_db;
577 hist_db = kern_db;
588 if (hist_db && source_mismatch) {
590 hist_db = NULL;
596 if (hist_db && info_source[0] && strcmp(info_source, "kernel")) {
598 hist_db = NULL;
609 if (ignore_history || hist_db == NULL)

Completed in 61 milliseconds