Searched refs:INT_MAX (Results 1 – 14 of 14) sorted by relevance
/lib/ |
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() 392 max = INT_MAX; in ida_alloc_range()
|
D | memweight.c | 23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); in memweight()
|
D | test_ubsan.c | 27 int val2 = INT_MAX; in test_ubsan_shift_out_of_bounds()
|
D | decompress_bunzip2.c | 56 #ifndef INT_MAX 57 #define INT_MAX 0x7fffffff macro 340 limit[maxLen+1] = INT_MAX; /* Sentinel value for in get_next_block()
|
D | parser.c | 144 else if (val < (long)INT_MIN || val > (long)INT_MAX) in match_number()
|
D | kstrtox.c | 90 return _parse_integer_limit(s, base, p, INT_MAX); in _parse_integer()
|
D | vsprintf.c | 96 return simple_strntoull(cp, INT_MAX, endp, base); in simple_strtoull() 156 return simple_strntoll(cp, INT_MAX, endp, base); in simple_strtoll() 2749 if (WARN_ON_ONCE(size > INT_MAX)) in vsnprintf() 2991 return vsnprintf(buf, INT_MAX, fmt, args); in vsprintf() 3013 i = vsnprintf(buf, INT_MAX, fmt, args); in sprintf() 3209 if (WARN_ON_ONCE(size > INT_MAX)) in bstr_printf() 3643 field_width >= 0 ? field_width : INT_MAX, in vsscanf() 3647 field_width >= 0 ? field_width : INT_MAX, in vsscanf()
|
D | test_vmalloc.c | 41 __param(int, run_test_mask, INT_MAX,
|
D | string.c | 186 if (count == 0 || WARN_ON_ONCE(count > INT_MAX)) in strscpy()
|
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 | scatterlist.c | 696 sgl_free_n_order(sgl, INT_MAX, order); in sgl_free_order()
|
D | test_rhashtable.c | 27 #define TEST_INSERT_FAIL INT_MAX
|
D | test_kmod.c | 1139 if (num_test_devs + 1 == INT_MAX) { in register_test_dev_kmod()
|
/lib/crypto/ |
D | chacha20poly1305.c | 236 if (WARN_ON(src_len > INT_MAX)) in chacha20poly1305_crypt_sg_inplace()
|