Lines Matching full:boundary
678 * "boundary" is non-zero, then the set of physical pages cannot cross any
679 * physical address boundary that is a multiple of that value. Both
680 * "alignment" and "boundary" must be a power of two.
690 vm_paddr_t boundary, struct pctrie_iter *pages) in vm_reserv_alloc_contig() argument
718 * possible size satisfy the alignment and boundary requirements? in vm_reserv_alloc_contig()
722 if (!vm_addr_ok(pa, size, alignment, boundary)) in vm_reserv_alloc_contig()
745 !vm_addr_ok(pa, size, alignment, boundary)) in vm_reserv_alloc_contig()
772 * Allocate the physical pages. The alignment and boundary specified in vm_reserv_alloc_contig()
774 * boundary specified for the requested pages. For instance, the in vm_reserv_alloc_contig()
784 boundary > VM_LEVEL_0_SIZE ? boundary : 0); in vm_reserv_alloc_contig()
797 * boundary, but they do not always end at a reservation boundary. in vm_reserv_alloc_contig()
1246 ("%s: Too big a boundary for reservation size", __func__)); in vm_reserv_find_contig()
1248 ("%s: Too many pages for given boundary", __func__)); in vm_reserv_find_contig()
1260 /* Skip to next boundary-matching page. */ in vm_reserv_find_contig()
1275 vm_paddr_t high, u_long alignment, vm_paddr_t boundary) in vm_reserv_reclaim_contig() argument
1285 KASSERT(powerof2(boundary), ("boundary is not a power of 2")); in vm_reserv_reclaim_contig()
1290 * Ensure that a free range starting at a boundary-multiple in vm_reserv_reclaim_contig()
1291 * doesn't include a boundary-multiple within it. Otherwise, in vm_reserv_reclaim_contig()
1292 * no boundary-constrained allocation is possible. in vm_reserv_reclaim_contig()
1294 if (!vm_addr_bound_ok(0, size, boundary)) in vm_reserv_reclaim_contig()
1299 * Compute shifted alignment, boundary values for page-based in vm_reserv_reclaim_contig()
1305 ppn_bound = boundary == 0 ? VM_LEVEL_0_NPAGES : in vm_reserv_reclaim_contig()
1306 (int)(MIN(MAX(PAGE_SIZE, boundary), in vm_reserv_reclaim_contig()
1357 KASSERT(vm_addr_ok(pa, size, alignment, boundary), in vm_reserv_reclaim_contig()
1360 __func__, alignment, (uintmax_t)boundary)); in vm_reserv_reclaim_contig()