Lines Matching refs:m_flush_failed
96 m_flush_failed = m_flush_tried = (time_t) 0; in btContent()
604 if( m_flush_failed ) FlushCache(); // try again in CacheClean()
736 if( !m_flush_failed || total > m_cache_size ) m_cache_size = total; in CacheEval()
753 if( m_cache_size < m_cache_used && !m_flush_failed ) CacheClean(0); in CacheConfigure()
758 if( m_flush_failed ){ in NeedFlush()
772 if( m_flush_failed ) break; in FlushCache()
803 if( now >= m_flush_failed + 300 ){ in FlushEntry()
804 if( !m_flush_failed ) in FlushEntry()
813 (!m_flush_failed && m_cache_size > cfg_cache_size*1024*1024) ){ in FlushEntry()
816 (!m_flush_failed && m_cache_size > cfg_cache_size*1024*1024) ? in FlushEntry()
819 m_flush_failed = now; in FlushEntry()
828 if(m_flush_failed){ in FlushEntry()
829 m_flush_failed = 0; in FlushEntry()
864 if( !m_flush_failed ){ in FlushQueue()
1205 if( !IsFull() || m_flush_failed ){ in APieceComplete()
1241 if( Seeding() && (!m_flush_failed || IsFull()) ){ in SeedTimeout()
1279 if( m_flush_failed ){ in SeedTimeout()
1370 if( m_cache_size < m_cache_used && !m_flush_failed ) CacheClean(0); in CompletionCommand()
1565 if( IsFull() || m_flush_failed ) return 1; in Seeding()