Home
last modified time | relevance | path

Searched refs:LONG_MAX (Results 1 – 25 of 107) sorted by relevance

12345

/openbmc/linux/arch/powerpc/lib/
H A Dtest_emulate_step.c924 .gpr[0] = LONG_MAX,
972 .gpr[22] = LONG_MAX,
979 .gpr[21] = LONG_MAX,
980 .gpr[22] = LONG_MAX,
1058 .gpr[22] = LONG_MAX,
1066 .gpr[21] = LONG_MAX,
1067 .gpr[22] = LONG_MAX,
1144 .gpr[22] = LONG_MAX,
1151 .gpr[21] = LONG_MAX,
1152 .gpr[22] = LONG_MAX,
[all …]
/openbmc/linux/include/vdso/
H A Dlimits.h11 #define LONG_MAX ((long)(~0UL >> 1)) macro
12 #define LONG_MIN (-LONG_MAX - 1)
/openbmc/linux/drivers/clocksource/
H A Dnumachip.c46 .max_delta_ns = LONG_MAX,
47 .max_delta_ticks = LONG_MAX,
H A Dtimer-goldfish.c137 .max_idle_ns = LONG_MAX, in goldfish_timer_init()
/openbmc/linux/include/linux/
H A Dpage_counter.h42 #define PAGE_COUNTER_MAX LONG_MAX
44 #define PAGE_COUNTER_MAX (LONG_MAX / PAGE_SIZE)
H A Duser_namespace.h147 ns->rlimit_max[type] = max <= LONG_MAX ? max : LONG_MAX; in set_userns_rlimit_max()
H A Dcontext_tracking_state.h10 #define DYNTICK_IRQ_NONIDLE ((LONG_MAX / 2) + 1)
/openbmc/linux/kernel/
H A Ducount.c266 long max = LONG_MAX; in inc_rlimit_ucounts()
272 ret = LONG_MAX; in inc_rlimit_ucounts()
316 long max = LONG_MAX; in inc_rlimit_get_ucounts()
348 if (rlimit > LONG_MAX) in is_rlimit_overlimit()
349 max = LONG_MAX; in is_rlimit_overlimit()
/openbmc/linux/tools/include/nolibc/
H A Dstdint.h109 #ifndef LONG_MAX
110 #define LONG_MAX __LONG_MAX__ macro
/openbmc/linux/tools/testing/selftests/timers/
H A Dvalid-adjtimex.c105 #define LONG_MAX (~0UL>>1) macro
106 #define LONG_MIN (-LONG_MAX - 1)
109 LONG_MAX,
/openbmc/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c88 ASSERT(res_value <= LONG_MAX); in dc_fixpt_from_fraction()
143 ASSERT(res.value <= LONG_MAX); in dc_fixpt_mul()
188 ASSERT(res.value <= LONG_MAX); in dc_fixpt_sqr()
/openbmc/linux/drivers/hwmon/
H A Dlochnagar-hwmon.c80 result = LONG_MAX; in float_to_long()
227 if (power > LONG_MAX) in read_power()
228 *val = LONG_MAX; in read_power()
H A Dina238.c303 *val = clamp_val(power, 0, LONG_MAX); in ina238_read_power()
317 *val = clamp_val(power, 0, LONG_MAX); in ina238_read_power()
346 regval = clamp_val(val, 0, LONG_MAX); in ina238_write_power()
/openbmc/linux/drivers/clk/ti/
H A Dclkt_dpll.c294 long prev_min_delta = LONG_MAX; in omap2_dpll_round_rate()
360 if (prev_min_delta == LONG_MAX) { in omap2_dpll_round_rate()
/openbmc/linux/arch/alpha/kernel/
H A Dtime.c149 .max_idle_ns = LONG_MAX
199 clockevents_config_and_register(ce, NSEC_PER_SEC, 1000, LONG_MAX); in init_qemu_clockevent()
/openbmc/linux/include/net/
H A Daddrconf.h196 if (0xfffffffe > LONG_MAX / unit && timeout > LONG_MAX / unit) in addrconf_timeout_fixup()
197 return LONG_MAX / unit; in addrconf_timeout_fixup()
/openbmc/u-boot/include/linux/
H A Dkernel.h13 #define LONG_MAX ((long)(~0UL>>1)) macro
14 #define LONG_MIN (-LONG_MAX - 1)
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dhugetlbfs_reserv.rst317 之前,所有单独的file_region结构体必须被释放。在这种情况下,region_del的范围是[0, LONG_MAX]。
320 的范围是[new_end_of_file, LONG_MAX]。
/openbmc/linux/tools/testing/selftests/pidfd/
H A Dpidfd_open_test.c31 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
/openbmc/linux/fs/ocfs2/
H A Dstack_user.c382 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_setnode_msg()
424 if ((major == LONG_MIN) || (major == LONG_MAX) || in ocfs2_control_do_setversion_msg()
427 if ((minor == LONG_MIN) || (minor == LONG_MAX) || in ocfs2_control_do_setversion_msg()
463 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_down_msg()
/openbmc/qemu/tests/unit/
H A Dtest-cutils.c1351 char *str = g_strdup_printf("%ld", LONG_MAX); in test_qemu_strtol_max()
1360 g_assert_cmpint(res, ==, LONG_MAX); in test_qemu_strtol_max()
1373 str = LONG_MAX == INT_MAX ? "2147483648" : "9223372036854775808"; in test_qemu_strtol_overflow()
1378 g_assert_cmpint(res, ==, LONG_MAX); in test_qemu_strtol_overflow()
1381 if (LONG_MAX == INT_MAX) { in test_qemu_strtol_overflow()
1387 g_assert_cmpint(res, ==, LONG_MAX); in test_qemu_strtol_overflow()
1396 g_assert_cmpint(res, ==, LONG_MAX); in test_qemu_strtol_overflow()
1404 g_assert_cmpint(res, ==, LONG_MAX); in test_qemu_strtol_overflow()
1440 if (LONG_MAX == INT_MAX) { in test_qemu_strtol_underflow()
1573 char *str = g_strdup_printf("%ld", LONG_MAX); in test_qemu_strtol_full_max()
[all …]
/openbmc/libpldm/src/transport/
H A Dtransport.c124 if (tv->tv_sec > (LONG_MAX - tv->tv_usec / 1000) / 1000) { in timeval_is_valid()
/openbmc/linux/mm/kasan/
H A Dhw_tags.c155 if (!kasan_page_alloc_sample || kasan_page_alloc_sample > LONG_MAX) { in early_kasan_flag_page_alloc_sample()
/openbmc/linux/drivers/clk/
H A Dclk-tps68470.c131 long diff, best_diff = LONG_MAX; in tps68470_clk_cfg_lookup()
/openbmc/linux/fs/
H A Dfs-writeback.c932 if (nr_pages == LONG_MAX) in wb_split_bdi_pages()
933 return LONG_MAX; in wb_split_bdi_pages()
1802 pages = LONG_MAX; in writeback_chunk_size()
2160 .nr_pages = LONG_MAX, in wb_check_background_flush()
2742 .nr_pages = LONG_MAX, in sync_inodes_sb()
2781 .nr_to_write = LONG_MAX, in write_inode_now()

12345