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

  /external/iproute2/misc/
nstat.c 524 FILE *hist_fp = NULL; local
626 if ((hist_fp = fdopen(fd, "r+")) == NULL) {
630 if (flock(fileno(hist_fp), LOCK_EX)) {
634 if (fstat(fileno(hist_fp), &stb) != 0) {
652 if (ftruncate(fileno(hist_fp), 0) < 0)
657 load_good_table(hist_fp);
697 if (ftruncate(fileno(hist_fp), 0) < 0)
699 rewind(hist_fp);
702 dump_kern_db(hist_fp, 1);
703 fclose(hist_fp);
    [all...]
ifstat.c 685 FILE *hist_fp = NULL; local
796 if ((hist_fp = fdopen(fd, "r+")) == NULL) {
800 if (flock(fileno(hist_fp), LOCK_EX)) {
804 if (fstat(fileno(hist_fp), &stb) != 0) {
822 if (ftruncate(fileno(hist_fp), 0))
827 load_raw_table(hist_fp);
866 if (ftruncate(fileno(hist_fp), 0))
868 rewind(hist_fp);
871 dump_raw_db(hist_fp, 1);
872 fclose(hist_fp);
    [all...]

Completed in 65 milliseconds