Searched defs:DIV_ROUND_CLOSEST (Results 1 – 6 of 6) sorted by relevance
51 #define DIV_ROUND_CLOSEST(x, divisor) (((x) + ((divisor) / 2)) / (divisor)) macro
41 #define DIV_ROUND_CLOSEST(n, d) (((n) + (d) / 2) / (d)) macro
167 #define DIV_ROUND_CLOSEST(val, div) (((val) + ((div) / 2)) / (div)) macro
210 #define DIV_ROUND_CLOSEST(val, div) (((val) + ((div) / 2)) / (div)) macro
127 #define DIV_ROUND_CLOSEST(n,d) (((n) + (d) / 2) / (d)) macro
233 #define DIV_ROUND_CLOSEST(n,d) (((n) + (d) / 2) / (d)) macro