Lines Matching refs:align
393 lib_va_add_hash(caddr_t base_va, ssize_t len, size_t align, vattr_t *vap)
455 lvp->lv_align = align;
657 size_t align;
679 align = lvp->lv_align;
680 if (align > 1) {
684 base = (caddr_t)align;
722 int randomize, size_t align, vattr_t *vap)
750 if (align > 1) {
770 base = (caddr_t)align;
810 base = (caddr_t)align;
837 base = vmem_xalloc(model_vmem, len, align, 0, 0, NULL,
847 *lvpp = lib_va_add_hash(base, len, align, vap);
882 base = (caddr_t)align;
1311 * 0 is returned, and *len, *loadable and *align have been filled out.
1317 int *loadable, size_t *align)
1438 *align = 2 * (1L << (highbit(max_align) - 1));
1439 if (*align < max_align ||
1440 (*align > UINT_MAX && model == DATAMODEL_ILP32)) {
1442 *align = 1L << (highbit(max_align) - 1);
1445 *align = max_align;
1448 ASSERT(*align >= PAGESIZE || *align == 0);
1566 size_t align = 0;
1635 align = lvp->lv_align;
1647 &loadable, &align);
1659 ASSERT(align == lvp->lv_align);
1706 if (align > 1) {
1707 add_pad = P2ROUNDUP(padding, align);
1728 align, &vattr);