Searched refs:CLAMP (Results 1 – 1 of 1) sorted by relevance
2951 #define CLAMP(x, h, l) ((x) > h ? h : ((x) < l) ? l : (x)) in ttsetwater() macro2956 tp->t_lowat = x = (unsigned int)CLAMP(cps / 2, TTMAXLOWAT, TTMINLOWAT); in ttsetwater()2958 x = CLAMP(x, TTMAXHIWAT, TTMINHIWAT); in ttsetwater()2960 #undef CLAMP in ttsetwater()