Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.6.21/lib/
Dtest_maple_tree.c398 top = ULONG_MAX; in check_find()
436 mas_for_each(&mas, entry, ULONG_MAX) { in check_find()
452 mas_for_each(&mas, entry, ULONG_MAX) { in check_find()
483 MT_BUG_ON(mt, mtree_insert_index(mt, ULONG_MAX, GFP_KERNEL)); in check_find()
484 mt_for_each(mt, entry, index, ULONG_MAX) { in check_find()
492 val = ULONG_MAX; in check_find()
504 mtree_erase_index(mt, ULONG_MAX); in check_find()
519 MT_BUG_ON(mt, mtree_insert_index(mt, ULONG_MAX, GFP_KERNEL)); in check_find()
524 mas_for_each(&mas, entry, ULONG_MAX) { in check_find()
534 val = ULONG_MAX; in check_find()
[all …]
Dtest_xarray.c111 XA_BUG_ON(xa, xas_find(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
118 XA_BUG_ON(xa, xas_next_entry(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
127 XA_BUG_ON(xa, xas_next_entry(&xas, ULONG_MAX) != xa_mk_value(0)); in check_xas_retry()
138 xas_for_each(&xas, entry, ULONG_MAX) { in check_xas_retry()
230 xas_for_each(&xas, entry, ULONG_MAX) in check_xa_mark_1()
239 xas_for_each_marked(&xas, entry, ULONG_MAX, XA_MARK_0) in check_xa_mark_1()
276 xas_for_each_marked(&xas, entry, ULONG_MAX, XA_MARK_0) in check_xa_mark_2()
282 xas_for_each(&xas, entry, ULONG_MAX) { in check_xa_mark_2()
303 xas_for_each_marked(&xas, entry, ULONG_MAX, XA_MARK_0) { in check_xa_mark_3()
361 XA_BUG_ON(xa, xa_store_index(xa, ULONG_MAX, GFP_KERNEL) != in check_xa_shrink()
[all …]
Dmemcpy_kunit.c510 KUNIT_EXPECT_EQ_MSG(test, wrap.canary1, ULONG_MAX, in strtomem_test()
512 KUNIT_EXPECT_EQ_MSG(test, wrap.canary2, ULONG_MAX, in strtomem_test()
517 KUNIT_EXPECT_EQ(test, wrap.canary1, ULONG_MAX); in strtomem_test()
522 KUNIT_EXPECT_EQ(test, wrap.canary2, ULONG_MAX); in strtomem_test()
527 KUNIT_EXPECT_EQ(test, wrap.canary1, ULONG_MAX); in strtomem_test()
530 KUNIT_EXPECT_EQ(test, wrap.canary2, ULONG_MAX); in strtomem_test()
535 KUNIT_EXPECT_EQ(test, wrap.canary1, ULONG_MAX); in strtomem_test()
540 KUNIT_EXPECT_EQ(test, wrap.canary2, ULONG_MAX); in strtomem_test()
545 KUNIT_EXPECT_EQ(test, wrap.canary1, ULONG_MAX); in strtomem_test()
548 KUNIT_EXPECT_EQ(test, wrap.canary2, ULONG_MAX); in strtomem_test()
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-6.6.21/security/integrity/ima/
Dima_queue.c31 static unsigned long binary_runtime_size = ULONG_MAX;
115 if (binary_runtime_size != ULONG_MAX) { in ima_add_digest_entry()
119 binary_runtime_size = (binary_runtime_size < ULONG_MAX - size) ? in ima_add_digest_entry()
120 binary_runtime_size + size : ULONG_MAX; in ima_add_digest_entry()
132 if (binary_runtime_size >= (ULONG_MAX - sizeof(struct ima_kexec_hdr))) in ima_get_binary_runtime_size()
133 return ULONG_MAX; in ima_get_binary_runtime_size()
Dima_kexec.c85 .buf_min = 0, .buf_max = ULONG_MAX, in ima_add_kexec_buffer()
100 if (binary_runtime_size >= ULONG_MAX - PAGE_SIZE) in ima_add_kexec_buffer()
101 kexec_segment_size = ULONG_MAX; in ima_add_kexec_buffer()
105 if ((kexec_segment_size == ULONG_MAX) || in ima_add_kexec_buffer()
/linux-6.6.21/drivers/iommu/iommufd/
Dioas.c84 ULONG_MAX) { in iommufd_ioas_iova_ranges()
174 while ((node = interval_tree_iter_first(&allowed_iova, 0, ULONG_MAX))) { in iommufd_ioas_allow_iovas()
213 if (cmd->iova >= ULONG_MAX || cmd->length >= ULONG_MAX) in iommufd_ioas_map()
252 if (cmd->length >= ULONG_MAX || cmd->src_iova >= ULONG_MAX || in iommufd_ioas_copy()
253 cmd->dst_iova >= ULONG_MAX) in iommufd_ioas_copy()
304 if (cmd->iova >= ULONG_MAX || cmd->length >= ULONG_MAX) { in iommufd_ioas_unmap()
Dio_pagetable.c119 if (length == 0 || length >= ULONG_MAX / 2) in iopt_alloc_iova()
137 PAGE_SIZE, ULONG_MAX - PAGE_SIZE) { in iopt_alloc_iova()
140 allowed_span.last_used = ULONG_MAX - PAGE_SIZE; in iopt_alloc_iova()
575 rc = iopt_unmap_iova_range(iopt, 0, ULONG_MAX, unmapped); in iopt_unmap_all()
591 for (allowed = iopt_allowed_iter_first(iopt, 0, ULONG_MAX); allowed; in iopt_set_allow_iova()
592 allowed = iopt_allowed_iter_next(allowed, 0, ULONG_MAX)) { in iopt_set_allow_iova()
631 for (reserved = iopt_reserved_iter_first(iopt, 0, ULONG_MAX); reserved; in __iopt_remove_reserved_iova()
633 next = iopt_reserved_iter_next(reserved, 0, ULONG_MAX); in __iopt_remove_reserved_iova()
676 ULONG_MAX))) { in iopt_destroy_table()
713 for (area = iopt_area_iter_first(iopt, 0, ULONG_MAX); area; in iopt_unfill_domain()
[all …]
/linux-6.6.21/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-6.6.21/mm/
Ddebug_vm_pgtable.c136 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_advanced_tests()
227 page = (args->pmd_pfn != ULONG_MAX) ? pfn_to_page(args->pmd_pfn) : NULL; in pmd_advanced_tests()
349 page = (args->pud_pfn != ULONG_MAX) ? pfn_to_page(args->pud_pfn) : NULL; in pud_advanced_tests()
621 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in pte_clear_tests()
905 page = (args->pte_pfn != ULONG_MAX) ? pfn_to_page(args->pte_pfn) : NULL; in swap_migration_tests()
1034 args->pud_pfn != ULONG_MAX) { in destroy_args()
1043 args->pud_pfn = ULONG_MAX; in destroy_args()
1044 args->pmd_pfn = ULONG_MAX; in destroy_args()
1045 args->pte_pfn = ULONG_MAX; in destroy_args()
1050 args->pmd_pfn != ULONG_MAX) { in destroy_args()
[all …]
/linux-6.6.21/Documentation/translations/zh_CN/admin-guide/
Dcpu-load.rst78 hog (ULONG_MAX);
79 for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog (ULONG_MAX);
/linux-6.6.21/include/vdso/
Dlimits.h13 #define ULONG_MAX (~0UL) macro
17 #define UINTPTR_MAX ULONG_MAX
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/
Dcpu-load.rst84 hog (ULONG_MAX);
85 for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog (ULONG_MAX);
/linux-6.6.21/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-6.6.21/arch/arm/mach-omap2/
Dpm.c53 .startup_time = ULONG_MAX,
54 .shutdown_time = ULONG_MAX,
/linux-6.6.21/arch/powerpc/lib/
Dtest_emulate_step.c987 .gpr[21] = ULONG_MAX,
988 .gpr[22] = ULONG_MAX,
995 .gpr[21] = ULONG_MAX,
1074 .gpr[21] = ULONG_MAX,
1075 .gpr[22] = ULONG_MAX,
1082 .gpr[21] = ULONG_MAX,
1159 .gpr[21] = ULONG_MAX,
1160 .gpr[22] = ULONG_MAX,
1167 .gpr[21] = ULONG_MAX,
1254 .gpr[21] = ULONG_MAX,
[all …]
/linux-6.6.21/arch/x86/kernel/
Dtsc.c397 return ULONG_MAX; in calc_pmtimer_ref()
442 return ULONG_MAX; in pit_calibrate_tsc()
461 tscmin = ULONG_MAX; in pit_calibrate_tsc()
483 return ULONG_MAX; in pit_calibrate_tsc()
756 unsigned long tsc_pit_min = ULONG_MAX, tsc_ref_min = ULONG_MAX; in pit_hpet_ptimer_calibrate_cpu()
846 if (i == 1 && tsc_pit_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
856 if (tsc_pit_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
867 if (tsc_ref_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
886 if (tsc_ref_min == ULONG_MAX) { in pit_hpet_ptimer_calibrate_cpu()
/linux-6.6.21/tools/testing/selftests/arm64/fp/
Dvlset.c74 vl = ULONG_MAX; in parse_options()
77 if (vl == ULONG_MAX && errno) { in parse_options()
/linux-6.6.21/drivers/firmware/efi/libstub/
Dzboot.c49 return ULONG_MAX; in alloc_preferred_address()
99 if (image_base == ULONG_MAX) { in efi_zboot_entry()
/linux-6.6.21/Documentation/admin-guide/
Dcpu-load.rst90 hog (ULONG_MAX);
91 for (i = 0; i < HIST; ++i) v[i] = ULONG_MAX - hog(ULONG_MAX);
/linux-6.6.21/arch/riscv/kernel/
Delf_kexec.c83 unsigned long lowest_paddr = ULONG_MAX; in elf_find_pbase()
84 unsigned long lowest_vaddr = ULONG_MAX; in elf_find_pbase()
100 kbuf.buf_max = ULONG_MAX; in elf_find_pbase()
199 unsigned long old_kernel_pbase = ULONG_MAX; in elf_kexec_load()
229 kbuf.buf_max = ULONG_MAX; in elf_kexec_load()
/linux-6.6.21/drivers/clocksource/
Dtimer-gx6605s.c61 writel_relaxed(ULONG_MAX - delta, base + TIMER_INI); in gx6605s_timer_set_next_event()
109 ULONG_MAX); in gx6605s_clkevt_init()
/linux-6.6.21/arch/x86/mm/pat/
Dmemtype_interval.c180 entry_match = interval_iter_first(&memtype_rbroot, 0, ULONG_MAX); in memtype_copy_nth_element()
183 entry_match = interval_iter_next(entry_match, 0, ULONG_MAX); in memtype_copy_nth_element()
/linux-6.6.21/drivers/vfio/
Dvfio_main.c948 comb_start = interval_tree_iter_first(root, 0, ULONG_MAX); in vfio_combine_iova_ranges()
953 curr = interval_tree_iter_next(curr, 0, ULONG_MAX); in vfio_combine_iova_ranges()
964 min_gap = ULONG_MAX; in vfio_combine_iova_ranges()
965 curr = interval_tree_iter_first(root, 0, ULONG_MAX); in vfio_combine_iova_ranges()
976 curr = interval_tree_iter_next(curr, 0, ULONG_MAX); in vfio_combine_iova_ranges()
1043 iova_end > ULONG_MAX) { in vfio_ioctl_device_feature_logging_start()
1130 iova_end > ULONG_MAX) in vfio_ioctl_device_feature_logging_report()
1547 if (iova > ULONG_MAX) in vfio_pin_pages()
1586 if (WARN_ON(iova > ULONG_MAX)) in vfio_unpin_pages()
1626 if (iova > ULONG_MAX) in vfio_dma_rw()

12345678910>>...14