Searched refs:hist_fp (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/misc/
H A Difstat.c592 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...]
H A Dnstat.c450 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 122 milliseconds