Home
last modified time | relevance | path

Searched refs:itnim (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/bfa/
Dbfa_fcs_fcpim.c33 static void bfa_fcs_itnim_free(struct bfa_fcs_itnim_s *itnim);
40 static void bfa_fcs_itnim_aen_post(struct bfa_fcs_itnim_s *itnim,
43 static void bfa_fcs_itnim_sm_offline(struct bfa_fcs_itnim_s *itnim,
45 static void bfa_fcs_itnim_sm_prli_send(struct bfa_fcs_itnim_s *itnim,
47 static void bfa_fcs_itnim_sm_prli(struct bfa_fcs_itnim_s *itnim,
49 static void bfa_fcs_itnim_sm_prli_retry(struct bfa_fcs_itnim_s *itnim,
51 static void bfa_fcs_itnim_sm_hcb_online(struct bfa_fcs_itnim_s *itnim,
53 static void bfa_fcs_itnim_sm_hal_rport_online(struct bfa_fcs_itnim_s *itnim,
55 static void bfa_fcs_itnim_sm_online(struct bfa_fcs_itnim_s *itnim,
57 static void bfa_fcs_itnim_sm_hcb_offline(struct bfa_fcs_itnim_s *itnim,
[all …]
Dbfa_fcpim.c26 static void bfa_itnim_update_del_itn_stats(struct bfa_itnim_s *itnim);
148 bfa_itnim_tskdone((__tskim)->itnim); \
167 static void bfa_itnim_iocdisable_cleanup(struct bfa_itnim_s *itnim);
168 static bfa_boolean_t bfa_itnim_send_fwcreate(struct bfa_itnim_s *itnim);
169 static bfa_boolean_t bfa_itnim_send_fwdelete(struct bfa_itnim_s *itnim);
171 static void bfa_itnim_cleanup(struct bfa_itnim_s *itnim);
175 static void bfa_itnim_iotov_online(struct bfa_itnim_s *itnim);
176 static void bfa_itnim_iotov_cleanup(struct bfa_itnim_s *itnim);
178 static void bfa_itnim_iotov_start(struct bfa_itnim_s *itnim);
179 static void bfa_itnim_iotov_stop(struct bfa_itnim_s *itnim);
[all …]
Dbfad_im.c37 struct bfad_itnim_s *itnim);
47 struct bfad_itnim_s *itnim; in bfa_cb_ioim_done() local
93 itnim = itnim_data->itnim; in bfa_cb_ioim_done()
94 if (!cmnd->result && itnim && in bfa_cb_ioim_done()
97 bfad_ramp_up_qdepth(itnim, cmnd->device); in bfa_cb_ioim_done()
98 } else if (cmnd->result == SAM_STAT_TASK_SET_FULL && itnim) { in bfa_cb_ioim_done()
100 bfad_handle_qfull(itnim, cmnd->device); in bfa_cb_ioim_done()
112 struct bfad_itnim_s *itnim; in bfa_cb_ioim_good_comp() local
126 itnim = itnim_data->itnim; in bfa_cb_ioim_good_comp()
127 if (itnim) in bfa_cb_ioim_good_comp()
[all …]
Dbfa_fcpim.h172 struct bfa_itnim_s *itnim; /* i-t-n nexus for this IO */ member
204 struct bfa_itnim_s *itnim; /* i-t-n nexus for this IO */ member
296 void bfa_itnim_iocdisable(struct bfa_itnim_s *itnim);
298 void bfa_itnim_iodone(struct bfa_itnim_s *itnim);
299 void bfa_itnim_tskdone(struct bfa_itnim_s *itnim);
300 bfa_boolean_t bfa_itnim_hold_io(struct bfa_itnim_s *itnim);
332 struct bfa_rport_s *rport, void *itnim);
333 void bfa_itnim_delete(struct bfa_itnim_s *itnim);
334 void bfa_itnim_online(struct bfa_itnim_s *itnim, bfa_boolean_t seq_rec);
335 void bfa_itnim_offline(struct bfa_itnim_s *itnim);
[all …]
Dbfa_fcs.h447 struct bfa_fcs_itnim_s *itnim; /* ITN initiator mode role */ member
532 bfa_fcs_itnim_get_drvport(struct bfa_fcs_itnim_s *itnim) in bfa_fcs_itnim_get_drvport() argument
534 return itnim->rport->port->bfad_port; in bfa_fcs_itnim_get_drvport()
539 bfa_fcs_itnim_get_port(struct bfa_fcs_itnim_s *itnim) in bfa_fcs_itnim_get_port() argument
541 return itnim->rport->port; in bfa_fcs_itnim_get_port()
546 bfa_fcs_itnim_get_nwwn(struct bfa_fcs_itnim_s *itnim) in bfa_fcs_itnim_get_nwwn() argument
548 return itnim->rport->nwwn; in bfa_fcs_itnim_get_nwwn()
553 bfa_fcs_itnim_get_pwwn(struct bfa_fcs_itnim_s *itnim) in bfa_fcs_itnim_get_pwwn() argument
555 return itnim->rport->pwwn; in bfa_fcs_itnim_get_pwwn()
560 bfa_fcs_itnim_get_fcid(struct bfa_fcs_itnim_s *itnim) in bfa_fcs_itnim_get_fcid() argument
[all …]
Dbfad_attr.c34 struct bfad_itnim_s *itnim = NULL; in bfad_im_get_starget_port_id() local
43 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_id()
44 if (itnim) in bfad_im_get_starget_port_id()
45 fc_id = bfa_fcs_itnim_get_fcid(&itnim->fcs_itnim); in bfad_im_get_starget_port_id()
60 struct bfad_itnim_s *itnim = NULL; in bfad_im_get_starget_node_name() local
69 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_node_name()
70 if (itnim) in bfad_im_get_starget_node_name()
71 node_name = bfa_fcs_itnim_get_nwwn(&itnim->fcs_itnim); in bfad_im_get_starget_node_name()
86 struct bfad_itnim_s *itnim = NULL; in bfad_im_get_starget_port_name() local
95 itnim = bfad_get_itnim(im_port, starget->id); in bfad_im_get_starget_port_name()
[all …]
Dbfad_im.h55 struct bfad_itnim_s *itnim; member
151 void bfad_ramp_up_qdepth(struct bfad_itnim_s *itnim,
153 void bfad_handle_qfull(struct bfad_itnim_s *itnim, struct scsi_device *sdev);
Dbfad_bsg.c479 struct bfa_itnim_s *itnim; in bfad_iocmd_lport_reset_stats() local
494 itnim = (struct bfa_itnim_s *) qe; in bfad_iocmd_lport_reset_stats()
495 if (itnim->rport->rport_info.lp_tag != fcs_port->lp_tag) in bfad_iocmd_lport_reset_stats()
497 bfa_itnim_clear_stats(itnim); in bfad_iocmd_lport_reset_stats()
980 struct bfa_itnim_s *itnim; in bfad_iocmd_fcpim_get_modstats() local
987 itnim = (struct bfa_itnim_s *) qe; in bfad_iocmd_fcpim_get_modstats()
988 bfa_fcpim_add_stats(&iocmd->modstats, &(itnim->stats)); in bfad_iocmd_fcpim_get_modstats()
1002 struct bfa_itnim_s *itnim; in bfad_iocmd_fcpim_clr_modstats() local
1007 itnim = (struct bfa_itnim_s *) qe; in bfad_iocmd_fcpim_clr_modstats()
1008 bfa_itnim_clear_stats(itnim); in bfad_iocmd_fcpim_clr_modstats()
[all …]
Dbfa_fcs_rport.c2196 bfa_fcs_itnim_is_initiator(rport->itnim); in bfa_fcs_rport_process_prli()
2268 if (bfa_fcs_itnim_get_online_state(rport->itnim) == BFA_STATUS_OK) { in bfa_fcs_rport_process_adisc()
2355 rport->itnim = bfa_fcs_itnim_create(rport); in bfa_fcs_rport_alloc()
2356 if (!rport->itnim) { in bfa_fcs_rport_alloc()
2390 bfa_fcs_itnim_delete(rport->itnim); in bfa_fcs_rport_free()
2442 bfa_sm_send_event(rport->itnim, BFA_FCS_ITNIM_SM_FCS_ONLINE); in bfa_fcs_rport_fcs_online_action()
2461 bfa_fcs_itnim_brp_online(rport->itnim); in bfa_fcs_rport_hal_online_action()
2482 bfa_fcs_itnim_rport_offline(rport->itnim); in bfa_fcs_rport_fcs_offline_action()
2521 bfa_fcs_itnim_rport_offline(rport->itnim); in bfa_fcs_rport_hal_offline_action()
2904 bfa_fcs_fcpim_uf_recv(rport->itnim, fchs, len); in bfa_fcs_rport_uf_recv()
Dbfa_defs_svc.h1390 struct bfa_itnim_aen_data_s itnim; member