Home
last modified time | relevance | path

Searched full:int_max (Results 1 – 25 of 598) sorted by relevance

12345678910>>...24

/Linux-v6.6/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-v6.6/include/uapi/linux/
Dnetfilter_ipv4.h14 #include <limits.h> /* for INT_MIN, INT_MAX */
44 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
45 NF_IP_PRI_LAST = INT_MAX,
Dnetfilter_bridge.h15 #include <limits.h> /* for INT_MIN, INT_MAX */
41 NF_BR_PRI_LAST = INT_MAX,
Dnetfilter_ipv6.h17 #include <limits.h> /* for INT_MIN, INT_MAX */
48 NF_IP6_PRI_LAST = INT_MAX,
/Linux-v6.6/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-v6.6/arch/powerpc/lib/
Dtest_emulate_step.c1008 .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 …]
/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_utils.c75 /* 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()
/Linux-v6.6/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-v6.6/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-v6.6/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()
/Linux-v6.6/include/vdso/
Dlimits.h8 #define INT_MAX ((int)(~0U >> 1)) macro
9 #define INT_MIN (-INT_MAX - 1)
/Linux-v6.6/lib/
Didr.c68 * @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()
/Linux-v6.6/tools/testing/selftests/futex/functional/
Dfutex_requeue.c105 * 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()
/Linux-v6.6/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-v6.6/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-v6.6/tools/testing/selftests/sysctl/
Dsysctl.sh79 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
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Dqmi.h176 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,
/Linux-v6.6/tools/include/nolibc/
Dstdint.h102 #ifndef INT_MAX
103 #define INT_MAX __INT_MAX__ macro
/Linux-v6.6/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-v6.6/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-v6.6/drivers/irqchip/
Dirq-crossbar.c24 * @int_max: maximum number of supported interrupts
34 uint int_max; member
85 for (i = cb->int_max - 1; i >= 0; i--) { in allocate_gic_irq()
229 cb->int_max = max; in crossbar_of_init()
/Linux-v6.6/tools/lib/bpf/
Dringbuf.c272 * INT_MAX, whichever is less), or negative number if any of the callbacks
288 if (res > INT_MAX) in ring_buffer__consume()
289 return INT_MAX; in ring_buffer__consume()
294 * Returns number of records consumed (or INT_MAX, whichever is less), or
315 if (res > INT_MAX) in ring_buffer__poll()
316 return INT_MAX; in ring_buffer__poll()
/Linux-v6.6/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()

12345678910>>...24