type_max
enum { MAX_NPFNS = type_max(typeof(((struct pfn_batch *)0)->npfns[0])) };
if (icount > type_max(parent->channel_cnt)) {
type_max(parent->channel_cnt));
u16 type_max;
type_max = max_bw_msb_supported ? U16_MAX : U8_MAX;
priv->dcbx.upper_limit_100mbps = type_max * MLX5E_100MB_TO_KB;
priv->dcbx.upper_limit_gbps = type_max * MLX5E_1GB_TO_KB;
type_max(typeof(rspn_req->rspn.fr_name_len)) + 1);
if (*pmemlength > type_max(size_t))
if (*pmemphys > type_max(phys_addr_t))
(type_max(t) << (l) & \
type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
#define OFFSET_MAX type_max(loff_t)
#define OFFT_OFFSET_MAX type_max(off_t)
(x) > type_max(T) : \
(x) < 0 || (x) > type_max(T) : \
(x) < type_min(T) || (x) > type_max(T))
#define __type_min(T) ((T)((T)-type_max(T)-(T)1))
meta_max = type_max(typeof_member(struct skb_shared_info, meta_len));
type_max(typeof(*(_to))), NULL); \
type_max(typeof(*(_to))), NULL); \
type_max(typeof(*(_to))), &_def_val); \
type_max(typeof(*(_to))), &_def_val); \
typeof(t1) __t1h = type_max(t1); \
typeof(t2) __t2h = type_max(t2); \
TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width, true); \
TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width ## var, true); \
TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width, true); \
TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width ## var, true); \
TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width, false); \
TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width ## var, false); \
? ((long long)(val) >= type_min(T)) && ((long long)(val) <= type_max(T)) \
: ((unsigned long long)(val) <= type_max(T)))
mc->max = clamp((0x1ull << control->nbits) - 1, 0, type_max(mc->max));
(type_max(t) << (l) & \
type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
#define type_min(T) ((T)((T)-type_max(T)-(T)1))