Searched refs:INT_MAX (Results 1 – 12 of 12) sorted by relevance
/lib/ |
D | test_ubsan.c | 10 volatile int val = INT_MAX; in test_ubsan_add_overflow() 25 volatile int val = INT_MAX / 2; in test_ubsan_mul_overflow()
|
D | idr.c | 87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc() 120 int err, max = end > 0 ? end - 1 : INT_MAX; in idr_alloc_cyclic() 206 if (WARN_ON_ONCE(id > INT_MAX)) in idr_for_each() 269 if (WARN_ON_ONCE(id > INT_MAX)) in idr_get_next() 391 max = INT_MAX; in ida_alloc_range()
|
D | memweight.c | 23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); in memweight()
|
D | decompress_bunzip2.c | 56 #ifndef INT_MAX 57 #define INT_MAX 0x7fffffff macro 340 limit[maxLen+1] = INT_MAX; /* Sentinal value for in get_next_block()
|
D | parser.c | 141 else if (val < (long)INT_MIN || val > (long)INT_MAX) in match_number()
|
D | test_vmalloc.c | 36 __param(int, run_test_mask, INT_MAX,
|
D | test_kmod.c | 946 if (new < INT_MIN || new > INT_MAX) in test_dev_config_update_int() 1145 if (num_test_devs + 1 == INT_MAX) { in register_test_dev_kmod()
|
D | vsprintf.c | 2466 if (WARN_ON_ONCE(size > INT_MAX)) in vsnprintf() 2708 return vsnprintf(buf, INT_MAX, fmt, args); in vsprintf() 2730 i = vsnprintf(buf, INT_MAX, fmt, args); in sprintf() 2927 if (WARN_ON_ONCE(size > INT_MAX)) in bstr_printf()
|
D | string.c | 186 if (count == 0 || WARN_ON_ONCE(count > INT_MAX)) in strscpy()
|
D | scatterlist.c | 584 sgl_free_n_order(sgl, INT_MAX, order); in sgl_free_order()
|
D | assoc_array.c | 729 diff = INT_MAX; in assoc_array_insert_into_terminal_node() 738 BUG_ON(diff == INT_MAX); in assoc_array_insert_into_terminal_node()
|
D | test_rhashtable.c | 27 #define TEST_INSERT_FAIL INT_MAX
|