Lines Matching refs:vbase
392 caddr_t vbase = NULL; /* always first virtual, may not be mapped */
422 vbase = vmem_alloc(SEGKP_VMEM(seg), len, kmflag | VM_BESTFIT);
423 if (vbase == NULL) {
432 vmem_free(SEGKP_VMEM(seg), vbase, len);
458 kpd, vbase, len, flags, 1);
467 vmem_free(SEGKP_VMEM(seg), vbase, len);
473 anon_idx = ((uintptr_t)(vbase - s_base)) >> PAGESHIFT;
478 kpd, vbase, len, flags, 1);
489 segkpindex = btop((uintptr_t)(vbase - kvseg.s_base));
490 for (i = 0, va = vbase; i < np; i++, va += PAGESIZE) {
559 kpd->kp_base = vbase;
561 segkp_release_internal(seg, kpd, va - vbase);
591 kpd->kp_base = vbase;