Home
last modified time | relevance | path

Searched refs:POSDIFF (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/lib/
Ddynamic_queue_limits.c14 #define POSDIFF(A, B) ((int)((A) - (B)) > 0 ? (A) - (B) : 0) macro
31 ovlimit = POSDIFF(num_queued - dql->num_completed, limit); in dql_completed()
53 limit += POSDIFF(completed, dql->prev_num_queued) + in dql_completed()
82 slack = POSDIFF(limit + dql->prev_ovlimit, in dql_completed()
85 POSDIFF(dql->prev_last_obj_cnt, dql->prev_ovlimit) : 0; in dql_completed()
94 limit = POSDIFF(limit, dql->lowest_slack); in dql_completed()