Lines Matching defs:map

213 	{ FC_NO_MAP,		"No map available"			},
930 fc_ulp_getportmap(opaque_t port_handle, fc_portmap_t **map, uint32_t *len,
964 if (*map) {
965 kmem_free(*map, (*len) * sizeof (fc_portmap_t));
967 *map = tmp_map;
970 bcopy(change_list, *map,
992 * thread to get the map and wait
995 job->job_private = (opaque_t)map;
1004 * that are found to fill out the map for
1011 * If we're here, we're returning a map to the caller, which means
1012 * we'd better make sure every pd in that map has the
1017 tmp_map = *map;
1799 * Return a port map for a port WWN
1802 fc_ulp_pwwn_to_portmap(opaque_t port_handle, la_wwn_t *bytes, fc_portmap_t *map)
1814 map->map_pwwn = pd->pd_port_name;
1815 map->map_did = pd->pd_port_id;
1816 map->map_hard_addr = pd->pd_hard_addr;
1817 map->map_state = pd->pd_state;
1818 map->map_type = pd->pd_type;
1819 map->map_flags = 0;
1821 ASSERT(map->map_type <= PORT_DEVICE_DELETE);
1823 bcopy(pd->pd_fc4types, map->map_fc4_types, sizeof (pd->pd_fc4types));
1830 map->map_nwwn = node->fd_node_name;
1833 map->map_pd = pd;
3071 * Check for duplicate map entries
4110 fctl_fillout_map(fc_local_port_t *port, fc_portmap_t **map, uint32_t *len,
4151 *map = NULL;
4158 *map = NULL;
4166 ASSERT(*map == NULL);
4168 listptr = *map = kmem_zalloc(
4172 listptr = *map = kmem_zalloc(
4179 * ask for a whole map when they specify the length
4188 listptr = *map;
5007 fctl_copy_portmap_held(fc_portmap_t *map, fc_remote_port_t *pd)
5013 map->map_pwwn = pd->pd_port_name;
5014 map->map_did = pd->pd_port_id;
5015 map->map_hard_addr = pd->pd_hard_addr;
5016 map->map_state = pd->pd_state;
5017 map->map_type = pd->pd_type;
5018 map->map_flags = 0;
5020 ASSERT(map->map_type <= PORT_DEVICE_DELETE);
5022 bcopy(pd->pd_fc4types, map->map_fc4_types, sizeof (pd->pd_fc4types));
5029 map->map_nwwn = node->fd_node_name;
5031 map->map_pd = pd;
5035 fctl_copy_portmap(fc_portmap_t *map, fc_remote_port_t *pd)
5042 map->map_pwwn = pd->pd_port_name;
5043 map->map_did = pd->pd_port_id;
5044 map->map_hard_addr = pd->pd_hard_addr;
5045 map->map_state = pd->pd_state;
5046 map->map_type = pd->pd_type;
5047 map->map_flags = 0;
5049 ASSERT(map->map_type <= PORT_DEVICE_DELETE);
5051 bcopy(pd->pd_fc4types, map->map_fc4_types, sizeof (pd->pd_fc4types));
5058 map->map_nwwn = node->fd_node_name;
5061 map->map_pd = pd;
5362 fc_ulp_copy_portmap(fc_portmap_t *map, opaque_t pd)
5364 fctl_copy_portmap(map, (fc_remote_port_t *)pd);
5952 cmn_err(CE_WARN, "!fctl(%d): AL_PA=0x%x doesn't exist in LILP map",