/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
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()
|
D | bpf_iter_setsockopt_unix.c | 12 int sndbuf_setsockopt[NR_CASES] = {-1, 0, 8192, INT_MAX / 2, INT_MAX};
|
/Linux-v6.6/tools/testing/selftests/bpf/verifier/ |
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 …]
|
/Linux-v6.6/kernel/ |
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()
|
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()
|
/Linux-v6.6/tools/virtio/ringtest/ |
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()
|
/Linux-v6.6/tools/testing/radix-tree/ |
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()
|
/Linux-v6.6/include/vdso/ |
D | limits.h | 8 #define INT_MAX ((int)(~0U >> 1)) macro 9 #define INT_MIN (-INT_MAX - 1)
|
/Linux-v6.6/include/uapi/linux/ |
D | netfilter_ipv4.h | 44 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX, 45 NF_IP_PRI_LAST = INT_MAX,
|
/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_events.h | 40 #define KFD_FIRST_NONSIGNAL_EVENT_ID ((INT_MAX >> 1) + 1) 41 #define KFD_LAST_NONSIGNAL_EVENT_ID INT_MAX
|
/Linux-v6.6/drivers/misc/lkdtm/ |
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()
|
/Linux-v6.6/drivers/soc/samsung/ |
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()
|
/Linux-v6.6/include/net/netfilter/ |
D | nf_conntrack_core.h | 90 if (timeout > INT_MAX) in __nf_ct_set_timeout() 91 timeout = INT_MAX; in __nf_ct_set_timeout()
|
/Linux-v6.6/arch/powerpc/lib/ |
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 …]
|
/Linux-v6.6/drivers/video/fbdev/ |
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()
|
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()
|
/Linux-v6.6/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()
|
/Linux-v6.6/tools/include/nolibc/ |
D | stdint.h | 102 #ifndef INT_MAX 103 #define INT_MAX __INT_MAX__ macro
|
/Linux-v6.6/drivers/net/ethernet/google/gve/ |
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()
|
/Linux-v6.6/net/smc/ |
D | smc_sysctl.c | 24 static int max_sndbuf = INT_MAX / 2; 25 static int max_rcvbuf = INT_MAX / 2;
|
/Linux-v6.6/fs/nfs/ |
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()
|
/Linux-v6.6/net/hsr/ |
D | hsr_framereg.c | 603 *if1_age = INT_MAX; in hsr_get_node_data() 605 else if (tdiff > msecs_to_jiffies(INT_MAX)) in hsr_get_node_data() 606 *if1_age = INT_MAX; in hsr_get_node_data() 613 *if2_age = INT_MAX; in hsr_get_node_data() 615 else if (tdiff > msecs_to_jiffies(INT_MAX)) in hsr_get_node_data() 616 *if2_age = INT_MAX; in hsr_get_node_data()
|
/Linux-v6.6/drivers/gpu/drm/tests/ |
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,
|
/Linux-v6.6/tools/testing/selftests/seccomp/ |
D | seccomp_benchmark.c | 107 if (one > INT_MAX) { in compare() 111 if (two > INT_MAX) { in compare() 202 if (var > INT_MAX) \ in main()
|
/Linux-v6.6/tools/testing/selftests/sysctl/ |
D | sysctl.sh | 79 if [ -z $INT_MAX ]; then 80 INT_MAX=$(getconf INT_MAX) 397 TEST_STR="$INT_MAX" 410 let TEST_STR=$INT_MAX+1
|