/openbmc/qemu/tests/tcg/sh4/ |
H A D | test-subv.c | 23 subv(INT_MIN, 1, INT_MAX, 1); in main() 24 subv(INT_MAX, -1, INT_MIN, 1); in main() 25 subv(INT_MAX, 1, INT_MAX - 1, 0); in main()
|
H A D | test-addv.c | 23 addv(INT_MAX, 1, INT_MIN, 1); in main() 24 addv(INT_MAX - 1, 1, INT_MAX, 0); in main()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | iters_num.c | 46 bpf_for(i, INT_MAX, INT_MAX) sum += i; in num_empty_int_max() 108 const volatile __s64 exp_very_big_sum = (__s64)(INT_MAX - 1) + (__s64)(INT_MAX - 2); 116 bpf_for(i, INT_MAX - 2, INT_MAX) sum += i; in num_very_big_sum()
|
H A D | bpf_iter_setsockopt_unix.c | 12 int sndbuf_setsockopt[NR_CASES] = {-1, 0, 8192, INT_MAX / 2, INT_MAX};
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | jmp32.c | 269 .data64 = { INT_MAX, } 371 BPF_JMP32_IMM(BPF_JLE, BPF_REG_7, INT_MAX, 1), 381 .data64 = { INT_MAX - 1, } 387 .data64 = { INT_MAX, } 396 BPF_LD_IMM64(BPF_REG_8, (INT_MAX - 1) | 2ULL << 32), 408 .data64 = { INT_MAX | 1ULL << 32, } 411 .data64 = { INT_MAX - 2, } 442 BPF_JMP32_IMM(BPF_JLT, BPF_REG_7, INT_MAX, 1), 452 .data64 = { INT_MAX, } 458 .data64 = { INT_MAX - 1, } [all …]
|
/openbmc/linux/kernel/ |
H A D | kallsyms_selftest.c | 184 stat.min = INT_MAX; in test_perf_kallsyms_lookup_name() 237 stat.max = INT_MAX; in test_perf_kallsyms_on_each_symbol() 270 stat.max = INT_MAX; in test_perf_kallsyms_on_each_match_symbol() 306 stat->max = INT_MAX; in test_kallsyms_basic_function() 320 stat->max = INT_MAX; in test_kallsyms_basic_function() 351 stat->max = INT_MAX; in test_kallsyms_basic_function() 360 stat2->max = INT_MAX; in test_kallsyms_basic_function()
|
H A D | sysctl-test.c | 320 unsigned long abs_of_less_than_min = (unsigned long)INT_MAX in sysctl_test_api_dointvec_write_single_less_int_min() 321 - (INT_MAX + INT_MIN) + 1; in sysctl_test_api_dointvec_write_single_less_int_min() 358 unsigned long greater_than_max = (unsigned long)INT_MAX + 1; in sysctl_test_api_dointvec_write_single_greater_int_max() 360 KUNIT_ASSERT_GT(test, greater_than_max, (unsigned long)INT_MAX); in sysctl_test_api_dointvec_write_single_greater_int_max()
|
/openbmc/linux/tools/virtio/ringtest/ |
H A D | main.c | 21 int max_outstanding = INT_MAX; 329 assert(c > 0 && c < INT_MAX); in main() 335 assert(c > 0 && c < INT_MAX); in main() 341 assert(c > 0 && c < INT_MAX); in main() 347 assert(c > 0 && c < INT_MAX); in main()
|
/openbmc/linux/drivers/thermal/ |
H A D | thermal_trip.c | 54 int low = -INT_MAX, high = INT_MAX; in __thermal_zone_set_trips() 94 if (same_trip && (tz->prev_low_trip != -INT_MAX || in __thermal_zone_set_trips() 95 tz->prev_high_trip != INT_MAX)) in __thermal_zone_set_trips()
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | idr-test.c | 191 if (!warned && id > INT_MAX) in idr_u32_test1() 194 if (id > INT_MAX) { in idr_u32_test1() 202 if (!warned && id > INT_MAX) { in idr_u32_test1() 372 for (i = INT_MAX - 3UL; i < INT_MAX + 1UL; i++) { in idr_checks() 385 idr_set_cursor(&idr, INT_MAX - 3UL); in idr_checks() 386 for (i = INT_MAX - 3UL; i < INT_MAX + 3UL; i++) { in idr_checks() 389 if (i <= INT_MAX) in idr_checks() 392 item = item_create(i - INT_MAX - 1, 0); in idr_checks()
|
/openbmc/linux/include/vdso/ |
H A D | limits.h | 8 #define INT_MAX ((int)(~0U >> 1)) macro 9 #define INT_MIN (-INT_MAX - 1)
|
/openbmc/linux/include/uapi/linux/ |
H A D | netfilter_ipv4.h | 44 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX, 45 NF_IP_PRI_LAST = INT_MAX,
|
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_events.h | 40 #define KFD_FIRST_NONSIGNAL_EVENT_ID ((INT_MAX >> 1) + 1) 41 #define KFD_LAST_NONSIGNAL_EVENT_ID INT_MAX
|
/openbmc/linux/drivers/misc/lkdtm/ |
H A D | refcount.c | 356 for (i = 0; i < INT_MAX - 1; i++) in lkdtm_ATOMIC_TIMING() 359 for (i = INT_MAX; i > 0; i--) in lkdtm_ATOMIC_TIMING() 381 for (i = 0; i < INT_MAX - 1; i++) in lkdtm_REFCOUNT_TIMING() 384 for (i = INT_MAX; i > 0; i--) in lkdtm_REFCOUNT_TIMING()
|
/openbmc/linux/drivers/soc/samsung/ |
H A D | exynos-regulator-coupler.c | 27 int desired_min_uV = 0, desired_max_uV = INT_MAX; in regulator_get_optimal_voltage() 28 int max_current_uV = 0, min_current_uV = INT_MAX; in regulator_get_optimal_voltage() 38 int tmp_max = INT_MAX; in regulator_get_optimal_voltage()
|
/openbmc/libpldm/src/transport/ |
H A D | socket.c | 42 if (max_buf_size > INT_MAX) { in pldm_socket_sndbuf_init() 43 max_buf_size = INT_MAX; in pldm_socket_sndbuf_init()
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | test_emulate_step.c | 1012 .gpr[22] = INT_MAX, 1019 .gpr[21] = INT_MAX, 1020 .gpr[22] = INT_MAX, 1099 .gpr[22] = INT_MAX, 1106 .gpr[21] = INT_MAX, 1107 .gpr[22] = INT_MAX, 1184 .gpr[22] = INT_MAX, 1191 .gpr[21] = INT_MAX, 1192 .gpr[22] = INT_MAX, 1279 .gpr[22] = INT_MAX, [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | hyperv_fb.c | 378 if (x2 == INT_MAX) in synthvid_update() 380 if (y2 == INT_MAX) in synthvid_update() 422 miny = INT_MAX; in synthvid_deferred_io() 729 par->x1 = par->y1 = INT_MAX; in hvfb_update_work() 797 synthvid_update(info, 0, 0, INT_MAX, INT_MAX); in hvfb_on_panic() 858 synthvid_update(p, 0, 0, INT_MAX, INT_MAX); in hvfb_cfb_fillrect() 871 synthvid_update(p, 0, 0, INT_MAX, INT_MAX); in hvfb_cfb_copyarea() 884 synthvid_update(p, 0, 0, INT_MAX, INT_MAX); in hvfb_cfb_imageblit() 1140 par->x1 = par->y1 = INT_MAX; in hvfb_probe()
|
/openbmc/linux/include/net/netfilter/ |
H A D | nf_conntrack_core.h | 90 if (timeout > INT_MAX) in __nf_ct_set_timeout() 91 timeout = INT_MAX; in __nf_ct_set_timeout()
|
/openbmc/linux/lib/ |
H A 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()
|
/openbmc/linux/tools/include/nolibc/ |
H A D | stdint.h | 102 #ifndef INT_MAX 103 #define INT_MAX __INT_MAX__ macro
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_utils.c | 78 page_info->pagecnt_bias = INT_MAX - pagecount; in gve_dec_pagecnt_bias() 81 page_ref_add(page_info->page, INT_MAX - pagecount); in gve_dec_pagecnt_bias()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_rect_test.c | 202 drm_rect_init(&src, 0, 0, INT_MAX, INT_MAX); in drm_test_rect_clip_scaled_signed_vs_unsigned() 360 .min_range = 0, .max_range = INT_MAX, 381 .min_range = 0, .max_range = INT_MAX, 388 .min_range = 0, .max_range = INT_MAX, 395 .min_range = 0, .max_range = INT_MAX,
|
/openbmc/linux/fs/nfs/ |
H A D | namespace.c | 333 if (num >= INT_MAX / HZ) in param_set_nfs_timeout() 334 num = INT_MAX; in param_set_nfs_timeout() 352 if (num >= INT_MAX - (HZ - 1)) in param_get_nfs_timeout() 353 num = INT_MAX / HZ; in param_get_nfs_timeout()
|
/openbmc/qemu/net/ |
H A D | tap-linux.c | 137 tap->sndbuf > INT_MAX ? INT_MAX : in tap_set_sndbuf() 141 sndbuf = INT_MAX; in tap_set_sndbuf()
|