Home
last modified time | relevance | path

Searched refs:type_max (Results 1 – 12 of 12) sorted by relevance

/linux/include/linux/
H A Doverflow.h35 #define type_max(t) __type_max(typeof(t)) macro
36 #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))
H A Dbits.h48 (type_max(t) << (l) & \
49 type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
/linux/tools/include/linux/
H A Dbits.h48 (type_max(t) << (l) & \
49 type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
H A Doverflow.h34 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) macro
35 #define type_min(T) ((T)((T)-type_max(T)-(T)1))
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c1285 u16 type_max; in mlx5e_dcbnl_initialize() local
1305 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()
/linux/security/landlock/
H A Dtask.c213 type_max(typeof(client_layer))); in domain_is_scoped()
/linux/drivers/platform/chrome/
H A Dcros_ec_lightbar.c514 type_max(typeof(param->set_program_ex.size))); in program_store()
/linux/drivers/net/can/usb/
H A Dgs_usb.c1566 if (icount > type_max(parent->channel_cnt)) { in gs_usb_probe()
1569 type_max(parent->channel_cnt)); in gs_usb_probe()
/linux/drivers/s390/scsi/
H A Dzfcp_fc.c911 type_max(typeof(rspn_req->rspn.fr_name_len)) + 1); in zfcp_fc_rspn()
/linux/sound/soc/sdca/
H A Dsdca_asoc.c1061 mc->max = clamp((0x1ull << control->nbits) - 1, 0, type_max(mc->max)); in populate_control()
/linux/drivers/iommu/iommufd/
H A Dpages.c284 enum { MAX_NPFNS = type_max(typeof(((struct pfn_batch *)0)->npfns[0])) };
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py2015 type_max = struct.attr_set.max_name