Lines Matching defs:ub
4393 unbind_data_t *ub = (unbind_data_t *)(uintptr_t)arg;
4407 if ((ddi_driver_major(cdip) != ub->drv_major) ||
4408 (strcmp(DEVI(cdip)->devi_node_name, ub->drv_alias) != 0))
4414 unbind_alias_dev_in_use(cdip, ub->drv_alias);
4415 ub->ndevs_bound++;
4434 unbind_data_t *ub;
4437 ub = kmem_zalloc(sizeof (*ub), KM_SLEEP);
4438 ub->drv_major = major;
4439 ub->drv_alias = alias;
4440 ub->ndevs_bound = 0;
4441 ub->unbind_errors = 0;
4446 (void *)(uintptr_t)ub);
4449 rv = ub->ndevs_bound + ub->unbind_errors;
4450 kmem_free(ub, sizeof (*ub));