Symbol: type_max
drivers/iommu/iommufd/pages.c
284
enum { MAX_NPFNS = type_max(typeof(((struct pfn_batch *)0)->npfns[0])) };
drivers/net/can/usb/gs_usb.c
1566
if (icount > type_max(parent->channel_cnt)) {
drivers/net/can/usb/gs_usb.c
1569
type_max(parent->channel_cnt));
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c
1270
u16 type_max;
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c
1290
type_max = max_bw_msb_supported ? U16_MAX : U8_MAX;
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c
1291
priv->dcbx.upper_limit_100mbps = type_max * MLX5E_100MB_TO_KB;
drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c
1292
priv->dcbx.upper_limit_gbps = type_max * MLX5E_1GB_TO_KB;
drivers/s390/scsi/zfcp_fc.c
911
type_max(typeof(rspn_req->rspn.fr_name_len)) + 1);
drivers/vfio/pci/nvgrace-gpu/main.c
1002
if (*pmemlength > type_max(size_t))
drivers/vfio/pci/nvgrace-gpu/main.c
994
if (*pmemphys > type_max(phys_addr_t))
include/linux/bits.h
48
(type_max(t) << (l) & \
include/linux/bits.h
49
type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
include/linux/fs.h
1338
#define OFFSET_MAX type_max(loff_t)
include/linux/fs.h
1339
#define OFFT_OFFSET_MAX type_max(off_t)
include/linux/overflow.h
206
(x) > type_max(T) : \
include/linux/overflow.h
208
(x) < 0 || (x) > type_max(T) : \
include/linux/overflow.h
209
(x) < type_min(T) || (x) > type_max(T))
include/linux/overflow.h
36
#define __type_min(T) ((T)((T)-type_max(T)-(T)1))
include/net/xdp.h
552
meta_max = type_max(typeof_member(struct skb_shared_info, meta_len));
include/rdma/uverbs_ioctl.h
962
type_max(typeof(*(_to))), NULL); \
include/rdma/uverbs_ioctl.h
972
type_max(typeof(*(_to))), NULL); \
include/rdma/uverbs_ioctl.h
984
type_max(typeof(*(_to))), &_def_val); \
include/rdma/uverbs_ioctl.h
995
type_max(typeof(*(_to))), &_def_val); \
lib/tests/overflow_kunit.c
1014
typeof(t1) __t1h = type_max(t1); \
lib/tests/overflow_kunit.c
1016
typeof(t2) __t2h = type_max(t2); \
lib/tests/overflow_kunit.c
1114
TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width, true); \
lib/tests/overflow_kunit.c
1116
TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width ## var, true); \
lib/tests/overflow_kunit.c
1118
TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width, true); \
lib/tests/overflow_kunit.c
1120
TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width ## var, true); \
lib/tests/overflow_kunit.c
1123
TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width, false); \
lib/tests/overflow_kunit.c
1124
TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width ## var, false); \
lib/tests/scanf_kunit.c
175
? ((long long)(val) >= type_min(T)) && ((long long)(val) <= type_max(T)) \
lib/tests/scanf_kunit.c
176
: ((unsigned long long)(val) <= type_max(T)))
sound/soc/sdca/sdca_asoc.c
921
mc->max = clamp((0x1ull << control->nbits) - 1, 0, type_max(mc->max));
tools/include/linux/bits.h
48
(type_max(t) << (l) & \
tools/include/linux/bits.h
49
type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
tools/include/linux/overflow.h
34
#define type_min(T) ((T)((T)-type_max(T)-(T)1))