Home
last modified time | relevance | path

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

/lib/
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()
392 max = INT_MAX; in ida_alloc_range()
Dmemweight.c23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); in memweight()
Dtest_ubsan.c27 int val2 = INT_MAX; in test_ubsan_shift_out_of_bounds()
Ddecompress_bunzip2.c56 #ifndef INT_MAX
57 #define INT_MAX 0x7fffffff macro
340 limit[maxLen+1] = INT_MAX; /* Sentinel value for in get_next_block()
Dparser.c144 else if (val < (long)INT_MIN || val > (long)INT_MAX) in match_number()
Dkstrtox.c90 return _parse_integer_limit(s, base, p, INT_MAX); in _parse_integer()
Dvsprintf.c96 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()
Dtest_vmalloc.c41 __param(int, run_test_mask, INT_MAX,
Dstring.c186 if (count == 0 || WARN_ON_ONCE(count > INT_MAX)) in strscpy()
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()
Dscatterlist.c696 sgl_free_n_order(sgl, INT_MAX, order); in sgl_free_order()
Dtest_rhashtable.c27 #define TEST_INSERT_FAIL INT_MAX
Dtest_kmod.c1139 if (num_test_devs + 1 == INT_MAX) { in register_test_dev_kmod()
/lib/crypto/
Dchacha20poly1305.c236 if (WARN_ON(src_len > INT_MAX)) in chacha20poly1305_crypt_sg_inplace()