Home
last modified time | relevance | path

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

12345678910>>...23

/linux/tools/testing/selftests/bpf/progs/
H A 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()
H A Dexceptions_assert.c24 check_assert(s64, ==, eq_int_max, INT_MAX);
33 check_assert(s64, <, lt_pos, INT_MAX);
40 check_assert(s64, <=, le_pos, INT_MAX);
47 check_assert(s64, >, gt_pos, INT_MAX);
54 check_assert(s64, >=, ge_pos, INT_MAX);
72 bpf_assert_range(num, INT_MIN + 2, INT_MAX - 2); in check_assert_range_s64()
H A Dbpf_iter_setsockopt_unix.c12 int sndbuf_setsockopt[NR_CASES] = {-1, 0, 8192, INT_MAX / 2, INT_MAX};
/linux/tools/testing/selftests/bpf/verifier/
H A 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/include/uapi/linux/
H A 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,
H A Dnetfilter_bridge.h15 #include <limits.h> /* for INT_MIN, INT_MAX */
41 NF_BR_PRI_LAST = INT_MAX,
H A Dnetfilter_ipv6.h17 #include <limits.h> /* for INT_MIN, INT_MAX */
48 NF_IP6_PRI_LAST = INT_MAX,
/linux/tools/testing/radix-tree/
H A 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/kernel/
H A Dkallsyms_selftest.c183 stat.min = INT_MAX; in test_perf_kallsyms_lookup_name()
216 stat.max = INT_MAX; in test_perf_kallsyms_on_each_symbol()
249 stat.max = INT_MAX; in test_perf_kallsyms_on_each_match_symbol()
285 stat->max = INT_MAX; in test_kallsyms_basic_function()
299 stat->max = INT_MAX; in test_kallsyms_basic_function()
330 stat->max = INT_MAX; in test_kallsyms_basic_function()
339 stat2->max = INT_MAX; in test_kallsyms_basic_function()
/linux/tools/virtio/ringtest/
H A 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/lib/
H A 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()
H A Dtest_ubsan.c16 volatile int val = INT_MAX; in test_ubsan_add_overflow()
33 volatile int val = INT_MAX / 2; in test_ubsan_mul_overflow()
60 volatile int val2 = INT_MAX; in test_ubsan_shift_out_of_bounds()
/linux/include/vdso/
H A Dlimits.h8 #define INT_MAX ((int)(~0U >> 1)) macro
9 #define INT_MIN (-INT_MAX - 1)
/linux/tools/testing/selftests/futex/functional/
H A 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/fs/bcachefs/
H A Ddarray.c14 * This is a workaround: kvmalloc() doesn't support > INT_MAX in __bch2_darray_resize_noprof()
23 void *data = likely(bytes < INT_MAX) in __bch2_darray_resize_noprof()
H A Dsb-members_format.h76 * kernel allocation are limited to INT_MAX
78 #define BCH_MEMBER_NBUCKETS_MAX (INT_MAX - 64)
/linux/tools/testing/selftests/sysctl/
H A Dsysctl.sh80 if [ -z $INT_MAX ]; then
81 INT_MAX=$(getconf INT_MAX)
332 # and INT_MAX respectively) if truncated to lower 32 bits
342 # despite being zero/+1/-1/INT_MIN/INT_MAX in the lower 32)
396 echo -n "Testing INT_MAX works ... "
398 TEST_STR="$INT_MAX"
409 echo -n "Testing INT_MAX + 1 will fail as expected ... "
411 let TEST_STR=$INT_MAX+1
/linux/drivers/soc/samsung/
H A 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/drivers/net/wireless/ath/ath12k/
H A Dqmi.h178 WLANFW_HOST_BUILD_TYPE_ENUM_MAX_VAL_V01 = INT_MAX,
196 CNSS_FEATURE_MAX_ENUM_VAL_V01 = INT_MAX,
336 WLANFW_MEM_TYPE_ENUM_MAX_VAL_V01 = INT_MAX,
453 WLFW_RD_CARD_CHAIN_CAP_MAX_VAL_V01 = INT_MAX,
/linux/drivers/video/fbdev/
H A 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/drivers/irqchip/
H A 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/fs/nfs/
H A 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/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_events.h40 #define KFD_FIRST_NONSIGNAL_EVENT_ID ((INT_MAX >> 1) + 1)
41 #define KFD_LAST_NONSIGNAL_EVENT_ID INT_MAX
/linux/tools/include/nolibc/
H A Dstdint.h106 #ifndef INT_MAX
107 #define INT_MAX __INT_MAX__ macro
/linux/include/net/netfilter/
H A Dnf_conntrack_core.h90 if (timeout > INT_MAX) in __nf_ct_set_timeout()
91 timeout = INT_MAX; in __nf_ct_set_timeout()

12345678910>>...23