Lines Matching refs:mboot
2392 struct mboot *mbp;
2435 mbp = (struct mboot *)bufp;
2778 struct mboot *mbp = (struct mboot *)buf;
5075 struct mboot *mboot; local
5096 mboot = kmem_zalloc(buffer_size, KM_SLEEP);
5097 if ((rval = DK_TG_READ(cl, mboot, 0, buffer_size, tg_cookie)) == 0) {
5098 if (ddi_copyout(mboot, (void *)arg,
5099 sizeof (struct mboot), flag) != 0) {
5103 kmem_free(mboot, buffer_size);
5133 struct mboot *mboot = NULL; local
5150 mboot = kmem_zalloc(cl->cl_sys_blocksize, KM_SLEEP);
5152 if (ddi_copyin((const void *)arg, mboot,
5154 kmem_free(mboot, cl->cl_sys_blocksize);
5159 magic = LE_16(mboot->signature);
5161 kmem_free(mboot, cl->cl_sys_blocksize);
5165 rval = DK_TG_WRITE(cl, mboot, 0, cl->cl_sys_blocksize, tg_cookie);
5177 kmem_free(mboot, cl->cl_sys_blocksize);
5198 kmem_free(mboot, cl->cl_sys_blocksize);