Home
last modified time | relevance | path

Searched refs:type_max (Results 1 – 11 of 11) 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 Dfs.h1338 #define OFFSET_MAX type_max(loff_t)
1339 #define OFFT_OFFSET_MAX type_max(off_t)
/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.h33 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) macro
34 #define type_min(T) ((T)((T)-type_max(T)-(T)1))
/linux/include/rdma/
H A Duverbs_ioctl.h962 type_max(typeof(*(_to))), NULL); \
972 type_max(typeof(*(_to))), NULL); \
984 type_max(typeof(*(_to))), &_def_val); \
995 type_max(typeof(*(_to))), &_def_val); \
/linux/drivers/vfio/pci/nvgrace-gpu/
H A Dmain.c994 if (*pmemphys > type_max(phys_addr_t)) in nvgrace_gpu_fetch_memory_property()
1002 if (*pmemlength > type_max(size_t)) in nvgrace_gpu_fetch_memory_property()
/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.c921 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.py2007 type_max = struct.attr_set.max_name
2008 cw.block_start(line=f'const struct ynl_policy_attr {struct.render_name}_policy[{type_max} + 1] =')
2017 cw.p(f'.max_attr = {type_max},')