Searched refs:type_max (Results 1 – 11 of 11) 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))
1338 #define OFFSET_MAX type_max(loff_t)1339 #define OFFT_OFFSET_MAX type_max(off_t)
48 (type_max(t) << (l) & \49 type_max(t) >> (BITS_PER_TYPE(t) - 1 - (h)))))
33 #define type_max(T) ((T)((__type_half_max(T) - 1) + __type_half_max(T))) macro34 #define type_min(T) ((T)((T)-type_max(T)-(T)1))
962 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); \
994 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()
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()
921 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])) };
2007 type_max = struct.attr_set.max_name2008 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},')