Lines Matching refs:fp2
232 SM_FILE_T *fp2; local
289 fp2 = sm_fp(type, ioflags, fp);
290 ret = (*fp2->f_open)(fp2, info, flags, rpool);
298 fp2->f_flags = 0; /* release */
299 fp2->sm_magic = NULL; /* release */
315 sm_rpool_attach_x(rpool, sm_io_close, fp2);
318 return fp2;
335 sm_io_autoflush(fp, fp2) in sm_io_autoflush() argument
337 SM_FILE_T *fp2;
342 if (fp2 != NULL)
343 SM_REQUIRE_ISA(fp2, SmFileMagic);
346 fp->f_flushfp = fp2;
367 sm_io_automode(fp1, fp2) in sm_io_automode() argument
369 SM_FILE_T *fp2;
372 SM_REQUIRE_ISA(fp2, SmFileMagic);
374 fp1->f_modefp = fp2;
375 fp2->f_modefp = fp1;