Home
last modified time | relevance | path

Searched refs:INT_MAX (Results 1 – 12 of 12) sorted by relevance

/lib/
Dtest_ubsan.c10 volatile int val = INT_MAX; in test_ubsan_add_overflow()
25 volatile int val = INT_MAX / 2; in test_ubsan_mul_overflow()
Didr.c87 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()
Dmemweight.c23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); in memweight()
Ddecompress_bunzip2.c56 #ifndef INT_MAX
57 #define INT_MAX 0x7fffffff macro
340 limit[maxLen+1] = INT_MAX; /* Sentinal value for in get_next_block()
Dparser.c141 else if (val < (long)INT_MIN || val > (long)INT_MAX) in match_number()
Dtest_vmalloc.c36 __param(int, run_test_mask, INT_MAX,
Dtest_kmod.c946 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()
Dvsprintf.c2466 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()
Dstring.c186 if (count == 0 || WARN_ON_ONCE(count > INT_MAX)) in strscpy()
Dscatterlist.c584 sgl_free_n_order(sgl, INT_MAX, order); in sgl_free_order()
Dassoc_array.c729 diff = INT_MAX; in assoc_array_insert_into_terminal_node()
738 BUG_ON(diff == INT_MAX); in assoc_array_insert_into_terminal_node()
Dtest_rhashtable.c27 #define TEST_INSERT_FAIL INT_MAX