Lines Matching refs:tr_bandwidth
88 const tr_bandwidth * a = va;
89 const tr_bandwidth * b = vb;
98 tr_bandwidthConstruct( tr_bandwidth * b, tr_session * session, tr_bandwidth * parent )
112 tr_bandwidthDestruct( tr_bandwidth * b )
119 memset( b, ~0, sizeof( tr_bandwidth ) );
127 tr_bandwidthSetParent( tr_bandwidth * b,
128 tr_bandwidth * parent )
163 allocateBandwidth( tr_bandwidth * b,
190 struct tr_bandwidth ** children = (struct tr_bandwidth**) tr_ptrArrayBase( &b->children );
234 tr_bandwidthAllocate( tr_bandwidth * b,
292 tr_bandwidthSetPeer( tr_bandwidth * b, tr_peerIo * peer )
305 bandwidthClamp( const tr_bandwidth * b,
347 tr_bandwidthClamp( const tr_bandwidth * b,
356 tr_bandwidthGetRawSpeed_Bps( const tr_bandwidth * b, const uint64_t now, const tr_direction dir )
365 tr_bandwidthGetPieceSpeed_Bps( const tr_bandwidth * b, const uint64_t now, const tr_direction dir )
374 tr_bandwidthUsed( tr_bandwidth * b,