Searched defs:roundup (Results 1 – 10 of 10) sorted by relevance
53 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
237 static u32 __generate_thresh(u32 val, int roundup) in __generate_thresh()
309 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) /* to any y */ macro
199 static __inline__ uint32_t GenerateThresh(uint32_t val, int roundup) in GenerateThresh()
144 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
175 #define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) macro
616 static __inline__ uint32_t GenerateCgrThresh(uint64_t val, int roundup) in GenerateCgrThresh()
561 int roundup) in qm_fqd_taildrop_set()710 int roundup) in qm_cgr_cs_thres_set64()
832 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro
90 #define roundup(x, y) ((((x) + ((y) - 1)) / (y)) * (y)) macro