• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/

Lines Matching refs:tr_bandwidth

93  *   Call tr_bandwidthAllocate() periodically. tr_bandwidth knows its current
98 * tr_bandwidthAllocate() operates on the tr_bandwidth subtree, so usually
101 * The peer-ios all have a pointer to their associated tr_bandwidth object,
105 typedef struct tr_bandwidth
111 struct tr_bandwidth * parent;
116 tr_ptrArray children; /* struct tr_bandwidth */
119 tr_bandwidth;
126 void tr_bandwidthConstruct( tr_bandwidth * bandwidth,
128 tr_bandwidth * parent );
130 void tr_bandwidthDestruct( tr_bandwidth * bandwidth );
133 static inline bool tr_isBandwidth( const tr_bandwidth * b )
147 static inline bool tr_bandwidthSetDesiredSpeed_Bps( tr_bandwidth * bandwidth,
162 tr_bandwidthGetDesiredSpeed_Bps( const tr_bandwidth * bandwidth, tr_direction dir )
170 static inline bool tr_bandwidthSetLimited( tr_bandwidth * bandwidth,
183 static inline bool tr_bandwidthIsLimited( const tr_bandwidth * bandwidth,
192 void tr_bandwidthAllocate ( tr_bandwidth * bandwidth,
199 unsigned int tr_bandwidthClamp ( const tr_bandwidth * bandwidth,
208 unsigned int tr_bandwidthGetRawSpeed_Bps( const tr_bandwidth * bandwidth,
213 unsigned int tr_bandwidthGetPieceSpeed_Bps( const tr_bandwidth * bandwidth,
221 void tr_bandwidthUsed ( tr_bandwidth * bandwidth,
231 void tr_bandwidthSetParent ( tr_bandwidth * bandwidth,
232 tr_bandwidth * parent );
240 static inline bool tr_bandwidthHonorParentLimits ( tr_bandwidth * bandwidth,
250 static inline bool tr_bandwidthAreParentLimitsHonored( const tr_bandwidth * bandwidth,
263 void tr_bandwidthSetPeer( tr_bandwidth * bandwidth,