Searched refs:type_max (Results 1 – 12 of 12) sorted by relevance
| /linux/include/linux/ |
| A D | overflow.h | 35 #define type_max(t) __type_max(typeof(t)) macro 36 #define __type_min(T) ((T)((T)-type_max(T)-(T)1)) 212 (x) > type_max(T) : \ 214 (x) < 0 || (x) > type_max(T) : \ 215 (x) < type_min(T) || (x) > type_max(T))
|
| A D | fs.h | 1109 #define OFFSET_MAX type_max(loff_t) 1110 #define OFFT_OFFSET_MAX type_max(off_t)
|
| /linux/tools/include/linux/ |
| A 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/include/rdma/ |
| A D | uverbs_ioctl.h | 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); \
|
| /linux/lib/ |
| A D | overflow_kunit.c | 1014 typeof(t1) __t1h = type_max(t1); \ in same_type_test() 1016 typeof(t2) __t2h = type_max(t2); \ in same_type_test() 1114 TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width, true); \ in castable_to_type_test() 1116 TEST_CASTABLE_TO_TYPE(type_max(u ## width), u ## width ## var, true); \ in castable_to_type_test() 1118 TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width, true); \ in castable_to_type_test() 1120 TEST_CASTABLE_TO_TYPE(type_max(s ## width), s ## width ## var, true); \ in castable_to_type_test() 1123 TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width, false); \ in castable_to_type_test() 1124 TEST_CASTABLE_TO_TYPE(type_max(u ## width), s ## width ## var, false); \ in castable_to_type_test()
|
| A 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/drivers/vfio/pci/nvgrace-gpu/ |
| A D | main.c | 727 if (*pmemphys > type_max(phys_addr_t)) in nvgrace_gpu_fetch_memory_property() 735 if (*pmemlength > type_max(size_t)) in nvgrace_gpu_fetch_memory_property()
|
| /linux/include/net/ |
| A D | xdp.h | 374 meta_max = type_max(typeof_member(struct skb_shared_info, meta_len)); in xdp_metalen_invalid()
|
| /linux/drivers/infiniband/hw/qib/ |
| A 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/drivers/s390/scsi/ |
| A D | zfcp_fc.c | 907 type_max(typeof(rspn_req->rspn.fr_name_len)) + 1); in zfcp_fc_rspn()
|
| /linux/drivers/iommu/iommufd/ |
| A D | pages.c | 352 const unsigned int MAX_NPFNS = type_max(typeof(*batch->npfns)); in batch_add_pfn()
|
| /linux/tools/net/ynl/ |
| A D | ynl-gen-c.py | 1514 type_max = struct.attr_set.max_name
|
Completed in 43 milliseconds