Lines Matching refs:ef_fp
232 retval = fread(buf, 1, sz, f->ef_fp);
233 if (retval == 0 && ferror(f->ef_fp)) {
258 return (fseeko(f->ef_fp, adv, SEEK_CUR));
334 if (fseeko(f->ef_fp, (off_t)f->ef_advance, SEEK_CUR) == -1) {
346 ret = fread(&obj->eo_catalog, 1, sizeof (ea_catalog_t), f->ef_fp);
368 if (fread(&len, 1, sizeof (ea_size_t), f->ef_fp)
407 if (fseeko(f->ef_fp, -backup, SEEK_CUR) == -1) {
425 if (fseeko(f->ef_fp, -((off_t)sizeof (uint32_t)), SEEK_CUR) == -1) {
434 if ((r = fread(&bkskip, 1, sizeof (uint32_t), f->ef_fp)) !=
456 if (fseeko(f->ef_fp, -((off_t)bkskip), SEEK_CUR) == -1) {
845 if (fwrite(buf, sizeof (char), sz, f->ef_fp) != sz) {
1018 if (fwrite(buf, sizeof (char), bufsize, f->ef_fp) != bufsize ||
1019 fflush(f->ef_fp) == EOF) {
1075 if ((f->ef_fp = fdopen(f->ef_fd, "w")) == NULL) {
1089 if ((f->ef_fp = fdopen(f->ef_fd, "r+")) == NULL) {
1101 if (fseeko(f->ef_fp, 0, SEEK_END) == -1) {
1119 if ((f->ef_fp = fdopen(f->ef_fd, "r")) == NULL) {
1136 if (fseeko(f->ef_fp, 0, SEEK_END) < 0) {
1198 if (fclose(f->ef_fp)) {
1217 (void) fflush(f->ef_fp);
1218 clearerr(f->ef_fp);