Lines Matching refs:df
200 SM_FILE_T *df;
209 df = bfopen(dfname, QueueFileMode, DataFileBufferSize,
213 if (df == NULL)
221 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
230 return df;
286 register SM_FILE_T *df;
307 df = NULL;
525 (void) sm_io_putc(df, SM_TIME_DEFAULT,
678 df = collect_eoh(e, numhdrs, hdrslen);
679 if (df == NULL)
697 (void) sm_io_putc(df, SM_TIME_DEFAULT,
728 SM_ASSERT(df == NULL);
729 df = collect_eoh(e, numhdrs, hdrslen);
732 if (df == NULL)
737 else if (sm_io_flush(df, SM_TIME_DEFAULT) != 0 || sm_io_error(df))
739 dferror(df, "sm_io_flush||sm_io_error", e);
752 else if (sm_io_setinfo(df, SM_BF_COMMIT, NULL) < 0 && errno != EINVAL)
768 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
773 dferror(df, "bfcommit", e);
777 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
779 dferror(df, "sm_io_getinfo", e);
786 dferror(df, "fsync", e);
791 else if (sm_io_close(df, SM_TIME_DEFAULT) < 0)
793 dferror(df, "sm_io_close", e);
801 df = NULL;
853 (void) sm_io_close(df, SM_TIME_DEFAULT);
854 df = NULL;
927 e->e_dfp = df;
954 ** df -- the file pointer for the data file.
967 dferror(df, msg, e)
968 SM_FILE_T *volatile df;
990 fstat64(sm_io_getinfo(df, SM_IO_WHAT_FD, NULL), &st)
992 fstat(sm_io_getinfo(df, SM_IO_WHAT_FD, NULL), &st)
997 SM_IO_WRONLY_B, NULL, df);
999 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1002 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1005 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1016 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1032 SM_IO_WRONLY, NULL, df) == NULL)