/drivers/target/ |
H A D | target_core_fabric_configfs.c | 72 struct se_portal_group *se_tpg; local 83 se_tpg = lun->lun_sep->sep_tpg; 116 (se_tpg->se_tpg_tfo->tpg_check_prod_mode_write_protect( 117 se_tpg)) ? TRANSPORT_LUNFLAGS_READ_ONLY : 126 ret = core_dev_add_initiator_node_lun_acl(se_tpg, lacl, 141 struct se_portal_group *se_tpg; local 149 se_tpg = lun->lun_sep->sep_tpg; 151 core_dev_del_initiator_node_lun_acl(se_tpg, lun, lacl); 186 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 217 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; local 315 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 429 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 466 struct se_portal_group *se_tpg = container_of(group, local 543 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; local 565 struct se_portal_group *se_tpg = container_of(group, local 742 struct se_portal_group *se_tpg; local 795 struct se_portal_group *se_tpg = lun->lun_sep->sep_tpg; local 854 struct se_portal_group *se_tpg = container_of(group, local 977 struct se_portal_group *se_tpg = container_of(to_config_group(item), local 1003 struct se_portal_group *se_tpg; local 1044 struct se_portal_group *se_tpg = container_of(to_config_group(item), local [all...] |
H A D | target_core_tpg.c | 290 acl->se_tpg = tpg; 420 acl->se_tpg = tpg; 627 static int core_tpg_setup_virtual_lun0(struct se_portal_group *se_tpg) argument 631 struct se_lun *lun = &se_tpg->tpg_virt_lun0; 645 ret = core_tpg_post_addlun(se_tpg, lun, lun_access, dev); 652 static void core_tpg_release_virtual_lun0(struct se_portal_group *se_tpg) argument 654 struct se_lun *lun = &se_tpg->tpg_virt_lun0; 656 core_tpg_post_dellun(se_tpg, lun); 662 struct se_portal_group *se_tpg, 669 se_tpg 659 core_tpg_register( struct target_core_fabric_ops *tfo, struct se_wwn *se_wwn, struct se_portal_group *se_tpg, void *tpg_fabric_ptr, int se_tpg_type) argument 723 core_tpg_deregister(struct se_portal_group *se_tpg) argument [all...] |
H A D | target_core_fabric_lib.c | 46 u8 sas_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 57 struct se_portal_group *se_tpg, 88 struct se_portal_group *se_tpg, 109 struct se_portal_group *se_tpg, 132 u8 fc_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 139 struct se_portal_group *se_tpg, 153 struct se_portal_group *se_tpg, 192 struct se_portal_group *se_tpg, 213 u8 iscsi_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 224 struct se_portal_group *se_tpg, 56 sas_get_pr_transport_id( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code, unsigned char *buf) argument 87 sas_get_pr_transport_id_len( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code) argument 108 sas_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 138 fc_get_pr_transport_id_len( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code) argument 152 fc_get_pr_transport_id( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code, unsigned char *buf) argument 191 fc_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 223 iscsi_get_pr_transport_id( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code, unsigned char *buf) argument 319 iscsi_get_pr_transport_id_len( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code) argument 365 iscsi_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument [all...] |
H A D | target_core_ua.c | 179 nacl->se_tpg->se_tpg_tfo->get_fabric_name(), unpacked_lun, 267 nacl->se_tpg->se_tpg_tfo->get_fabric_name(), 325 " ASCQ: 0x%02x\n", nacl->se_tpg->se_tpg_tfo->get_fabric_name(),
|
H A D | target_core_transport.c | 259 struct se_portal_group *se_tpg, 266 se_sess->se_tpg = se_tpg; 279 if (se_tpg->se_tpg_tfo->sess_get_initiator_sid != NULL) { 281 se_tpg->se_tpg_tfo->sess_get_initiator_sid(se_sess, 298 list_add_tail(&se_sess->sess_list, &se_tpg->tpg_sess_list); 301 se_tpg->se_tpg_tfo->get_fabric_name(), se_sess->fabric_sess_ptr); 306 struct se_portal_group *se_tpg, 313 spin_lock_irqsave(&se_tpg->session_lock, flags); 314 __transport_register_session(se_tpg, se_nac 258 __transport_register_session( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct se_session *se_sess, void *fabric_sess_ptr) argument 305 transport_register_session( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct se_session *se_sess, void *fabric_sess_ptr) argument 323 struct se_portal_group *se_tpg = se_sess->se_tpg; local 390 struct se_portal_group *se_tpg = se_sess->se_tpg; local 1690 struct se_portal_group *se_tpg; local 1776 struct se_portal_group *se_tpg; local [all...] |
H A D | target_core_pr.c | 201 struct se_portal_group *tpg = sess->se_tpg; 252 struct se_portal_group *tpg = sess->se_tpg; 707 struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; 756 if (tfo != nacl_tmp->se_tpg->se_tpg_tfo) 1022 struct se_portal_group *se_tpg = nacl->se_tpg; local 1036 tfo->get_fabric_name(), tfo->tpg_get_wwn(se_tpg), 1037 tfo->tpg_get_tag(se_tpg)); 1060 struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; 1156 tpg = pr_reg->pr_reg_nacl->se_tpg; 2118 struct se_portal_group *se_tpg; local 3355 struct se_portal_group *se_tpg, *dest_se_tpg = NULL; local 4164 struct se_portal_group *se_tpg; local [all...] |
H A D | target_core_alua.c | 997 struct se_portal_group *se_tpg = port->sep_tpg; local 1005 se_tpg->se_tpg_tfo->tpg_get_wwn(se_tpg)); 1007 if (se_tpg->se_tpg_tfo->tpg_get_tag != NULL) 1009 se_tpg->se_tpg_tfo->tpg_get_tag(se_tpg)); 1017 se_tpg->se_tpg_tfo->get_fabric_name(), wwn,
|
H A D | target_core_configfs.c | 1057 se_nacl->se_tpg->se_tpg_tfo->get_fabric_name(), 1079 se_nacl->se_tpg->se_tpg_tfo->get_fabric_name(), 1187 struct se_portal_group *se_tpg; local 1207 se_tpg = se_nacl->se_tpg; 1209 tfo = se_tpg->se_tpg_tfo; 1213 tfo->tpg_get_wwn(se_tpg)); 1217 tfo->get_fabric_name(), tfo->tpg_get_tag(se_tpg), 1254 tfo = pr_reg->pr_reg_nacl->se_tpg->se_tpg_tfo;
|
H A D | target_core_stat.c | 1253 tpg = nacl->se_tpg; 1302 tpg = nacl->se_tpg; 1619 tpg = nacl->se_tpg; 1668 tpg = nacl->se_tpg; 1693 tpg = nacl->se_tpg; 1742 tpg = nacl->se_tpg;
|
H A D | target_core_tmr.c | 456 tmr_tpg = tmr->task_cmd->se_sess->se_tpg;
|
H A D | target_core_device.c | 134 se_lun = &se_sess->se_tpg->tpg_virt_lun0; 135 se_cmd->se_lun = &se_sess->se_tpg->tpg_virt_lun0; 238 struct se_portal_group *tpg = nacl->se_tpg;
|
/drivers/target/loopback/ |
H A D | tcm_loop.c | 296 struct se_portal_group *se_tpg; local 319 * Locate the tl_tpg and se_tpg pointers from TargetID in sc->device->id 322 se_tpg = &tl_tpg->tl_se_tpg; 341 transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, 533 static u8 tcm_loop_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 535 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; 546 return sas_get_fabric_proto_ident(se_tpg); 548 return fc_get_fabric_proto_ident(se_tpg); 550 return iscsi_get_fabric_proto_ident(se_tpg); 557 return sas_get_fabric_proto_ident(se_tpg); 560 tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) argument 569 tcm_loop_get_tag(struct se_portal_group *se_tpg) argument 579 tcm_loop_get_default_depth(struct se_portal_group *se_tpg) argument 584 tcm_loop_get_pr_transport_id( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code, unsigned char *buf) argument 614 tcm_loop_get_pr_transport_id_len( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl, struct t10_pr_registration *pr_reg, int *format_code) argument 647 tcm_loop_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 680 tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) argument 685 tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) argument 694 tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) argument 704 tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) argument 709 tcm_loop_tpg_alloc_fabric_acl( struct se_portal_group *se_tpg) argument 723 tcm_loop_tpg_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 733 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) argument 878 tcm_loop_port_link( struct se_portal_group *se_tpg, struct se_lun *lun) argument 897 tcm_loop_port_unlink( struct se_portal_group *se_tpg, struct se_lun *se_lun) argument 935 struct se_portal_group *se_tpg; local 1023 tcm_loop_tpg_show_nexus( struct se_portal_group *se_tpg, char *page) argument 1042 tcm_loop_tpg_store_nexus( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1175 tcm_loop_drop_naa_tpg( struct se_portal_group *se_tpg) argument [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_conf.c | 202 struct se_portal_group *se_tpg, 212 tpg = container_of(se_tpg, struct ft_tpg, se_tpg); 223 return core_tpg_add_initiator_node_acl(&tpg->se_tpg, 229 struct se_portal_group *se_tpg = se_acl->se_tpg; local 237 tpg = container_of(se_tpg, struct ft_tpg, se_tpg); 238 pr_debug("del acl %p se_acl %p tpg %p se_tpg %p\n", 239 acl, se_acl, tpg, &tpg->se_tpg); 201 ft_add_acl( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 249 struct se_portal_group *se_tpg = &tpg->se_tpg; local 270 ft_tpg_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 283 ft_tpg_release_fabric_acl(struct se_portal_group *se_tpg, struct se_node_acl *se_acl) argument 347 ft_del_tpg(struct se_portal_group *se_tpg) argument 466 ft_get_fabric_wwn(struct se_portal_group *se_tpg) argument 473 ft_get_tag(struct se_portal_group *se_tpg) argument 484 ft_get_default_depth(struct se_portal_group *se_tpg) argument 489 ft_check_false(struct se_portal_group *se_tpg) argument 508 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) argument [all...] |
H A D | tcm_fc.h | 100 struct se_portal_group se_tpg; member in struct:ft_tpg
|
H A D | tfc_sess.c | 230 transport_register_session(&tport->tpg->se_tpg, &acl->se_node_acl,
|
/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 54 struct se_portal_group *se_tpg = container_of(to_config_group(item), local 56 struct iscsi_portal_group *tpg = se_tpg->se_tpg_fabric_ptr; 161 struct se_portal_group *se_tpg, 242 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); 249 config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), 281 struct se_portal_group *se_tpg; local 290 se_tpg = &tpg->tpg_se_tpg; 292 " PORTAL: %s:%hu\n", config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), 729 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 160 lio_target_call_addnptotpg( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 785 lio_tpg_alloc_fabric_acl( struct se_portal_group *se_tpg) argument 799 lio_target_make_nodeacl( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 849 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 1123 lio_target_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 1139 lio_target_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1241 lio_target_tiqn_deltpg(struct se_portal_group *se_tpg) argument 1599 lio_tpg_get_endpoint_wwn(struct se_portal_group *se_tpg) argument 1606 lio_tpg_get_tag(struct se_portal_group *se_tpg) argument 1613 lio_tpg_get_default_depth(struct se_portal_group *se_tpg) argument 1620 lio_tpg_check_demo_mode(struct se_portal_group *se_tpg) argument 1627 lio_tpg_check_demo_mode_cache(struct se_portal_group *se_tpg) argument 1634 lio_tpg_check_demo_mode_write_protect( struct se_portal_group *se_tpg) argument 1642 lio_tpg_check_prod_mode_write_protect( struct se_portal_group *se_tpg) argument 1650 lio_tpg_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_acl) argument 1699 lio_tpg_get_inst_index(struct se_portal_group *se_tpg) argument [all...] |
H A D | iscsi_target_login.c | 128 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 143 spin_lock_bh(&se_tpg->session_lock); 144 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, 168 spin_unlock_bh(&se_tpg->session_lock); 433 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 437 spin_lock_bh(&se_tpg->session_lock); 438 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, 454 spin_unlock_bh(&se_tpg->session_lock); 588 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 643 spin_lock_bh(&se_tpg 1181 struct se_portal_group *se_tpg = local [all...] |
H A D | iscsi_target_erl0.c | 753 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 755 spin_lock_bh(&se_tpg->session_lock); 757 spin_unlock_bh(&se_tpg->session_lock); 763 spin_unlock_bh(&se_tpg->session_lock); 785 spin_unlock_bh(&se_tpg->session_lock); 825 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 834 spin_unlock_bh(&se_tpg->session_lock); 838 spin_lock_bh(&se_tpg->session_lock);
|
H A D | iscsi_target.c | 4196 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 4205 spin_lock_bh(&se_tpg->session_lock); 4209 spin_unlock_bh(&se_tpg->session_lock); 4244 spin_lock_bh(&se_tpg->session_lock); 4262 spin_unlock_bh(&se_tpg->session_lock); 4503 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 4507 spin_lock_bh(&se_tpg->session_lock); 4509 spin_unlock_bh(&se_tpg->session_lock); 4513 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, 4526 spin_unlock_bh(&se_tpg [all...] |
H A D | iscsi_target_stat.c | 727 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn;
|
/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 3387 static int srpt_check_true(struct se_portal_group *se_tpg) argument 3392 static int srpt_check_false(struct se_portal_group *se_tpg) argument 3402 static u8 srpt_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 3419 static u32 srpt_get_default_depth(struct se_portal_group *se_tpg) argument 3424 static u32 srpt_get_pr_transport_id(struct se_portal_group *se_tpg, argument 3439 static u32 srpt_get_pr_transport_id_len(struct se_portal_group *se_tpg, argument 3448 static char *srpt_parse_pr_out_transport_id(struct se_portal_group *se_tpg, argument 3460 static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 3473 static void srpt_release_fabric_acl(struct se_portal_group *se_tpg, argument 3482 static u32 srpt_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 3672 srpt_tpg_attrib_show_srp_max_rdma_size( struct se_portal_group *se_tpg, char *page) argument 3681 srpt_tpg_attrib_store_srp_max_rdma_size( struct se_portal_group *se_tpg, const char *page, size_t count) argument 3712 srpt_tpg_attrib_show_srp_max_rsp_size( struct se_portal_group *se_tpg, char *page) argument 3721 srpt_tpg_attrib_store_srp_max_rsp_size( struct se_portal_group *se_tpg, const char *page, size_t count) argument 3752 srpt_tpg_attrib_show_srp_sq_size( struct se_portal_group *se_tpg, char *page) argument 3761 srpt_tpg_attrib_store_srp_sq_size( struct se_portal_group *se_tpg, const char *page, size_t count) argument 3799 srpt_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 3808 srpt_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument [all...] |