Home
last modified time | relevance | path

Searched refs:ULONG_MAX (Results 1 – 25 of 231) sorted by relevance

12345678910

/Linux-v5.4/security/integrity/ima/
Dima_queue.c33 static unsigned long binary_runtime_size = ULONG_MAX;
116 if (binary_runtime_size != ULONG_MAX) { in ima_add_digest_entry()
120 binary_runtime_size = (binary_runtime_size < ULONG_MAX - size) ? in ima_add_digest_entry()
121 binary_runtime_size + size : ULONG_MAX; in ima_add_digest_entry()
133 if (binary_runtime_size >= (ULONG_MAX - sizeof(struct ima_kexec_hdr))) in ima_get_binary_runtime_size()
134 return ULONG_MAX; in ima_get_binary_runtime_size()
Dima_kexec.c84 .buf_min = 0, .buf_max = ULONG_MAX, in ima_add_kexec_buffer()
99 if (binary_runtime_size >= ULONG_MAX - PAGE_SIZE) in ima_add_kexec_buffer()
100 kexec_segment_size = ULONG_MAX; in ima_add_kexec_buffer()
104 if ((kexec_segment_size == ULONG_MAX) || in ima_add_kexec_buffer()
/Linux-v5.4/tools/testing/radix-tree/
Dmultiorder.c57 xas_for_each(&xas, item, ULONG_MAX) { in multiorder_iteration()
108 xas_for_each_marked(&xas, item, ULONG_MAX, XA_MARK_1) { in multiorder_tagged_iteration()
122 assert(tag_tagged_items(xa, 0, ULONG_MAX, TAG_ENTRIES, XA_MARK_1, in multiorder_tagged_iteration()
136 xas_for_each_marked(&xas, item, ULONG_MAX, XA_MARK_2) { in multiorder_tagged_iteration()
149 assert(tag_tagged_items(xa, 1, ULONG_MAX, MT_NUM_ENTRIES * 2, XA_MARK_1, in multiorder_tagged_iteration()
153 xas_for_each_marked(&xas, item, ULONG_MAX, XA_MARK_0) { in multiorder_tagged_iteration()
187 xas_for_each(&xas, item, ULONG_MAX) { in iterator_func()
Diteration_check.c77 xas_for_each_marked(&xas, entry, ULONG_MAX, TAG) { in tagged_iteration_fn()
110 xas_for_each(&xas, entry, ULONG_MAX) { in untagged_iteration_fn()
/Linux-v5.4/arch/powerpc/lib/
Dtest_emulate_step.c512 .gpr[21] = ULONG_MAX,
513 .gpr[22] = ULONG_MAX,
520 .gpr[21] = ULONG_MAX,
599 .gpr[21] = ULONG_MAX,
600 .gpr[22] = ULONG_MAX,
607 .gpr[21] = ULONG_MAX,
684 .gpr[21] = ULONG_MAX,
685 .gpr[22] = ULONG_MAX,
692 .gpr[21] = ULONG_MAX,
779 .gpr[21] = ULONG_MAX,
[all …]
/Linux-v5.4/lib/
Dtest_xarray.c107 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
114 XA_BUG_ON(xa, xas_next_entry(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
123 XA_BUG_ON(xa, xas_next_entry(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
134 xas_for_each(&xas, entry, ULONG_MAX) { in check_xas_retry()
226 xas_for_each(&xas, entry, ULONG_MAX) in check_xa_mark_1()
235 xas_for_each_marked(&xas, entry, ULONG_MAX, XA_MARK_0) in check_xa_mark_1()
272 xas_for_each_marked(&xas, entry, ULONG_MAX, XA_MARK_0) in check_xa_mark_2()
278 xas_for_each(&xas, entry, ULONG_MAX) { in check_xa_mark_2()
335 XA_BUG_ON(xa, xa_store_index(xa, ULONG_MAX, GFP_KERNEL) != in check_xa_shrink()
341 xa_erase_index(xa, ULONG_MAX); in check_xa_shrink()
[all …]
Dpercpu_test.c63 CHECK(ul, ulong_counter, ULONG_MAX); in percpu_test_init()
98 CHECK(l, long_counter, ULONG_MAX); in percpu_test_init()
113 CHECK(ul, ulong_counter, ULONG_MAX); in percpu_test_init()
/Linux-v5.4/include/uapi/linux/
Dshm.h23 #define SHMMAX (ULONG_MAX - (1UL << 24)) /* max shared seg size (bytes) */
24 #define SHMALL (ULONG_MAX - (1UL << 24)) /* max shm system wide (pages) */
/Linux-v5.4/arch/x86/kernel/
Dtsc.c353 return ULONG_MAX; in calc_pmtimer_ref()
398 return ULONG_MAX; in pit_calibrate_tsc()
417 tscmin = ULONG_MAX; in pit_calibrate_tsc()
439 return ULONG_MAX; in pit_calibrate_tsc()
712 unsigned long tsc_pit_min = ULONG_MAX, tsc_ref_min = ULONG_MAX; in pit_hpet_ptimer_calibrate_cpu()
802 if (i == 1 && tsc_pit_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
812 if (tsc_pit_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
823 if (tsc_ref_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
842 if (tsc_ref_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
/Linux-v5.4/arch/arm/mach-omap2/
Dpm.c51 .startup_time = ULONG_MAX,
52 .shutdown_time = ULONG_MAX,
/Linux-v5.4/arch/s390/numa/
Dnuma.c79 align = mode->align ? mode->align() : ULONG_MAX; in numa_setup_memory()
107 start_pfn = ULONG_MAX; in numa_setup_memory()
/Linux-v5.4/Documentation/admin-guide/
Dcpu-load.rst87 hog (ULONG_MAX);
88 for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog (ULONG_MAX);
/Linux-v5.4/drivers/clocksource/
Dtimer-gx6605s.c60 writel_relaxed(ULONG_MAX - delta, base + TIMER_INI); in gx6605s_timer_set_next_event()
108 ULONG_MAX); in gx6605s_clkevt_init()
/Linux-v5.4/net/can/
Dproc.c109 if (count > (ULONG_MAX / HZ)) { in calc_rate()
135 if (pkg_stats->rx_frames > (ULONG_MAX / HZ)) in can_stat_update()
139 if (pkg_stats->tx_frames > (ULONG_MAX / HZ)) in can_stat_update()
143 if (pkg_stats->matches > (ULONG_MAX / 100)) in can_stat_update()
/Linux-v5.4/arch/powerpc/kernel/
Dsetup_64.c632 return ULONG_MAX; in ppc64_bolted_size()
680 sp = alloc_stack(ULONG_MAX, i); in exc_lvl_early_init()
684 sp = alloc_stack(ULONG_MAX, i); in exc_lvl_early_init()
688 sp = alloc_stack(ULONG_MAX, i); in exc_lvl_early_init()
Dmce_power.c44 pfn = ULONG_MAX; in addr_to_pfn()
374 if (pfn != ULONG_MAX) { in mce_find_instr_ea_and_phys()
461 if (pfn != ULONG_MAX) { in mce_handle_ierror()
610 uint64_t addr, phys_addr = ULONG_MAX; in mce_handle_error()
/Linux-v5.4/arch/riscv/include/asm/
Dsmp.h13 #define INVALID_HARTID ULONG_MAX
/Linux-v5.4/lib/math/
Dint_sqrt.c52 if (x <= ULONG_MAX) in int_sqrt64()
/Linux-v5.4/tools/perf/util/
Dunits.c25 if (value > ULONG_MAX / i->mult) in parse_tag_value()
/Linux-v5.4/kernel/time/
Dtick-broadcast-hrtimer.c93 .max_delta_ticks = ULONG_MAX,
/Linux-v5.4/include/linux/
Dlimits.h16 #define ULONG_MAX (~0UL) macro
Dfault-inject.h37 .require_end = ULONG_MAX, \
/Linux-v5.4/mm/
Dmemfd.c39 xas_for_each(xas, page, ULONG_MAX) { in memfd_tag_pins()
88 xas_for_each_marked(&xas, page, ULONG_MAX, MEMFD_TAG_PINNED) { in memfd_wait_for_pins()
/Linux-v5.4/drivers/devfreq/
Dgovernor.h26 #define DEVFREQ_MAX_FREQ ULONG_MAX
/Linux-v5.4/samples/bpf/
Dibumad_user.c95 if (delay == ULONG_MAX || delay < 0 || in main()

12345678910