Searched defs:hist_fp (Results 1 - 2 of 2) sorted by relevance
/external/iproute2/misc/ |
H A D | nstat.c | 450 FILE *hist_fp = NULL; local 545 if ((hist_fp = fdopen(fd, "r+")) == NULL) { 549 if (flock(fileno(hist_fp), LOCK_EX)) { 553 if (fstat(fileno(hist_fp), &stb) != 0) { 571 ftruncate(fileno(hist_fp), 0); 575 load_good_table(hist_fp); 615 ftruncate(fileno(hist_fp), 0); 616 rewind(hist_fp); 617 dump_kern_db(hist_fp, 1); 618 fflush(hist_fp); [all...] |
H A D | ifstat.c | 588 FILE *hist_fp = NULL; local 693 if ((hist_fp = fdopen(fd, "r+")) == NULL) { 697 if (flock(fileno(hist_fp), LOCK_EX)) { 701 if (fstat(fileno(hist_fp), &stb) != 0) { 719 ftruncate(fileno(hist_fp), 0); 723 load_raw_table(hist_fp); 761 ftruncate(fileno(hist_fp), 0); 762 rewind(hist_fp); 763 dump_raw_db(hist_fp, 1); 764 fflush(hist_fp); [all...] |
Completed in 77 milliseconds