Home
last modified time | relevance | path

Searched refs:itnim_drv (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/scsi/bfa/
Dbfad_im.c413 struct bfad_itnim_s **itnim_drv) in bfa_fcb_itnim_alloc() argument
415 *itnim_drv = kzalloc(sizeof(struct bfad_itnim_s), GFP_ATOMIC); in bfa_fcb_itnim_alloc()
416 if (*itnim_drv == NULL) in bfa_fcb_itnim_alloc()
419 (*itnim_drv)->im = bfad->im; in bfa_fcb_itnim_alloc()
420 *itnim = &(*itnim_drv)->fcs_itnim; in bfa_fcb_itnim_alloc()
421 (*itnim_drv)->state = ITNIM_STATE_NONE; in bfa_fcb_itnim_alloc()
426 INIT_WORK(&(*itnim_drv)->itnim_work, bfad_im_itnim_work_handler); in bfa_fcb_itnim_alloc()
435 bfa_fcb_itnim_free(struct bfad_s *bfad, struct bfad_itnim_s *itnim_drv) in bfa_fcb_itnim_free() argument
441 struct bfad_im_s *im = itnim_drv->im; in bfa_fcb_itnim_free()
444 WARN_ON(itnim_drv->state == ITNIM_STATE_ONLINE); in bfa_fcb_itnim_free()
[all …]
Dbfa_fcs_fcpim.c268 bfa_fcb_itnim_online(itnim->itnim_drv); in bfa_fcs_itnim_sm_hcb_online()
307 bfa_fcb_itnim_offline(itnim->itnim_drv); in bfa_fcs_itnim_sm_online()
535 bfa_fcb_itnim_free(itnim->fcs->bfad, itnim->itnim_drv); in bfa_fcs_itnim_free()
554 struct bfad_itnim_s *itnim_drv; in bfa_fcs_itnim_create() local
560 bfa_fcb_itnim_alloc(port->fcs->bfad, &itnim, &itnim_drv); in bfa_fcs_itnim_create()
571 itnim->itnim_drv = itnim_drv; in bfa_fcs_itnim_create()
581 bfa_fcb_itnim_free(port->fcs->bfad, itnim_drv); in bfa_fcs_itnim_create()
714 struct bfad_itnim_s *itnim_drv = itnim->itnim_drv; in bfa_cb_itnim_tov() local
717 itnim_drv->state = ITNIM_STATE_TIMEOUT; in bfa_cb_itnim_tov()
Dbfa_fcs.h495 struct bfad_itnim_s *itnim_drv; /* driver peer instance */ member
567 return itnim->itnim_drv; in bfa_fcs_itnim_get_drvitn()
822 struct bfad_itnim_s **itnim_drv);
824 struct bfad_itnim_s *itnim_drv);
825 void bfa_fcb_itnim_online(struct bfad_itnim_s *itnim_drv);
826 void bfa_fcb_itnim_offline(struct bfad_itnim_s *itnim_drv);
Dbfad_bsg.c624 drv_itnim = fcs_itnim->itnim_drv; in bfad_iocmd_rport_get_addr()