Home | History | Annotate | Download | only in misc

Lines Matching refs:hist_db

77 struct rtacct_data *hist_db;
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 write(fd, kern_db, sizeof(*hist_db));
568 hist_db = mmap(NULL, sizeof(*hist_db),
573 if ((unsigned long)hist_db == ~0UL) {
589 memset(hist_db, 0, sizeof(*hist_db));
602 if (hist_db && hist_db->signature[0] &&
603 strcmp(kern_db->signature, hist_db->signature)) {
605 hist_db = NULL;
612 if (hist_db && hist_db->signature[0] &&
613 strcmp(hist_db->signature, "kernel")) {
615 hist_db = NULL;
622 if (ignore_history || hist_db == NULL)