Lines Matching defs:ifp
144 FILE *ifp, *ofp;155 ifp = fopen(file, "r");156 if (!ifp)166 fclose(ifp);174 while ((n = fread(bit, sizeof(struct blk_io_trace), 1, ifp)) == 1) {175 if (ferror(ifp)) {176 clearerr(ifp);199 n = fread(pdu_buf, bit->pdu_len, 1, ifp);246 if (n == 0 && !feof(ifp))249 fclose(ifp);