Home
last modified time | relevance | path

Searched refs:LONG_MIN (Results 1 – 23 of 23) sorted by relevance

/linux/tools/include/nolibc/
H A Dstdint.h110 #ifndef LONG_MIN
111 #define LONG_MIN (-__LONG_MAX__ - 1) macro
H A Dstdlib.h515 return __strtox(nptr, endptr, base, LONG_MIN, LONG_MAX); in strtol()
/linux/mm/
H A Doom_kill.c208 return LONG_MIN; in oom_badness()
212 return LONG_MIN; in oom_badness()
224 return LONG_MIN; in oom_badness()
343 if (points == LONG_MIN || points < oc->chosen_points) in oom_evaluate_task()
367 oc->chosen_points = LONG_MIN; in select_bad_process()
H A Dlist_lru.c69 if (unlikely(READ_ONCE(l->nr_items) == LONG_MIN)) { in lock_list_lru()
461 src->nr_items = LONG_MIN; in memcg_reparent_list_lru_one()
/linux/include/vdso/
H A Dlimits.h12 #define LONG_MIN (-LONG_MAX - 1) macro
/linux/tools/testing/selftests/timers/
H A Dvalid-adjtimex.c104 #define LONG_MIN (-LONG_MAX - 1) macro
108 LONG_MIN,
/linux/fs/ocfs2/
H A Dstack_user.c380 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_setnode_msg()
419 if ((major == LONG_MIN) || (major == LONG_MAX) || in ocfs2_control_do_setversion_msg()
422 if ((minor == LONG_MIN) || (minor == LONG_MAX) || in ocfs2_control_do_setversion_msg()
456 if ((nodenum == LONG_MIN) || (nodenum == LONG_MAX) || in ocfs2_control_do_down_msg()
/linux/drivers/rtc/
H A Drtc-rs5c372.c591 long steps = LONG_MIN; in rs5c372_set_offset()
619 steps = LONG_MIN; in rs5c372_set_offset()
626 if (steps == LONG_MIN) { in rs5c372_set_offset()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_open_test.c32 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
/linux/drivers/clk/at91/
H A Dclk-peripheral.c279 long best_rate = LONG_MIN; in clk_sam9x5_peripheral_determine_rate()
280 long best_diff = LONG_MIN; in clk_sam9x5_peripheral_determine_rate()
H A Dclk-master.c594 long best_rate = LONG_MIN, best_diff = LONG_MIN; in clk_sama7g5_master_determine_rate()
/linux/samples/cgroup/
H A Dmemcg_event_listener.c77 if (((tmp == LONG_MAX || tmp == LONG_MIN) && errno == ERANGE) || in get_memcg_counter()
/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c941 if (snd_ctl_elem_info_get_min(ctl->info) != LONG_MIN) { in test_ctl_write_invalid_integer()
952 snd_ctl_elem_value_set_integer(val, i, LONG_MIN); in test_ctl_write_invalid_integer()
/linux/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c44 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
/linux/tools/testing/selftests/powerpc/
H A Dutils.c291 int err = parse_bounded_int(buffer, count, &parsed, base, LONG_MIN, LONG_MAX); in parse_long()
/linux/drivers/hwmon/
H A Dmacsmc-hwmon.c173 *p = LONG_MIN; in macsmc_hwmon_read_f32_scaled()
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c340 if (i == LONG_MIN || i == LONG_MAX) in parse_optarg_string()
/linux/ipc/
H A Dmsg.c1015 if (*msgtyp == LONG_MIN) /* -LONG_MIN is undefined */ in convert_mode()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c1623 CASE_TEST(strtol_underflow); EXPECT_STRTOX(1, strtol, "-0x8000000000000001", 16, LONG_MIN, -1, ERANGE); break; in test_scanf()
/linux/tools/testing/selftests/net/
H A Dipsec.c2288 if ((errno == ERANGE && (nr_process == LONG_MAX || nr_process == LONG_MIN)) in main()
/linux/tools/perf/util/scripting-engines/
H A Dtrace-event-python.c345 if ((long long)val >= LONG_MIN && in get_field_numeric_entry()
/linux/fs/proc/
H A Dbase.c598 if (badness != LONG_MIN) in proc_oom_score()
/linux/kernel/sched/
H A Dcore.c2301 ncsw = p->nvcsw | LONG_MIN; /* sets MSB */ in wait_task_inactive()