Lines Matching refs:boundary
104 * Macro to align to an arbitrary power-of-two boundary.
619 u_long size, u_long alignment, u_long skew, u_long boundary,
656 if (boundary && (boundary < size)) {
659 "boundary 0x%lx\n", ex->ex_name, size, boundary);
660 panic("extent_alloc_subregion: bad boundary");
772 * Do a boundary check, if necessary. Note
773 * that a region may *begin* on the boundary,
774 * but it must end before the boundary.
776 if (boundary) {
780 * Calculate the next boundary after the start
783 dontcross = EXTENT_ALIGN(newstart+1, boundary,
788 printf("newstart=%lx newend=%lx ex_start=%lx ex_end=%lx boundary=%lx dontcross=%lx\n",
790 boundary, dontcross);
798 * Candidate region crosses boundary.
804 dontcross += boundary;
811 * the extent or the boundary
867 * Do a boundary check, if necessary. Note
868 * that a region may *begin* on the boundary,
869 * but it must end before the boundary.
871 if (boundary) {
875 * Calculate the next boundary after the start
878 dontcross = EXTENT_ALIGN(newstart+1, boundary,
883 printf("newstart=%lx newend=%lx ex_start=%lx ex_end=%lx boundary=%lx dontcross=%lx\n",
885 boundary, dontcross);
893 * Candidate region crosses boundary.
899 dontcross += boundary;
906 * the extent or the boundary
993 u_long alignment, u_long boundary, int flags, u_long *result)
997 0, boundary, flags, result));
1001 extent_alloc(struct extent *ex, u_long size, u_long alignment, u_long boundary,
1006 size, alignment, 0, boundary,
1012 u_long boundary, int flags, u_long *result)
1016 size, alignment, skew, boundary,