Lines Matching defs:devlist

362     uint32_t port_state, uint32_t port_top, fc_portmap_t *devlist,
424 fc_portmap_t devlist[], uint32_t dev_cnt, int link_cnt,
3183 fc_portmap_t devlist;
3197 &devlist) != FC_SUCCESS) {
3203 devlist.map_type = PORT_DEVICE_USER_CREATE;
3208 ptgt = fcp_alloc_tgt(pptr, &devlist, lcount);
3219 ptgt->tgt_d_id = devlist.map_did.port_id;
3221 devlist.map_hard_addr.hard_addr;
3222 ptgt->tgt_pd_handle = devlist.map_pd;
3225 bcopy(&devlist.map_nwwn, &ptgt->tgt_node_wwn.raw_wwn[0],
3227 bcopy(&devlist.map_pwwn, &ptgt->tgt_port_wwn.raw_wwn[0],
4282 * *devlist Pointer to the first entry of a table
4285 * dev_cnt Number of entries pointed by devlist.
4293 uint32_t port_state, uint32_t port_top, fc_portmap_t *devlist,
4401 fcp_handle_devices(pptr, devlist, dev_cnt,
4477 fcp_handle_devices(pptr, devlist, dev_cnt, link_count,
4559 fcp_update_targets(pptr, devlist, dev_cnt,
4564 fcp_handle_devices(pptr, devlist, dev_cnt,
4602 * *devlist Pointer to the first entry of a table
4605 * dev_cnt Number of entries pointed by devlist.
4615 fcp_handle_devices(struct fcp_port *pptr, fc_portmap_t devlist[],
4646 map_entry = &(devlist[i]);
4706 map_entry = &(devlist[i]);
14766 fc_portmap_t *devlist;
14779 devlist = kmem_zalloc(sizeof (*devlist), KM_NOSLEEP);
14780 if (devlist == NULL) {
14788 devlist->map_pd = ptgt->tgt_pd_handle;
14789 devlist->map_hard_addr.hard_addr = ptgt->tgt_hard_addr;
14790 devlist->map_did.port_id = ptgt->tgt_d_id;
14792 bcopy(&ptgt->tgt_node_wwn.raw_wwn[0], &devlist->map_nwwn, FC_WWN_SIZE);
14793 bcopy(&ptgt->tgt_port_wwn.raw_wwn[0], &devlist->map_pwwn, FC_WWN_SIZE);
14795 devlist->map_state = PORT_DEVICE_LOGGED_IN;
14796 devlist->map_type = PORT_DEVICE_REPORTLUN_CHANGED;
14797 devlist->map_flags = 0;
14800 pptr->port_topology, devlist, dev_cnt, pptr->port_id);
14810 kmem_free(devlist, sizeof (*devlist));
14918 fc_portmap_t *devlist;
14925 devlist = kmem_zalloc(sizeof (*devlist), KM_SLEEP);
14931 * devlist->map_rscn_info.ulp_rscn_count = FC_INVALID_RSCN_COUNT;
14947 kmem_free(devlist, sizeof (*devlist));
14956 (la_wwn_t *)pwwn, devlist);
14958 kmem_free(devlist, sizeof (*devlist));
14966 devlist->map_type = PORT_DEVICE_USER_CREATE;
14979 ptgt = fcp_alloc_tgt(pptr, devlist, lcount);
15006 fcp_update_targets(pptr, devlist, 1,
15012 if (fcp_handle_mapflags(pptr, ptgt, devlist, lcount,
15099 kmem_free(devlist, sizeof (*devlist));
15167 kmem_free(devlist, sizeof (*devlist));
15505 fc_portmap_t *devlist;
15519 devptr = devlist = kmem_zalloc(sizeof (*devlist) * *dev_cnt,
15521 if (devlist == NULL) {
15538 devlist);
15541 devlist++;
15545 devlist->map_pd = NULL;
15546 devlist->map_did.port_id = ptgt->tgt_d_id;
15547 devlist->map_hard_addr.hard_addr =
15550 devlist->map_state = PORT_DEVICE_INVALID;
15551 devlist->map_type = PORT_DEVICE_OLD;
15554 &devlist->map_nwwn, FC_WWN_SIZE);
15557 &devlist->map_pwwn, FC_WWN_SIZE);
15559 devlist++;