/drivers/target/ |
H A D | target_core_tpg.c | 287 acl->se_tpg = tpg; 414 acl->se_tpg = tpg; 650 static int core_tpg_setup_virtual_lun0(struct se_portal_group *se_tpg) argument 654 struct se_lun *lun = &se_tpg->tpg_virt_lun0; 667 ret = core_tpg_add_lun(se_tpg, lun, lun_access, dev); 677 struct se_portal_group *se_tpg, 684 se_tpg->tpg_lun_list = array_zalloc(TRANSPORT_MAX_LUNS_PER_TPG, 686 if (!se_tpg->tpg_lun_list) { 693 lun = se_tpg->tpg_lun_list[i]; 705 se_tpg 674 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 739 core_tpg_deregister(struct se_portal_group *se_tpg) argument [all...] |
H A D | target_core_fabric_configfs.c | 70 struct se_portal_group *se_tpg; local 87 se_tpg = lun->lun_sep->sep_tpg; 120 (se_tpg->se_tpg_tfo->tpg_check_prod_mode_write_protect( 121 se_tpg)) ? TRANSPORT_LUNFLAGS_READ_ONLY : 130 ret = core_dev_add_initiator_node_lun_acl(se_tpg, lacl, 145 struct se_portal_group *se_tpg; local 153 se_tpg = lun->lun_sep->sep_tpg; 155 core_dev_del_initiator_node_lun_acl(se_tpg, lun, lacl); 190 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 223 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; local 321 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 447 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 484 struct se_portal_group *se_tpg = container_of(group, local 561 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; local 583 struct se_portal_group *se_tpg = container_of(group, local 759 struct se_portal_group *se_tpg; local 813 struct se_portal_group *se_tpg = lun->lun_sep->sep_tpg; local 872 struct se_portal_group *se_tpg = container_of(group, local 1007 struct se_portal_group *se_tpg = container_of(to_config_group(item), local 1033 struct se_portal_group *se_tpg; local 1077 struct se_portal_group *se_tpg = container_of(to_config_group(item), local [all...] |
H A D | target_core_fabric_lib.c | 45 u8 sas_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 56 struct se_portal_group *se_tpg, 87 struct se_portal_group *se_tpg, 108 struct se_portal_group *se_tpg, 131 u8 fc_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 138 struct se_portal_group *se_tpg, 152 struct se_portal_group *se_tpg, 191 struct se_portal_group *se_tpg, 212 u8 iscsi_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 223 struct se_portal_group *se_tpg, 55 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 86 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 107 sas_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 137 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 151 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 190 fc_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 222 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 318 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 364 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_pr.c | 193 if (!sess || !sess->se_tpg) 217 tpg = sess->se_tpg; 249 if (!sess || !sess->se_tpg) 258 tpg = sess->se_tpg; 655 struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; 703 if (tfo != nacl_tmp->se_tpg->se_tpg_tfo) 960 struct se_portal_group *se_tpg = nacl->se_tpg; local 972 tfo->get_fabric_name(), tfo->tpg_get_wwn(se_tpg), 973 tfo->tpg_get_tag(se_tpg)); 1987 struct se_portal_group *se_tpg; local 3056 struct se_portal_group *se_tpg, *dest_se_tpg = NULL; local 3834 struct se_portal_group *se_tpg; local [all...] |
H A D | target_core_transport.c | 320 struct se_portal_group *se_tpg, 327 se_sess->se_tpg = se_tpg; 340 if (se_tpg->se_tpg_tfo->sess_get_initiator_sid != NULL) { 342 se_tpg->se_tpg_tfo->sess_get_initiator_sid(se_sess, 359 list_add_tail(&se_sess->sess_list, &se_tpg->tpg_sess_list); 362 se_tpg->se_tpg_tfo->get_fabric_name(), se_sess->fabric_sess_ptr); 367 struct se_portal_group *se_tpg, 374 spin_lock_irqsave(&se_tpg->session_lock, flags); 375 __transport_register_session(se_tpg, se_nac 319 __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 366 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 384 struct se_portal_group *se_tpg = se_sess->se_tpg; local 464 struct se_portal_group *se_tpg = se_sess->se_tpg; local 1359 struct se_portal_group *se_tpg; local 1527 struct se_portal_group *se_tpg; local [all...] |
H A D | target_core_ua.c | 173 nacl->se_tpg->se_tpg_tfo->get_fabric_name(), unpacked_lun, 258 nacl->se_tpg->se_tpg_tfo->get_fabric_name(), 315 " ASCQ: 0x%02x\n", nacl->se_tpg->se_tpg_tfo->get_fabric_name(),
|
H A D | target_core_tmr.c | 353 tmr_tpg = tmr->task_cmd->se_sess->se_tpg;
|
H A D | target_core_alua.c | 1263 struct se_portal_group *se_tpg = port->sep_tpg; local 1277 se_tpg->se_tpg_tfo->tpg_get_wwn(se_tpg)); 1279 if (se_tpg->se_tpg_tfo->tpg_get_tag != NULL) 1281 se_tpg->se_tpg_tfo->tpg_get_tag(se_tpg)); 1289 se_tpg->se_tpg_tfo->get_fabric_name(), wwn,
|
H A D | target_core_configfs.c | 1026 se_nacl->se_tpg->se_tpg_tfo->get_fabric_name(), 1040 se_nacl->se_tpg->se_tpg_tfo->get_fabric_name(), 1105 struct se_portal_group *se_tpg; local 1118 se_tpg = se_nacl->se_tpg; 1120 tfo = se_tpg->se_tpg_tfo; 1124 tfo->tpg_get_wwn(se_tpg)); 1128 tfo->get_fabric_name(), tfo->tpg_get_tag(se_tpg), 1156 tfo = pr_reg->pr_reg_nacl->se_tpg->se_tpg_tfo;
|
H A D | target_core_stat.c | 1094 tpg = nacl->se_tpg; 1143 tpg = nacl->se_tpg; 1460 tpg = nacl->se_tpg; 1509 tpg = nacl->se_tpg; 1534 tpg = nacl->se_tpg; 1583 tpg = nacl->se_tpg;
|
/drivers/scsi/qla2xxx/ |
H A D | tcm_qla2xxx.c | 194 static u8 tcm_qla2xxx_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 196 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, 197 struct tcm_qla2xxx_tpg, se_tpg); 204 proto_id = fc_get_fabric_proto_ident(se_tpg); 211 static char *tcm_qla2xxx_get_fabric_wwn(struct se_portal_group *se_tpg) argument 213 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, 214 struct tcm_qla2xxx_tpg, se_tpg); 220 static u16 tcm_qla2xxx_get_tag(struct se_portal_group *se_tpg) argument 222 struct tcm_qla2xxx_tpg *tpg = container_of(se_tpg, 223 struct tcm_qla2xxx_tpg, se_tpg); 227 tcm_qla2xxx_get_default_depth(struct se_portal_group *se_tpg) argument 232 tcm_qla2xxx_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 255 tcm_qla2xxx_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 277 tcm_qla2xxx_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 299 tcm_qla2xxx_check_demo_mode(struct se_portal_group *se_tpg) argument 307 tcm_qla2xxx_check_demo_mode_cache(struct se_portal_group *se_tpg) argument 315 tcm_qla2xxx_check_demo_write_protect(struct se_portal_group *se_tpg) argument 323 tcm_qla2xxx_check_prod_write_protect(struct se_portal_group *se_tpg) argument 331 tcm_qla2xxx_check_demo_mode_login_only(struct se_portal_group *se_tpg) argument 339 tcm_qla2xxx_alloc_fabric_acl( struct se_portal_group *se_tpg) argument 353 tcm_qla2xxx_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 362 tcm_qla2xxx_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 778 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 848 tcm_qla2xxx_make_nodeacl( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 889 struct se_portal_group *se_tpg = se_acl->se_tpg; local 998 tcm_qla2xxx_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 1013 struct se_portal_group *se_tpg = &base_tpg->se_tpg; local 1028 struct se_portal_group *se_tpg = &base_tpg->se_tpg; local 1039 tcm_qla2xxx_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1139 tcm_qla2xxx_drop_tpg(struct se_portal_group *se_tpg) argument 1160 tcm_qla2xxx_npiv_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 1167 tcm_qla2xxx_npiv_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1536 struct se_portal_group *se_tpg; local [all...] |
H A D | tcm_qla2xxx.h | 48 struct se_portal_group se_tpg; member in struct:tcm_qla2xxx_tpg
|
/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 356 ft_del_tpg(struct se_portal_group *se_tpg) argument 471 ft_get_fabric_wwn(struct se_portal_group *se_tpg) argument 478 ft_get_tag(struct se_portal_group *se_tpg) argument 489 ft_get_default_depth(struct se_portal_group *se_tpg) argument 494 ft_check_false(struct se_portal_group *se_tpg) argument 503 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
|
/drivers/target/loopback/ |
H A D | tcm_loop.c | 278 struct se_portal_group *se_tpg; local 297 se_tpg = &tl_tpg->tl_se_tpg; 302 transport_init_se_cmd(se_cmd, se_tpg->se_tpg_tfo, se_sess, 0, 606 static u8 tcm_loop_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 608 struct tcm_loop_tpg *tl_tpg = se_tpg->se_tpg_fabric_ptr; 619 return sas_get_fabric_proto_ident(se_tpg); 621 return fc_get_fabric_proto_ident(se_tpg); 623 return iscsi_get_fabric_proto_ident(se_tpg); 630 return sas_get_fabric_proto_ident(se_tpg); 633 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) argument 642 tcm_loop_get_tag(struct se_portal_group *se_tpg) argument 652 tcm_loop_get_default_depth(struct se_portal_group *se_tpg) argument 657 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 687 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 720 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 753 tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) argument 758 tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) argument 767 tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) argument 777 tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) argument 782 tcm_loop_tpg_alloc_fabric_acl( struct se_portal_group *se_tpg) argument 796 tcm_loop_tpg_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 806 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) argument 948 tcm_loop_port_link( struct se_portal_group *se_tpg, struct se_lun *lun) argument 966 tcm_loop_port_unlink( struct se_portal_group *se_tpg, struct se_lun *se_lun) argument 1003 struct se_portal_group *se_tpg; local 1094 tcm_loop_tpg_show_nexus( struct se_portal_group *se_tpg, char *page) argument 1113 tcm_loop_tpg_store_nexus( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1194 tcm_loop_tpg_show_transport_status( struct se_portal_group *se_tpg, char *page) argument 1220 tcm_loop_tpg_store_transport_status( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1294 tcm_loop_drop_naa_tpg( struct se_portal_group *se_tpg) argument [all...] |
/drivers/xen/ |
H A D | xen-scsiback.c | 181 struct se_portal_group se_tpg; member in struct:scsiback_tpg 612 transport_init_se_cmd(se_cmd, tpg->se_tpg.se_tpg_tfo, 897 spin_lock(&tpg_entry->se_tpg.tpg_lun_lock); 898 if (tpg_entry->se_tpg.tpg_lun_list[lun]->lun_status == 905 spin_unlock(&tpg_entry->se_tpg.tpg_lun_lock); 1257 static u8 scsiback_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 1259 struct scsiback_tpg *tpg = container_of(se_tpg, 1260 struct scsiback_tpg, se_tpg); 1265 return sas_get_fabric_proto_ident(se_tpg); 1267 return fc_get_fabric_proto_ident(se_tpg); 1279 scsiback_get_fabric_wwn(struct se_portal_group *se_tpg) argument 1288 scsiback_get_tag(struct se_portal_group *se_tpg) argument 1295 scsiback_get_default_depth(struct se_portal_group *se_tpg) argument 1301 scsiback_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 1332 scsiback_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 1362 scsiback_parse_pr_out_transport_id(struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 1458 scsiback_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 1464 scsiback_release_fabric_acl(struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 1470 scsiback_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 1581 scsiback_tpg_param_show_alias(struct se_portal_group *se_tpg, char *page) argument 1595 scsiback_tpg_param_store_alias(struct se_portal_group *se_tpg, const char *page, size_t count) argument 1627 struct se_portal_group *se_tpg; local 1731 scsiback_tpg_show_nexus(struct se_portal_group *se_tpg, char *page) argument 1752 scsiback_tpg_store_nexus(struct se_portal_group *se_tpg, const char *page, size_t count) argument 1855 scsiback_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) argument 1868 scsiback_port_unlink(struct se_portal_group *se_tpg, struct se_lun *lun) argument 1920 scsiback_drop_tpg(struct se_portal_group *se_tpg) argument 1939 scsiback_check_true(struct se_portal_group *se_tpg) argument 1944 scsiback_check_false(struct se_portal_group *se_tpg) argument [all...] |
/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 220 struct se_portal_group *se_tpg, 301 tpg = container_of(se_tpg, struct iscsi_portal_group, tpg_se_tpg); 308 config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), 340 struct se_portal_group *se_tpg; local 349 se_tpg = &tpg->tpg_se_tpg; 351 " PORTAL: %s:%hu\n", config_item_name(&se_tpg->se_tpg_wwn->wwn_group.cg_item), 788 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 789 struct iscsi_portal_group *tpg = container_of(se_tpg, 853 ret = core_tpg_set_initiator_node_tag(se_nacl->se_tpg, se_nac 219 lio_target_call_addnptotpg( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 869 lio_tpg_alloc_fabric_acl( struct se_portal_group *se_tpg) argument 883 lio_target_make_nodeacl( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 933 struct se_portal_group *se_tpg = se_nacl->se_tpg; local 1356 lio_target_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 1372 lio_target_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1477 lio_target_tiqn_deltpg(struct se_portal_group *se_tpg) argument 1829 lio_tpg_get_endpoint_wwn(struct se_portal_group *se_tpg) argument 1836 lio_tpg_get_tag(struct se_portal_group *se_tpg) argument 1843 lio_tpg_get_default_depth(struct se_portal_group *se_tpg) argument 1850 lio_tpg_check_demo_mode(struct se_portal_group *se_tpg) argument 1857 lio_tpg_check_demo_mode_cache(struct se_portal_group *se_tpg) argument 1864 lio_tpg_check_demo_mode_write_protect( struct se_portal_group *se_tpg) argument 1872 lio_tpg_check_prod_mode_write_protect( struct se_portal_group *se_tpg) argument 1880 lio_tpg_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_acl) argument 1929 lio_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 1940 struct se_portal_group *se_tpg = se_acl->se_tpg; local [all...] |
H A D | iscsi_target_login.c | 166 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 181 spin_lock_bh(&se_tpg->session_lock); 182 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, 206 spin_unlock_bh(&se_tpg->session_lock); 554 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 559 spin_lock_bh(&se_tpg->session_lock); 560 list_for_each_entry_safe(se_sess, se_sess_tmp, &se_tpg->tpg_sess_list, 576 spin_unlock_bh(&se_tpg->session_lock); 713 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 769 spin_lock_bh(&se_tpg 1174 struct se_portal_group *se_tpg = local [all...] |
H A D | iscsi_target_erl0.c | 757 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 759 spin_lock_bh(&se_tpg->session_lock); 761 spin_unlock_bh(&se_tpg->session_lock); 767 spin_unlock_bh(&se_tpg->session_lock); 789 spin_unlock_bh(&se_tpg->session_lock); 829 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; local 838 spin_unlock(&se_tpg->session_lock); 842 spin_lock(&se_tpg->session_lock);
|
/drivers/target/sbp/ |
H A D | sbp_target.c | 101 spin_lock_bh(&tpg->se_tpg.session_lock); 102 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { 107 spin_unlock_bh(&tpg->se_tpg.session_lock); 137 spin_lock_bh(&tpg->se_tpg.session_lock); 138 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { 151 spin_unlock_bh(&tpg->se_tpg.session_lock); 163 spin_lock_bh(&tpg->se_tpg.session_lock); 164 list_for_each_entry(se_sess, &tpg->se_tpg.tpg_sess_list, sess_list) { 174 spin_unlock_bh(&tpg->se_tpg.session_lock); 181 struct se_portal_group *se_tpg local 1682 sbp_check_true(struct se_portal_group *se_tpg) argument 1687 sbp_check_false(struct se_portal_group *se_tpg) argument 1697 sbp_get_fabric_wwn(struct se_portal_group *se_tpg) argument 1705 sbp_get_tag(struct se_portal_group *se_tpg) argument 1711 sbp_get_default_depth(struct se_portal_group *se_tpg) argument 1716 sbp_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 1729 sbp_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 1738 sbp_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 1866 sbp_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 1875 sbp_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 1902 sbp_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 1922 sbp_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 2104 sbp_make_nodeacl( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 2148 sbp_post_link_lun( struct se_portal_group *se_tpg, struct se_lun *se_lun) argument 2157 sbp_pre_unlink_lun( struct se_portal_group *se_tpg, struct se_lun *se_lun) argument 2234 sbp_drop_tpg(struct se_portal_group *se_tpg) argument 2290 sbp_tpg_show_directory_id( struct se_portal_group *se_tpg, char *page) argument 2303 sbp_tpg_store_directory_id( struct se_portal_group *se_tpg, const char *page, size_t count) argument 2331 sbp_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 2340 sbp_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument 2393 sbp_tpg_attrib_show_mgt_orb_timeout( struct se_portal_group *se_tpg, char *page) argument 2402 sbp_tpg_attrib_store_mgt_orb_timeout( struct se_portal_group *se_tpg, const char *page, size_t count) argument 2429 sbp_tpg_attrib_show_max_reconnect_timeout( struct se_portal_group *se_tpg, char *page) argument 2438 sbp_tpg_attrib_store_max_reconnect_timeout( struct se_portal_group *se_tpg, const char *page, size_t count) argument 2465 sbp_tpg_attrib_show_max_logins_per_lun( struct se_portal_group *se_tpg, char *page) argument 2474 sbp_tpg_attrib_store_max_logins_per_lun( struct se_portal_group *se_tpg, const char *page, size_t count) argument [all...] |
H A D | sbp_target.h | 169 struct se_portal_group se_tpg; member in struct:sbp_tpg
|
/drivers/vhost/ |
H A D | scsi.c | 142 struct se_portal_group se_tpg; member in struct:tcm_vhost_tpg 281 static int tcm_vhost_check_true(struct se_portal_group *se_tpg) argument 286 static int tcm_vhost_check_false(struct se_portal_group *se_tpg) argument 296 static u8 tcm_vhost_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 298 struct tcm_vhost_tpg *tpg = container_of(se_tpg, 299 struct tcm_vhost_tpg, se_tpg); 304 return sas_get_fabric_proto_ident(se_tpg); 306 return fc_get_fabric_proto_ident(se_tpg); 308 return iscsi_get_fabric_proto_ident(se_tpg); 315 return sas_get_fabric_proto_ident(se_tpg); 318 tcm_vhost_get_fabric_wwn(struct se_portal_group *se_tpg) argument 327 tcm_vhost_get_tag(struct se_portal_group *se_tpg) argument 334 tcm_vhost_get_default_depth(struct se_portal_group *se_tpg) argument 340 tcm_vhost_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 371 tcm_vhost_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 401 tcm_vhost_parse_pr_out_transport_id(struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 431 tcm_vhost_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 445 tcm_vhost_release_fabric_acl(struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 453 tcm_vhost_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 1315 struct se_portal_group *se_tpg; local 1420 struct se_portal_group *se_tpg; local 1749 tcm_vhost_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) argument 1768 tcm_vhost_port_unlink(struct se_portal_group *se_tpg, struct se_lun *lun) argument 1786 tcm_vhost_make_nodeacl(struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 1850 struct se_portal_group *se_tpg; local 1992 tcm_vhost_tpg_show_nexus(struct se_portal_group *se_tpg, char *page) argument 2013 tcm_vhost_tpg_store_nexus(struct se_portal_group *se_tpg, const char *page, size_t count) argument 2138 tcm_vhost_drop_tpg(struct se_portal_group *se_tpg) argument [all...] |
/drivers/usb/gadget/legacy/ |
H A D | tcm_usb_gadget.c | 1062 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, 1178 tv_nexus->tvn_se_sess->se_tpg->se_tpg_tfo, 1262 static int usbg_check_true(struct se_portal_group *se_tpg) argument 1267 static int usbg_check_false(struct se_portal_group *se_tpg) argument 1277 static u8 usbg_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 1279 struct usbg_tpg *tpg = container_of(se_tpg, 1280 struct usbg_tpg, se_tpg); 1287 proto_id = sas_get_fabric_proto_ident(se_tpg); 1294 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) argument 1296 struct usbg_tpg *tpg = container_of(se_tpg, 1303 usbg_get_tag(struct se_portal_group *se_tpg) argument 1310 usbg_get_default_depth(struct se_portal_group *se_tpg) argument 1315 usbg_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 1338 usbg_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 1360 usbg_parse_pr_out_transport_id( struct se_portal_group *se_tpg, const char *buf, u32 *out_tid_len, char **port_nexus_ptr) argument 1381 usbg_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 1392 usbg_release_fabric_acl( struct se_portal_group *se_tpg, struct se_node_acl *se_nacl) argument 1401 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) argument 1492 usbg_make_nodeacl( struct se_portal_group *se_tpg, struct config_group *group, const char *name) argument 1587 usbg_drop_tpg(struct se_portal_group *se_tpg) argument 1642 tcm_usbg_tpg_show_enable( struct se_portal_group *se_tpg, char *page) argument 1654 tcm_usbg_tpg_store_enable( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1687 tcm_usbg_tpg_show_nexus( struct se_portal_group *se_tpg, char *page) argument 1710 struct se_portal_group *se_tpg; local 1799 tcm_usbg_tpg_store_nexus( struct se_portal_group *se_tpg, const char *page, size_t count) argument 1841 usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) argument 1850 usbg_port_unlink(struct se_portal_group *se_tpg, struct se_lun *se_lun) argument [all...] |
H A D | tcm_usb_gadget.h | 49 struct se_portal_group se_tpg; member in struct:usbg_tpg
|
/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 3388 static int srpt_check_true(struct se_portal_group *se_tpg) argument 3393 static int srpt_check_false(struct se_portal_group *se_tpg) argument 3403 static u8 srpt_get_fabric_proto_ident(struct se_portal_group *se_tpg) argument 3420 static u32 srpt_get_default_depth(struct se_portal_group *se_tpg) argument 3425 static u32 srpt_get_pr_transport_id(struct se_portal_group *se_tpg, argument 3440 static u32 srpt_get_pr_transport_id_len(struct se_portal_group *se_tpg, argument 3449 static char *srpt_parse_pr_out_transport_id(struct se_portal_group *se_tpg, argument 3461 static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg) argument 3474 static void srpt_release_fabric_acl(struct se_portal_group *se_tpg, argument 3483 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...] |