Lines Matching refs:mem_p
7293 caddr_t mem_p = NULL; in vd_process_ioctl() local
7603 mem_p = kmem_zalloc(alloc_len, KM_SLEEP); in vd_process_ioctl()
7611 rv = (iop->convert)(vdc, arg, mem_p, mode, VD_COPYIN); in vd_process_ioctl()
7615 if (mem_p != NULL) in vd_process_ioctl()
7616 kmem_free(mem_p, alloc_len); in vd_process_ioctl()
7623 rv = vdc_do_sync_op(vdc, iop->op, mem_p, alloc_len, in vd_process_ioctl()
7634 if (mem_p != NULL) in vd_process_ioctl()
7635 kmem_free(mem_p, alloc_len); in vd_process_ioctl()
7646 rv = (iop->convert)(vdc, mem_p, arg, mode, VD_COPYOUT); in vd_process_ioctl()
7650 if (mem_p != NULL) in vd_process_ioctl()
7651 kmem_free(mem_p, alloc_len); in vd_process_ioctl()
7655 if (mem_p != NULL) in vd_process_ioctl()
7656 kmem_free(mem_p, alloc_len); in vd_process_ioctl()