Lines Matching refs:tpg
201 struct se_portal_group *tpg = sess->se_tpg; in target_scsi2_reservation_release() local
204 if (!sess || !tpg) in target_scsi2_reservation_release()
233 " MAPPED LUN: %u for %s\n", tpg->se_tpg_tfo->get_fabric_name(), in target_scsi2_reservation_release()
252 struct se_portal_group *tpg = sess->se_tpg; in target_scsi2_reservation_reserve() local
267 if (!sess || !tpg) in target_scsi2_reservation_reserve()
283 tpg->se_tpg_tfo->get_fabric_name()); in target_scsi2_reservation_reserve()
303 " for %s\n", tpg->se_tpg_tfo->get_fabric_name(), in target_scsi2_reservation_reserve()
900 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve() argument
917 tpg->se_tpg_tfo->get_fabric_name(), in core_scsi3_aptpl_reserve()
921 tpg->se_tpg_tfo->get_fabric_name(), node_acl->initiatorname, in core_scsi3_aptpl_reserve()
930 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration() argument
949 tpg->se_tpg_tfo->tpg_get_wwn(tpg)); in __core_scsi3_check_aptpl_registration()
950 tpgt = tpg->se_tpg_tfo->tpg_get_tag(tpg); in __core_scsi3_check_aptpl_registration()
983 core_scsi3_aptpl_reserve(dev, tpg, in __core_scsi3_check_aptpl_registration()
1000 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration() argument
1011 return __core_scsi3_check_aptpl_registration(dev, tpg, lun, in core_scsi3_check_aptpl_registration()
1145 struct se_portal_group *tpg; in __core_scsi3_locate_pr_reg() local
1156 tpg = pr_reg->pr_reg_nacl->se_tpg; in __core_scsi3_locate_pr_reg()
1167 if (tpg->se_tpg_tfo->sess_get_initiator_sid != NULL) { in __core_scsi3_locate_pr_reg()
1201 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg() local
1204 if (tpg->se_tpg_tfo->sess_get_initiator_sid != NULL) { in core_scsi3_locate_pr_reg()
1206 tpg->se_tpg_tfo->sess_get_initiator_sid(sess, &buf[0], in core_scsi3_locate_pr_reg()
1403 static int core_scsi3_tpg_depend_item(struct se_portal_group *tpg) in core_scsi3_tpg_depend_item() argument
1405 return configfs_depend_item(tpg->se_tpg_tfo->tf_subsys, in core_scsi3_tpg_depend_item()
1406 &tpg->tpg_group.cg_item); in core_scsi3_tpg_depend_item()
1409 static void core_scsi3_tpg_undepend_item(struct se_portal_group *tpg) in core_scsi3_tpg_undepend_item() argument
1411 configfs_undepend_item(tpg->se_tpg_tfo->tf_subsys, in core_scsi3_tpg_undepend_item()
1412 &tpg->tpg_group.cg_item); in core_scsi3_tpg_undepend_item()
1414 atomic_dec(&tpg->tpg_pr_ref_count); in core_scsi3_tpg_undepend_item()
1420 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_nodeacl_depend_item() local
1425 return configfs_depend_item(tpg->se_tpg_tfo->tf_subsys, in core_scsi3_nodeacl_depend_item()
1431 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_nodeacl_undepend_item() local
1439 configfs_undepend_item(tpg->se_tpg_tfo->tf_subsys, in core_scsi3_nodeacl_undepend_item()
1450 struct se_portal_group *tpg; in core_scsi3_lunacl_depend_item() local
1458 tpg = nacl->se_tpg; in core_scsi3_lunacl_depend_item()
1460 return configfs_depend_item(tpg->se_tpg_tfo->tf_subsys, in core_scsi3_lunacl_depend_item()
1468 struct se_portal_group *tpg; in core_scsi3_lunacl_undepend_item() local
1478 tpg = nacl->se_tpg; in core_scsi3_lunacl_undepend_item()
1480 configfs_undepend_item(tpg->se_tpg_tfo->tf_subsys, in core_scsi3_lunacl_undepend_item()
1489 struct se_portal_group *tpg, in core_scsi3_decode_spec_i_port() argument
1529 tidh_new->dest_tpg = tpg; in core_scsi3_decode_spec_i_port()
1898 struct se_portal_group *tpg; in __core_scsi3_update_aptpl_buf() local
1923 tpg = pr_reg->pr_reg_nacl->se_tpg; in __core_scsi3_update_aptpl_buf()
1944 tpg->se_tpg_tfo->get_fabric_name(), in __core_scsi3_update_aptpl_buf()
1954 reg_count, tpg->se_tpg_tfo->get_fabric_name(), in __core_scsi3_update_aptpl_buf()
1973 " %d\n", tpg->se_tpg_tfo->get_fabric_name(), in __core_scsi3_update_aptpl_buf()
1974 tpg->se_tpg_tfo->tpg_get_wwn(tpg), in __core_scsi3_update_aptpl_buf()
1975 tpg->se_tpg_tfo->tpg_get_tag(tpg), in __core_scsi3_update_aptpl_buf()