Lines Matching defs:df
202 SM_FILE_T *df;
211 df = bfopen(dfname, QueueFileMode, DataFileBufferSize,
215 if (df == NULL)
223 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
232 return df;
358 register SM_FILE_T *df;
393 df = NULL;
644 (void) sm_io_putc(df, SM_TIME_DEFAULT,
797 df = collect_eoh(e, numhdrs, hdrslen);
798 if (df == NULL)
814 (void) sm_io_putc(df, SM_TIME_DEFAULT,
845 SM_ASSERT(df == NULL);
846 df = collect_eoh(e, numhdrs, hdrslen);
849 if (df == NULL)
854 else if (sm_io_flush(df, SM_TIME_DEFAULT) != 0 || sm_io_error(df))
856 dferror(df, "sm_io_flush||sm_io_error", e);
869 else if (sm_io_setinfo(df, SM_BF_COMMIT, NULL) < 0 && errno != EINVAL)
885 dfd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL);
890 dferror(df, "bfcommit", e);
894 else if ((afd = sm_io_getinfo(df, SM_IO_WHAT_FD, NULL)) < 0)
896 dferror(df, "sm_io_getinfo", e);
903 dferror(df, "fsync", e);
908 else if (sm_io_close(df, SM_TIME_DEFAULT) < 0)
910 dferror(df, "sm_io_close", e);
918 df = NULL;
980 SM_CLOSE_FP(df);
1068 e->e_dfp = df;
1100 ** df -- the file pointer for the data file.
1113 dferror(df, msg, e)
1114 SM_FILE_T *volatile df;
1136 fstat64(sm_io_getinfo(df, SM_IO_WHAT_FD, NULL), &st)
1138 fstat(sm_io_getinfo(df, SM_IO_WHAT_FD, NULL), &st)
1143 SM_IO_WRONLY_B, NULL, df);
1145 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1148 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1151 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1162 (void) sm_io_fprintf(df, SM_TIME_DEFAULT,
1178 SM_IO_WRONLY, NULL, df) == NULL)