Lines Matching refs:ucap
522 vlds_get_ucap(vlds_cap_t *capp, ds_capability_t *ucap, int mode) in vlds_get_ucap() argument
567 ucap->svc_id = servp; in vlds_get_ucap()
568 ucap->vers = DS_MALLOC(nver * sizeof (ds_ver_t)); in vlds_get_ucap()
570 ucap->vers[i].major = dsvp[i].vlds_major; in vlds_get_ucap()
571 ucap->vers[i].minor = dsvp[i].vlds_minor; in vlds_get_ucap()
573 ucap->nvers = nver; in vlds_get_ucap()
579 vlds_free_ucap(ds_capability_t *ucap) in vlds_free_ucap() argument
581 kmem_free(ucap->svc_id, strlen(ucap->svc_id) + 1); in vlds_free_ucap()
582 kmem_free(ucap->vers, ucap->nvers * sizeof (ds_ver_t)); in vlds_free_ucap()
605 ds_capability_t ucap; in vlds_ioctl() local
616 if ((rv = vlds_get_ucap(ARGTOPTR(vlds_arg.vlds_capp), &ucap, in vlds_ioctl()
625 vlds_free_ucap(&ucap); in vlds_ioctl()
629 rv = ds_ucap_init(&ucap, &ds_user_ops, in vlds_ioctl()
633 vlds_free_ucap(&ucap); in vlds_ioctl()