Searched refs:type_max (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/include/linux/ |
D | overflow.h | 34 #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)) 133 (x) > type_max(typeof(T)) : \ 135 (x) < 0 || (x) > type_max(typeof(T)) : \ 136 (x) < type_min(typeof(T)) || (x) > type_max(typeof(T)))
|
D | fs.h | 1065 #define OFFSET_MAX type_max(loff_t) 1066 #define OFFT_OFFSET_MAX type_max(off_t)
|
/Linux-v6.6/tools/include/linux/ |
D | overflow.h | 33 #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-v6.6/lib/ |
D | overflow_kunit.c | 957 typeof(t1) __t1h = type_max(t1); \ in same_type_test() 959 typeof(t2) __t2h = type_max(t2); \ in same_type_test() 1057 TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width, true); \ in castable_to_type_test() 1059 TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width ## var, true); \ in castable_to_type_test() 1061 TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width, true); \ in castable_to_type_test() 1063 TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width ## var, true); \ in castable_to_type_test() 1066 TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width, false); \ in castable_to_type_test() 1067 TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width ## var, false); \ in castable_to_type_test()
|
D | test_scanf.c | 189 ? ((long long)(val) >= type_min(T)) && ((long long)(val) <= type_max(T)) \ 190 : ((unsigned long long)(val) <= type_max(T)))
|
/Linux-v6.6/include/rdma/ |
D | uverbs_ioctl.h | 960 type_max(typeof(*(_to))), NULL); \ 970 type_max(typeof(*(_to))), NULL); \ 982 type_max(typeof(*(_to))), &_def_val); \ 993 type_max(typeof(*(_to))), &_def_val); \
|
/Linux-v6.6/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 884 bytes_togo > type_max(typeof(pkt->bytes_togo))) { in qib_user_sdma_queue_pkts() 937 addrlimit > type_max(typeof(pkt->addrlimit))) { in qib_user_sdma_queue_pkts()
|
/Linux-v6.6/drivers/iommu/iommufd/ |
D | pages.c | 352 const unsigned int MAX_NPFNS = type_max(typeof(*batch->npfns)); in batch_add_pfn()
|
/Linux-v6.6/tools/net/ynl/ |
D | ynl-gen-c.py | 1335 type_max = struct.attr_set.max_name
|