Searched refs:ot_peerlist (Results 1 – 9 of 9) sorted by relevance
88 struct ot_peerlist;89 typedef struct ot_peerlist ot_peerlist; typedef92 ot_peerlist *peer_list;97 struct ot_peerlist { struct170 void free_peerlist( ot_peerlist *peer_list );
34 void free_peerlist( ot_peerlist *peer_list ) { in free_peerlist()62 if( !( torrent->peer_list = malloc( sizeof (ot_peerlist) ) ) ) { in add_torrent_from_saved_state()67 byte_zero( torrent->peer_list, sizeof( ot_peerlist ) ); in add_torrent_from_saved_state()100 if( !( torrent->peer_list = malloc( sizeof (ot_peerlist) ) ) ) { in add_peer_to_torrent_and_return_peers()106 byte_zero( torrent->peer_list, sizeof( ot_peerlist ) ); in add_peer_to_torrent_and_return_peers()186 static size_t return_peers_all( ot_peerlist *peer_list, char *reply ) { in return_peers_all()213 static size_t return_peers_selection( ot_peerlist *peer_list, size_t amount, char *reply ) { in return_peers_selection()266 ot_peerlist *peer_list = torrent->peer_list; in return_peers_for_torrent()351 static ot_peerlist dummy_list;356 ot_peerlist *peer_list = &dummy_list; in remove_peer_from_torrent()
137 if( !( torrent->peer_list = malloc( sizeof (ot_peerlist) ) ) ) { in add_peer_to_torrent_proxy()143 byte_zero( torrent->peer_list, sizeof( ot_peerlist ) ); in add_peer_to_torrent_proxy()172 ot_peerlist *peer_list = torrent->peer_list; in remove_peer_from_torrent_proxy()184 void free_peerlist( ot_peerlist *peer_list ) { in free_peerlist()612 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[tor_offset] ).peer_list; in streamsync_worker()665 ot_peerlist *peer_list = torrent->peer_list; in streamsync_worker()
31 void vector_redistribute_buckets( ot_peerlist * peer_list );
50 ot_peerlist *peer_list = torrent->peer_list; in clean_single_torrent()
98 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[tor_offset] ).peer_list; in sync_make()
161 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[tor_offset] ).peer_list; in fullscrape_make()
161 void vector_redistribute_buckets( ot_peerlist * peer_list ) { in vector_redistribute_buckets()
227 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[i] ).peer_list; in stats_slash24s_txt()314 ot_peerlist *peer_list = ( ((ot_torrent*)(torrents_list->data))[j] ).peer_list; in stats_top_txt()