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