Lines Matching defs:align
1052 * => if `align' is non-zero, we align the virtual address to the specified
1061 struct uvm_object *uobj, voff_t uoffset, vsize_t align, uvm_flag_t flags)
1089 error = uvm_map_prepare(map, *startp, size, uobj, uoffset, align,
1116 struct uvm_object *uobj, voff_t uoffset, vsize_t align, uvm_flag_t flags,
1169 uobj, uoffset, align, flags);
1740 vsize_t align, int flags, int topdown, struct vm_map_entry *entry)
1754 KASSERT(align < uvmexp.ncolors);
1760 if (color != align) {
1764 if (align > color)
1767 if (align < color)
1770 *start = ptoa(hint + align); /* adjust to color */
1773 } else if (align != 0) {
1774 if ((*start & (align - 1)) != 0) {
1776 *start &= ~(align - 1);
1778 *start = roundup(*start, align);
1809 * => if "align" is non-zero, we attempt to align to that value.
1818 vsize_t align, int flags)
1829 KASSERT((flags & UVM_FLAG_COLORMATCH) != 0 || (align & (align - 1)) == 0);
1830 KASSERT((flags & UVM_FLAG_COLORMATCH) == 0 || align < uvmexp.ncolors);
1831 KASSERT((flags & UVM_FLAG_FIXED) == 0 || align == 0);
1908 uoffset, align, flags, topdown, entry)) {
1939 switch (uvm_map_space_avail(&hint, length, uoffset, align, flags,
2007 switch (uvm_map_space_avail(&hint, length, uoffset, align,
2029 switch (uvm_map_space_avail(&hint, length, uoffset, align,
2070 switch (uvm_map_space_avail(&hint, length, uoffset, align,
2096 switch (uvm_map_space_avail(&hint, length, uoffset, align,
2397 vsize_t align /* alignment */,
2412 if (uvm_map(map, raddr, size, NULL, offset, align,