Lines Matching refs:piece_data_time
131 time_t piece_data_time;
1674 peer->atom->piece_data_time = now;
1750 peer->atom->piece_data_time = now;
2015 atom->piece_data_time = 0;
2287 if( a->piece_data_time != b->piece_data_time )
2288 return a->piece_data_time > b->piece_data_time ? -1 : 1;
3245 const int idleTime = now - MAX( atom->time, atom->piece_data_time );
3246 /*fprintf( stderr, "strictness is %.3f, limit is %d seconds... time since connect is %d, time since piece is %d ... idleTime is %d, doPurge is %d\n", (double)strictness, limit, (int)(now - atom->time), (int)(now - atom->piece_data_time), idleTime, idleTime > limit );*/
3286 if( ( now - atom->piece_data_time ) <= ( MINIMUM_RECONNECT_INTERVAL_SECS * 2 ) )
3346 if( atom->piece_data_time ) {
3429 l->pieceDataTime = p->atom->piece_data_time;
3674 atime = a->piece_data_time; if( atime + data_time_cutoff_secs < tr_now ) atime = 0;
3675 btime = b->piece_data_time; if( btime + data_time_cutoff_secs < tr_now ) btime = 0;