Lines Matching full:completed
82 /* Records completed count and recalculates the queue limit */
86 unsigned int ovlimit, completed, num_queued; in dql_completed() local
101 completed = dql->num_completed + count; in dql_completed()
104 inprogress = num_queued - completed; in dql_completed()
106 all_prev_completed = AFTER_EQ(completed, dql->prev_num_queued); in dql_completed()
122 * of bytes both sent and completed in the last interval, in dql_completed()
125 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed()
146 * the number of objects completed. Note that two times in dql_completed()
147 * number of completed bytes is a basis for an upper bound in dql_completed()
155 2 * (completed - dql->num_completed)); in dql_completed()
180 dql->adj_limit = limit + completed; in dql_completed()
183 dql->num_completed = completed; in dql_completed()