Lines Matching refs:vsize
616 size_t vsize;
649 vsize = (caddr_t)bv - (caddr_t)bootv;
650 if ((elfbootvec = (Elf32_Boot *)kmem_alloc(vsize, 0)) == NULL)
652 bcopy((char *)bootv, (char *)elfbootvec, vsize);
657 kmem_free(elfbootvec, vsize);
663 kmem_free(elfbootvec, vsize);
675 if ((elfbootvecELF32_64 = (Elf32_Boot *)kmem_alloc(vsize, 0))
678 bcopy(bootv, elfbootvecELF32_64, vsize);
684 kmem_free(elfbootvecELF32_64, vsize);
1006 size_t vsize;
1033 vsize = strlen(amd64_getmmulist()) + 1;
1034 if ((mmulist = kmem_alloc(vsize, 0)) == NULL)
1037 bcopy(amd64_getmmulist(), mmulist, vsize);
1048 vsize = (caddr_t)bv - (caddr_t)bootv;
1050 (Elf64_Boot *)kmem_alloc(vsize, 0)) == NULL)
1052 bcopy((char *)bootv, (char *)elfbootvecELF64, vsize);
1057 kmem_free(elfbootvecELF64, vsize);
1064 kmem_free(elfbootvecELF64, vsize);
1073 kmem_free(elfbootvecELF64, vsize);