Lines Matching refs:fp2
230 SM_FILE_T *fp2; local
287 fp2 = sm_fp(type, ioflags, fp);
288 ret = (*fp2->f_open)(fp2, info, flags, rpool);
296 fp2->f_flags = 0; /* release */
297 fp2->sm_magic = NULL; /* release */
313 sm_rpool_attach_x(rpool, sm_io_close, fp2);
316 return fp2;
333 sm_io_autoflush(fp, fp2) in sm_io_autoflush() argument
335 SM_FILE_T *fp2;
340 if (fp2 != NULL)
341 SM_REQUIRE_ISA(fp2, SmFileMagic);
344 fp->f_flushfp = fp2;
365 sm_io_automode(fp1, fp2) in sm_io_automode() argument
367 SM_FILE_T *fp2;
370 SM_REQUIRE_ISA(fp2, SmFileMagic);
372 fp1->f_modefp = fp2;
373 fp2->f_modefp = fp1;