Home
last modified time | relevance | path

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

12345678910>>...23

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Diters_num.c46 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()
Dbpf_iter_setsockopt_unix.c12 int sndbuf_setsockopt[NR_CASES] = {-1, 0, 8192, INT_MAX / 2, INT_MAX};
/linux-6.6.21/tools/testing/selftests/bpf/verifier/
Djmp32.c269 .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-6.6.21/kernel/
Dkallsyms_selftest.c184 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()
Dsysctl-test.c320 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-6.6.21/tools/virtio/ringtest/
Dmain.c21 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-6.6.21/drivers/thermal/
Dthermal_trip.c54 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()
/linux-6.6.21/include/vdso/
Dlimits.h8 #define INT_MAX ((int)(~0U >> 1)) macro
9 #define INT_MIN (-INT_MAX - 1)
/linux-6.6.21/include/uapi/linux/
Dnetfilter_ipv4.h44 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
45 NF_IP_PRI_LAST = INT_MAX,
/linux-6.6.21/tools/testing/radix-tree/
Didr-test.c191 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-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.h40 #define KFD_FIRST_NONSIGNAL_EVENT_ID ((INT_MAX >> 1) + 1)
41 #define KFD_LAST_NONSIGNAL_EVENT_ID INT_MAX
/linux-6.6.21/drivers/misc/lkdtm/
Drefcount.c356 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-6.6.21/drivers/soc/samsung/
Dexynos-regulator-coupler.c27 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-6.6.21/include/net/netfilter/
Dnf_conntrack_core.h90 if (timeout > INT_MAX) in __nf_ct_set_timeout()
91 timeout = INT_MAX; in __nf_ct_set_timeout()
/linux-6.6.21/drivers/video/fbdev/
Dhyperv_fb.c378 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()
Dxen-fbfront.c175 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-6.6.21/arch/powerpc/lib/
Dtest_emulate_step.c1012 .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-6.6.21/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()
/linux-6.6.21/tools/include/nolibc/
Dstdint.h102 #ifndef INT_MAX
103 #define INT_MAX __INT_MAX__ macro
/linux-6.6.21/drivers/net/ethernet/google/gve/
Dgve_utils.c78 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-6.6.21/net/smc/
Dsmc_sysctl.c24 static int max_sndbuf = INT_MAX / 2;
25 static int max_rcvbuf = INT_MAX / 2;
/linux-6.6.21/fs/nfs/
Dnamespace.c333 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-6.6.21/net/hsr/
Dhsr_framereg.c603 *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-6.6.21/drivers/gpu/drm/tests/
Ddrm_rect_test.c202 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-6.6.21/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c107 if (one > INT_MAX) { in compare()
111 if (two > INT_MAX) { in compare()
202 if (var > INT_MAX) \ in main()

12345678910>>...23