Searched refs:type_max (Results 1 – 12 of 12) sorted by relevance
35 #define type_max(t) __type_max(typeof(t)) macro36 #define __type_min(T) ((T)((T)-type_max(T)-(T)1))206 (x) > type_max(T) : \208 (x) < 0 || (x) > type_max(T) : \209 (x) < type_min(T) || (x) > type_max(T))
48 (type_max(t) << (l) & \49 type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
34 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) macro35 #define type_min(T) ((T)((T)-type_max(T)-(T)1))
1285 u16 type_max; in mlx5e_dcbnl_initialize() local1305 type_max = max_bw_msb_supported ? U16_MAX : U8_MAX; in mlx5e_dcbnl_initialize()1306 priv->dcbx.upper_limit_100mbps = type_max * MLX5E_100MB_TO_KB; in mlx5e_dcbnl_initialize()1307 priv->dcbx.upper_limit_gbps = type_max * MLX5E_1GB_TO_KB; in mlx5e_dcbnl_initialize()
213 type_max(typeof(client_layer))); in domain_is_scoped()
514 type_max(typeof(param->set_program_ex.size))); in program_store()
1566 if (icount > type_max(parent->channel_cnt)) { in gs_usb_probe()1569 type_max(parent->channel_cnt)); in gs_usb_probe()
911 type_max(typeof(rspn_req->rspn.fr_name_len)) + 1); in zfcp_fc_rspn()
1061 mc->max = clamp((0x1ull << control->nbits) - 1, 0, type_max(mc->max)); in populate_control()
284 enum { MAX_NPFNS = type_max(typeof(((struct pfn_batch *)0)->npfns[0])) };
2015 type_max = struct.attr_set.max_name