HomeSort by relevance Sort by last modified time
    Searched refs:hist_fp (Results 1 - 2 of 2) sorted by null

  /external/iproute2/misc/
ifstat.c 592 FILE *hist_fp = NULL; local
695 if ((hist_fp = fdopen(fd, "r+")) == NULL) {
699 if (flock(fileno(hist_fp), LOCK_EX)) {
703 if (fstat(fileno(hist_fp), &stb) != 0) {
721 ftruncate(fileno(hist_fp), 0);
725 load_raw_table(hist_fp);
763 ftruncate(fileno(hist_fp), 0);
764 rewind(hist_fp);
765 dump_raw_db(hist_fp, 1);
766 fflush(hist_fp);
    [all...]
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...]

Completed in 223 milliseconds