Lines Matching refs:nexus
2208 struct ibmvscsis_nexus *nexus; in ibmvscsis_make_nexus() local
2217 nexus = kzalloc(sizeof(*nexus), GFP_KERNEL); in ibmvscsis_make_nexus()
2218 if (!nexus) { in ibmvscsis_make_nexus()
2223 nexus->se_sess = target_setup_session(&tport->se_tpg, 0, 0, in ibmvscsis_make_nexus()
2224 TARGET_PROT_NORMAL, name, nexus, in ibmvscsis_make_nexus()
2226 if (IS_ERR(nexus->se_sess)) { in ibmvscsis_make_nexus()
2227 rc = PTR_ERR(nexus->se_sess); in ibmvscsis_make_nexus()
2231 tport->ibmv_nexus = nexus; in ibmvscsis_make_nexus()
2236 kfree(nexus); in ibmvscsis_make_nexus()
2243 struct ibmvscsis_nexus *nexus; in ibmvscsis_drop_nexus() local
2245 nexus = tport->ibmv_nexus; in ibmvscsis_drop_nexus()
2246 if (!nexus) in ibmvscsis_drop_nexus()
2249 se_sess = nexus->se_sess; in ibmvscsis_drop_nexus()
2258 kfree(nexus); in ibmvscsis_drop_nexus()
2667 struct ibmvscsis_nexus *nexus; in ibmvscsis_parse_cmd() local
2672 nexus = vscsi->tport.ibmv_nexus; in ibmvscsis_parse_cmd()
2725 target_submit_cmd(&cmd->se_cmd, nexus->se_sess, srp->cdb, in ibmvscsis_parse_cmd()
2756 struct ibmvscsis_nexus *nexus; in ibmvscsis_parse_task() local
2758 nexus = vscsi->tport.ibmv_nexus; in ibmvscsis_parse_task()
2799 rc = target_submit_tmr(&cmd->se_cmd, nexus->se_sess, NULL, in ibmvscsis_parse_task()