Lines Matching defs:init
2609 mpapi_initiator_data_t *init;
2674 init = kmem_zalloc(
2676 init->resp = init_port_res;
2677 init->valid = 1;
2678 init->prop.id = item->oid.raw_oid;
2679 init->prop.portType = mp_interconnect_type;
2680 (void) strlcpy(init->prop.portID, pname,
2681 sizeof (init->prop.portID));
2682 (void) strlcpy(init->prop.osDeviceFile, "/devices",
2683 sizeof (init->prop.osDeviceFile));
2684 (void) strlcat(init->prop.osDeviceFile, pname,
2685 sizeof (init->prop.osDeviceFile));
2686 init->path_list = vhci_mpapi_create_list_head();
2687 item->idata = (void *)init;
2913 char *tmp_wwn = NULL, *init = NULL, *path_class;
3007 init = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
3008 (void) ddi_pathname(pdip, init);
3011 MP_OBJECT_TYPE_INITIATOR_PORT, (void*)init);
3025 kmem_free(init, MAXPATHLEN);
3473 char tpg_id[16], *tgt_port, *init = NULL;
3608 init = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
3609 (void) ddi_pathname(pdip, init);
3612 MP_OBJECT_TYPE_INITIATOR_PORT, (void*)init);
3626 kmem_free(init, MAXPATHLEN);
4052 char *init, *init_port_res;
4057 SCSI_ADDR_PROP_INITIATOR_PORT, &init) != DDI_PROP_SUCCESS)) {
4060 init = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
4062 (void) ddi_pathname(pdip, init);
4083 (void) strlcpy(initd->prop.portID, init, sizeof (initd->prop.portID));
4086 kmem_free(init, MAXPATHLEN);
4087 } else if (init) {
4088 ddi_prop_free(init);