Lines Matching defs:tmp_pd

4054 	fc_remote_port_t *tmp_pd;
4071 tmp_pd = fctl_lookup_pd_by_did(port, d_id);
4075 if (tmp_pd) {
4076 mutex_enter(&tmp_pd->pd_mutex);
4077 if ((tmp_pd->pd_aux_flags & PD_DISABLE_RELOGIN) &&
4078 !(tmp_pd->pd_aux_flags & PD_LOGGED_OUT)) {
4079 tmp_pd->pd_state = PORT_DEVICE_LOGGED_IN;
4082 mutex_exit(&tmp_pd->pd_mutex);
4086 mutex_enter(&tmp_pd->pd_mutex);
4087 if (tmp_pd->pd_state == PORT_DEVICE_LOGGED_IN) {
4090 mutex_exit(&tmp_pd->pd_mutex);
4093 sizeof (la_els_adisc_t), sleep, tmp_pd);
4105 mutex_enter(&tmp_pd->pd_mutex);
4107 mutex_exit(&tmp_pd->pd_mutex);
4883 fc_remote_port_t *tmp_pd;
4962 tmp_pd = fctl_get_remote_port_by_did(port, d_id);
4963 if ((tmp_pd == NULL) || (pd != tmp_pd)) {
6176 fc_remote_port_t *tmp_pd;
6178 tmp_pd = fctl_get_remote_port_by_did(port, d_id);
6179 if (tmp_pd != NULL) {
6222 fc_remote_port_t *tmp_pd, *new_wwn_pd;
6224 tmp_pd = fctl_get_remote_port_by_did(port, d_id);
6249 "changed. New PWWN = %s, OLD PWWN = %s ; tmp_pd:%p "
6251 d_id, new_name, old_name, tmp_pd, pd, new_wwn_pd,
6289 if (tmp_pd != pd) {
6334 if (tmp_pd != pd) {
6335 mutex_enter(&tmp_pd->pd_mutex);
6337 tmp_pd->pd_remote_nodep;
6338 mutex_exit(&tmp_pd->pd_mutex);
6345 mutex_enter(&tmp_pd->pd_mutex);
6348 listptr++, tmp_pd, 0);
6350 mutex_exit(&tmp_pd->pd_mutex);
6357 * Now add "pd" (not tmp_pd)
6399 if (tmp_pd == NULL) {
7965 fc_remote_port_t *tmp_pd;
8001 tmp_pd = fctl_lookup_pd_by_index(port, index);
8003 if (tmp_pd == NULL) {
8010 mutex_enter(&tmp_pd->pd_mutex);
8011 bcopy(&tmp_pd->pd_port_name.raw_wwn,
8014 bcopy(&tmp_pd->pd_remote_nodep->fd_node_name.raw_wwn,
8017 val->PortFcId = tmp_pd->pd_port_id.port_id;
8018 bcopy(tmp_pd->pd_spn, val->PortSymbolicName,
8019 tmp_pd->pd_spn_len);
8020 val->PortSupportedClassofService = tmp_pd->pd_cos;
8026 bcopy((caddr_t)tmp_pd->pd_fc4types,
8028 sizeof (tmp_pd->pd_fc4types));
8030 fp_map_remote_port_state(tmp_pd->pd_state);
8031 mutex_exit(&tmp_pd->pd_mutex);
8060 sizeof (tmp_pd->pd_fc4types));
8108 fc_remote_port_t *tmp_pd;
8133 tmp_pd = fctl_lookup_pd_by_wwn(port, wwn);
8138 if (tmp_pd == NULL) {
8142 mutex_enter(&tmp_pd->pd_mutex);
8143 bcopy(&tmp_pd->pd_port_name.raw_wwn,
8146 bcopy(&tmp_pd->pd_remote_nodep->fd_node_name.raw_wwn,
8149 val->PortFcId = tmp_pd->pd_port_id.port_id;
8150 bcopy(tmp_pd->pd_spn, val->PortSymbolicName,
8151 tmp_pd->pd_spn_len);
8152 val->PortSupportedClassofService = tmp_pd->pd_cos;
8155 fp_map_remote_port_state(tmp_pd->pd_state);
8162 bcopy((caddr_t)tmp_pd->pd_fc4types,
8164 sizeof (tmp_pd->pd_fc4types));
8169 mutex_exit(&tmp_pd->pd_mutex);
8194 sizeof (tmp_pd->pd_fc4types));