Lines Matching refs:dbf
75 * dbf - Global debug file handle.
81 XFILE *dbf = NULL;
105 * stdout_logging - Default False, if set to True then dbf will be set to
106 * stdout and debug output will go to dbf only, and not
520 dbf = NULL;
524 dbf = x_stdout;
581 if (dbf)
582 x_fflush(dbf);
586 old_dbf = dbf;
587 dbf = new_dbf;
600 if (dbf && sys_dup2(x_fileno(dbf), 2) == -1) {
629 if( !dbf || maxlog <= 0 ) {
659 if( sys_fstat( x_fileno( dbf ), &st ) == 0 && st.st_size > maxlog ) {
661 if( dbf && get_file_size( debugf ) > maxlog ) {
675 * Here's where we need to panic if dbf == NULL..
678 if(dbf == NULL) {
686 dbf = x_fopen( "/dev/console", O_WRONLY, 0);
687 if(dbf) {
715 if(dbf)
716 (void)x_vfprintf( dbf, format_str, ap );
726 if( !dbf )
730 dbf = x_fopen( debugf, O_WRONLY|O_APPEND|O_CREAT, 0644 );
732 if( dbf )
734 x_setbuf( dbf, NULL );
782 if(dbf)
783 (void)x_vfprintf( dbf, format_str, ap );
785 if(dbf)
786 (void)x_fflush( dbf );
875 if(dbf)
876 (void)x_fflush( dbf );