Home
last modified time | relevance | path

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

12345678910>>...22

/linux-5.19.10/tools/testing/selftests/bpf/verifier/
Djmp32.c269 .data64 = { INT_MAX, }
369 BPF_JMP32_IMM(BPF_JLE, BPF_REG_7, INT_MAX, 1),
379 .data64 = { INT_MAX - 1, }
385 .data64 = { INT_MAX, }
394 BPF_LD_IMM64(BPF_REG_8, (INT_MAX - 1) | 2ULL << 32),
406 .data64 = { INT_MAX | 1ULL << 32, }
409 .data64 = { INT_MAX - 2, }
439 BPF_JMP32_IMM(BPF_JLT, BPF_REG_7, INT_MAX, 1),
449 .data64 = { INT_MAX, }
455 .data64 = { INT_MAX - 1, }
[all …]
/linux-5.19.10/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-5.19.10/include/vdso/
Dlimits.h8 #define INT_MAX ((int)(~0U >> 1)) macro
9 #define INT_MIN (-INT_MAX - 1)
/linux-5.19.10/include/uapi/linux/
Dnetfilter_ipv4.h44 NF_IP_PRI_CONNTRACK_CONFIRM = INT_MAX,
45 NF_IP_PRI_LAST = INT_MAX,
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_setsockopt_unix.c12 int sndbuf_setsockopt[NR_CASES] = {-1, 0, 8192, INT_MAX / 2, INT_MAX};
/linux-5.19.10/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-5.19.10/tools/lib/bpf/
Dringbuf.c266 if (res > INT_MAX) in ring_buffer__consume()
267 return INT_MAX; in ring_buffer__consume()
293 if (res > INT_MAX) in ring_buffer__poll()
294 return INT_MAX; in ring_buffer__poll()
/linux-5.19.10/drivers/video/fbdev/
Dhyperv_fb.c381 if (x2 == INT_MAX) in synthvid_update()
383 if (y2 == INT_MAX) in synthvid_update()
425 miny = INT_MAX; in synthvid_deferred_io()
732 par->x1 = par->y1 = INT_MAX; in hvfb_update_work()
794 synthvid_update(info, 0, 0, INT_MAX, INT_MAX); in hvfb_on_panic()
855 synthvid_update(p, 0, 0, INT_MAX, INT_MAX); in hvfb_cfb_fillrect()
868 synthvid_update(p, 0, 0, INT_MAX, INT_MAX); in hvfb_cfb_copyarea()
881 synthvid_update(p, 0, 0, INT_MAX, INT_MAX); in hvfb_cfb_imageblit()
1141 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()
358 xenfb_refresh(info, INT_MAX, INT_MAX, -INT_MAX, -INT_MAX); in xenfb_event_handler()
404 info->x1 = info->y1 = INT_MAX; in xenfb_probe()
/linux-5.19.10/arch/powerpc/lib/
Dtest_emulate_step.c1015 .gpr[22] = INT_MAX,
1022 .gpr[21] = INT_MAX,
1023 .gpr[22] = INT_MAX,
1102 .gpr[22] = INT_MAX,
1109 .gpr[21] = INT_MAX,
1110 .gpr[22] = INT_MAX,
1187 .gpr[22] = INT_MAX,
1194 .gpr[21] = INT_MAX,
1195 .gpr[22] = INT_MAX,
1282 .gpr[22] = INT_MAX,
[all …]
/linux-5.19.10/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-5.19.10/drivers/thermal/
Dthermal_helpers.c82 int crit_temp = INT_MAX; in thermal_zone_get_temp()
131 int low = -INT_MAX; in thermal_zone_set_trips()
132 int high = INT_MAX; in thermal_zone_set_trips()
/linux-5.19.10/kernel/
Dsysctl-test.c323 unsigned long abs_of_less_than_min = (unsigned long)INT_MAX in sysctl_test_api_dointvec_write_single_less_int_min()
324 - (INT_MAX + INT_MIN) + 1; in sysctl_test_api_dointvec_write_single_less_int_min()
361 unsigned long greater_than_max = (unsigned long)INT_MAX + 1; in sysctl_test_api_dointvec_write_single_greater_int_max()
363 KUNIT_ASSERT_GT(test, greater_than_max, (unsigned long)INT_MAX); in sysctl_test_api_dointvec_write_single_greater_int_max()
/linux-5.19.10/fs/nfs/
Dnamespace.c332 if (num >= INT_MAX / HZ) in param_set_nfs_timeout()
333 num = INT_MAX; in param_set_nfs_timeout()
351 if (num >= INT_MAX - (HZ - 1)) in param_get_nfs_timeout()
352 num = INT_MAX / HZ; in param_get_nfs_timeout()
/linux-5.19.10/tools/testing/selftests/sysctl/
Dsysctl.sh85 if [ -z $INT_MAX ]; then
86 INT_MAX=$(getconf INT_MAX)
403 TEST_STR="$INT_MAX"
416 let TEST_STR=$INT_MAX+1
/linux-5.19.10/drivers/net/ethernet/google/gve/
Dgve_utils.c94 page_info->pagecnt_bias = INT_MAX - pagecount; in gve_dec_pagecnt_bias()
97 page_ref_add(page_info->page, INT_MAX - pagecount); in gve_dec_pagecnt_bias()
/linux-5.19.10/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()
/linux-5.19.10/net/hsr/
Dhsr_framereg.c648 *if1_age = INT_MAX; in hsr_get_node_data()
650 else if (tdiff > msecs_to_jiffies(INT_MAX)) in hsr_get_node_data()
651 *if1_age = INT_MAX; in hsr_get_node_data()
658 *if2_age = INT_MAX; in hsr_get_node_data()
660 else if (tdiff > msecs_to_jiffies(INT_MAX)) in hsr_get_node_data()
661 *if2_age = INT_MAX; in hsr_get_node_data()
/linux-5.19.10/tools/perf/util/
Dthread_map.c188 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str()
200 if (pid == INT_MIN || pid == INT_MAX || in thread_map__new_by_pid_str()
247 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str()
264 if (tid == INT_MIN || tid == INT_MAX || in thread_map__new_by_tid_str()
/linux-5.19.10/tools/testing/selftests/proc/
Dfd-003-kthread.c145 for (u = INT_MAX - 1024; u < (unsigned int)INT_MAX + 1024; u++) { in test_lookup()
Dfd-001-lookup.c87 for (u = INT_MAX - 1024; u <= (unsigned int)INT_MAX + 1024; u++) { in test_lookup()
/linux-5.19.10/arch/parisc/kernel/
Dpdc_chassis.c97 .priority = INT_MAX,
117 .priority = INT_MAX,

12345678910>>...22