/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/include/uapi/linux/ |
H A D | netfilter_ipv4.h | 14 #include <limits.h> /* for INT_MIN, INT_MAX */ 44 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX, 45 NF_IP_PRI_LAST = INT_MAX,
|
H A D | netfilter_bridge.h | 15 #include <limits.h> /* for INT_MIN, INT_MAX */ 41 NF_BR_PRI_LAST = INT_MAX,
|
H A D | netfilter_ipv6.h | 17 #include <limits.h> /* for INT_MIN, INT_MAX */ 48 NF_IP6_PRI_LAST = 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/drivers/net/ethernet/google/gve/ |
H A D | gve_utils.c | 75 /* If we have run out of bias - set it back up to INT_MAX in gve_dec_pagecnt_bias() 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/arch/powerpc/lib/ |
H A D | test_emulate_step.c | 1008 .descr = "RA = INT_MIN, RB = INT_MAX", 1012 .gpr[22] = INT_MAX, 1016 .descr = "RA = INT_MAX, RB = INT_MAX", 1019 .gpr[21] = INT_MAX, 1020 .gpr[22] = INT_MAX, 1095 .descr = "RA = INT_MIN, RB = INT_MAX", 1099 .gpr[22] = INT_MAX, 1103 .descr = "RA = INT_MAX, RB = INT_MAX", 1106 .gpr[21] = INT_MAX, 1107 .gpr[22] = INT_MAX, [all …]
|
/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/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/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/include/vdso/ |
H A D | limits.h | 8 #define INT_MAX ((int)(~0U >> 1)) macro 9 #define INT_MIN (-INT_MAX - 1)
|
/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()
|
/openbmc/linux/tools/testing/selftests/futex/functional/ |
H A D | futex_requeue.c | 105 * At futex_wake, wake INT_MAX (should be exactly 7). in main() 123 info("Waking INT_MAX futexes at f2\n"); in main() 124 res = futex_wake(&f2, INT_MAX, 0); in main()
|
/openbmc/linux/lib/ |
H A D | idr.c | 68 * @end is <= 0, it is treated as one larger than %INT_MAX. This allows 87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc() 104 * @end is <= 0, it is treated as one larger than %INT_MAX. This allows 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() 326 * IDs are currently limited to the range [0-INT_MAX]. If this is an awkward 373 * not exceed %INT_MAX, even if @max is larger. 392 max = INT_MAX; in ida_alloc_range()
|
/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/linux/tools/include/nolibc/ |
H A D | stdint.h | 102 #ifndef INT_MAX 103 #define INT_MAX __INT_MAX__ macro
|
/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()
|
H A D | xen-fbfront.c | 175 info->x1 = info->y1 = INT_MAX; in xenfb_refresh() 191 miny = INT_MAX; in xenfb_deferred_io() 337 xenfb_refresh(info, INT_MAX, INT_MAX, -INT_MAX, -INT_MAX); in xenfb_event_handler() 383 info->x1 = info->y1 = INT_MAX; in xenfb_probe()
|
/openbmc/linux/tools/testing/selftests/sysctl/ |
H A D | sysctl.sh | 79 if [ -z $INT_MAX ]; then 80 INT_MAX=$(getconf INT_MAX) 331 # and INT_MAX respectively) if truncated to lower 32 bits 341 # despite being zero/+1/-1/INT_MIN/INT_MAX in the lower 32) 395 echo -n "Testing INT_MAX works ..." 397 TEST_STR="$INT_MAX" 408 echo -n "Testing INT_MAX + 1 will fail as expected..." 410 let TEST_STR=$INT_MAX+1
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | qmi.h | 176 WLANFW_HOST_BUILD_TYPE_ENUM_MAX_VAL_V01 = INT_MAX, 194 CNSS_FEATURE_MAX_ENUM_VAL_V01 = INT_MAX, 316 WLANFW_MEM_TYPE_ENUM_MAX_VAL_V01 = INT_MAX, 433 WLFW_RD_CARD_CHAIN_CAP_MAX_VAL_V01 = 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/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()
|