/linux-4.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 221 struct se_portal_group *se_tpg; in tcm_loop_issue_tmr() local 519 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg() 524 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn() 532 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag() 545 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode() 550 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache() 559 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_write_protect() 569 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_prod_mode_write_protect() 574 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only() 581 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) in tcm_loop_get_inst_index() [all …]
|
/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 201 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg() 321 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg() local 694 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store() local 1107 struct se_portal_group *se_tpg = to_tpg(item); in lio_target_tpg_enable_show() local 1123 struct se_portal_group *se_tpg = to_tpg(item); in lio_target_tpg_enable_store() local 1230 static void lio_target_tiqn_deltpg(struct se_portal_group *se_tpg) in lio_target_tiqn_deltpg() 1541 static inline struct iscsi_portal_group *iscsi_tpg(struct se_portal_group *se_tpg) in iscsi_tpg() 1546 static char *lio_tpg_get_endpoint_wwn(struct se_portal_group *se_tpg) in lio_tpg_get_endpoint_wwn() 1551 static u16 lio_tpg_get_tag(struct se_portal_group *se_tpg) in lio_tpg_get_tag() 1556 static u32 lio_tpg_get_default_depth(struct se_portal_group *se_tpg) in lio_tpg_get_default_depth() [all …]
|
D | iscsi_target_login.c | 166 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement() local 498 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2() local 703 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler() local 1164 struct se_portal_group *se_tpg = in iscsi_target_login_sess_out() local
|
D | iscsi_target_erl0.c | 756 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_handle_time2retain_timeout() local 828 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_stop_time2retain_timer() local
|
D | iscsi_target.c | 4470 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_close_session() local 4791 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_release_sessions_for_tpg() local
|
/linux-4.4.14/drivers/target/ |
D | target_core_fabric_configfs.c | 79 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link() local 183 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store() local 219 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release() local 273 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun() local 423 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() local 500 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release() local 520 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np() local 676 struct se_portal_group *se_tpg; in target_fabric_port_link() local 729 struct se_portal_group *se_tpg = lun->lun_tpg; in target_fabric_port_unlink() local 795 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_lun() local [all …]
|
D | target_core_tpg.c | 507 struct se_portal_group *se_tpg, in core_tpg_register() 570 int core_tpg_deregister(struct se_portal_group *se_tpg) in core_tpg_deregister()
|
D | target_core_transport.c | 302 struct se_portal_group *se_tpg, in __transport_register_session() 365 struct se_portal_group *se_tpg, in transport_register_session() 382 struct se_portal_group *se_tpg = se_sess->se_tpg; in target_release_session() local 399 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions() 477 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session() local 1415 struct se_portal_group *se_tpg; in target_submit_cmd_map_sgls() local 1586 struct se_portal_group *se_tpg; in target_submit_tmr() local
|
D | target_core_fabric_lib.c | 275 struct se_portal_group *se_tpg, in iscsi_parse_pr_out_transport_id()
|
D | target_core_pr.c | 1027 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration() local 2066 struct se_portal_group *se_tpg; in core_scsi3_emulate_pro_register() local 3164 struct se_portal_group *se_tpg, *dest_se_tpg = NULL; in core_scsi3_emulate_pro_register_and_move() local 3936 struct se_portal_group *se_tpg; in core_scsi3_pri_read_full_status() local
|
D | target_core_alua.c | 1249 struct se_portal_group *se_tpg = lun->lun_tpg; in core_alua_update_tpg_secondary_metadata() local
|
D | target_core_configfs.c | 1329 struct se_portal_group *se_tpg; in target_pr_res_pr_holder_tg_port_show() local
|
/linux-4.4.14/drivers/target/tcm_fc/ |
D | tfc_conf.c | 205 struct se_portal_group *se_tpg = &tpg->se_tpg; in ft_acl_get() local 288 static void ft_del_tpg(struct se_portal_group *se_tpg) in ft_del_tpg() 396 static inline struct ft_tpg *ft_tpg(struct se_portal_group *se_tpg) in ft_tpg() 406 static char *ft_get_fabric_wwn(struct se_portal_group *se_tpg) in ft_get_fabric_wwn() 411 static u16 ft_get_tag(struct se_portal_group *se_tpg) in ft_get_tag() 420 static int ft_check_false(struct se_portal_group *se_tpg) in ft_check_false() 429 static u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index()
|
D | tcm_fc.h | 100 struct se_portal_group se_tpg; member
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 188 static char *tcm_qla2xxx_get_fabric_wwn(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_fabric_wwn() 197 static u16 tcm_qla2xxx_get_tag(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_tag() 204 static int tcm_qla2xxx_check_demo_mode(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode() 212 static int tcm_qla2xxx_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_cache() 220 static int tcm_qla2xxx_check_demo_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_write_protect() 228 static int tcm_qla2xxx_check_prod_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prod_write_protect() 236 static int tcm_qla2xxx_check_demo_mode_login_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_login_only() 244 static int tcm_qla2xxx_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prot_fabric_only() 252 static u32 tcm_qla2xxx_tpg_get_inst_index(struct se_portal_group *se_tpg) in tcm_qla2xxx_tpg_get_inst_index() 651 struct se_portal_group *se_tpg = se_nacl->se_tpg; in tcm_qla2xxx_clear_nacl_from_fcport_map() local [all …]
|
D | tcm_qla2xxx.h | 49 struct se_portal_group se_tpg; member
|
/linux-4.4.14/drivers/target/sbp/ |
D | sbp_target.c | 177 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg() local 1679 static int sbp_check_true(struct se_portal_group *se_tpg) in sbp_check_true() 1684 static int sbp_check_false(struct se_portal_group *se_tpg) in sbp_check_false() 1694 static char *sbp_get_fabric_wwn(struct se_portal_group *se_tpg) in sbp_get_fabric_wwn() 1702 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag() 1708 static u32 sbp_tpg_get_inst_index(struct se_portal_group *se_tpg) in sbp_tpg_get_inst_index() 1987 struct se_portal_group *se_tpg, in sbp_post_link_lun() 1996 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun() 2070 static void sbp_drop_tpg(struct se_portal_group *se_tpg) in sbp_drop_tpg() 2126 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_show() local [all …]
|
D | sbp_target.h | 160 struct se_portal_group se_tpg; member
|
/linux-4.4.14/drivers/vhost/ |
D | scsi.c | 135 struct se_portal_group se_tpg; member 272 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true() 277 static int vhost_scsi_check_false(struct se_portal_group *se_tpg) in vhost_scsi_check_false() 287 static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_wwn() 296 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt() 303 static int vhost_scsi_check_prot_fabric_only(struct se_portal_group *se_tpg) in vhost_scsi_check_prot_fabric_only() 311 static u32 vhost_scsi_tpg_get_inst_index(struct se_portal_group *se_tpg) in vhost_scsi_tpg_get_inst_index() 1199 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint() local 1303 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint() local 1631 static int vhost_scsi_port_link(struct se_portal_group *se_tpg, in vhost_scsi_port_link() [all …]
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 1258 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true() 1263 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false() 1273 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn() 1282 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag() 1289 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index() 1426 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg() 1482 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_show() local 1494 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_store() local 1524 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show() local 1544 struct se_portal_group *se_tpg; in tcm_usbg_make_nexus() local [all …]
|
D | tcm_usb_gadget.h | 39 struct se_portal_group se_tpg; member
|
/linux-4.4.14/drivers/xen/ |
D | xen-scsiback.c | 176 struct se_portal_group se_tpg; member 1255 static char *scsiback_get_fabric_wwn(struct se_portal_group *se_tpg) in scsiback_get_fabric_wwn() 1264 static u16 scsiback_get_tag(struct se_portal_group *se_tpg) in scsiback_get_tag() 1337 static u32 scsiback_tpg_get_inst_index(struct se_portal_group *se_tpg) in scsiback_tpg_get_inst_index() 1443 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_show() local 1458 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store() local 1488 struct se_portal_group *se_tpg; in scsiback_make_nexus() local 1591 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_show() local 1613 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store() local 1712 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link() [all …]
|
/linux-4.4.14/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3310 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true() 3315 static int srpt_check_false(struct se_portal_group *se_tpg) in srpt_check_false() 3337 static u32 srpt_tpg_get_inst_index(struct se_portal_group *se_tpg) in srpt_tpg_get_inst_index() 3493 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show() local 3502 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store() local 3530 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show() local 3539 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store() local 3567 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_show() local 3576 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_store() local 3614 struct se_portal_group *se_tpg = to_tpg(item); in srpt_tpg_enable_show() local [all …]
|
/linux-4.4.14/include/target/ |
D | target_core_base.h | 554 struct se_portal_group *se_tpg; member 605 struct se_portal_group *se_tpg; member
|