Home
last modified time | relevance | path

Searched defs:se_tpg (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.4/drivers/target/loopback/
Dtcm_loop.c448 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg()
453 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn()
461 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag()
474 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode()
479 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache()
488 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_write_protect()
498 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_prod_mode_write_protect()
503 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only()
510 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) in tcm_loop_get_inst_index()
627 struct se_portal_group *se_tpg, in tcm_loop_port_link()
[all …]
/Linux-v5.4/drivers/target/iscsi/
Discsi_target_configfs.c155 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg()
253 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg() local
626 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store() local
1011 struct se_portal_group *se_tpg = to_tpg(item); in lio_target_tpg_enable_show() local
1027 struct se_portal_group *se_tpg = to_tpg(item); in lio_target_tpg_enable_store() local
1133 static void lio_target_tiqn_deltpg(struct se_portal_group *se_tpg) in lio_target_tiqn_deltpg()
1412 static inline struct iscsi_portal_group *iscsi_tpg(struct se_portal_group *se_tpg) in iscsi_tpg()
1417 static char *lio_tpg_get_endpoint_wwn(struct se_portal_group *se_tpg) in lio_tpg_get_endpoint_wwn()
1422 static u16 lio_tpg_get_tag(struct se_portal_group *se_tpg) in lio_tpg_get_tag()
1427 static u32 lio_tpg_get_default_depth(struct se_portal_group *se_tpg) in lio_tpg_get_default_depth()
[all …]
Discsi_target_login.c136 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement() local
477 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2() local
681 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler() local
1200 struct se_portal_group *se_tpg = in iscsi_target_login_sess_out() local
Discsi_target_erl0.c748 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_handle_time2retain_timeout() local
800 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_stop_time2retain_timer() local
Discsi_target.c4342 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_close_session() local
4666 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_release_sessions_for_tpg() local
/Linux-v5.4/drivers/target/
Dtarget_core_fabric_configfs.c73 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link() local
182 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store() local
216 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release() local
270 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun() local
376 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() local
450 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release() local
470 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np() local
626 struct se_portal_group *se_tpg; in target_fabric_port_link() local
679 struct se_portal_group *se_tpg = lun->lun_tpg; in target_fabric_port_unlink() local
744 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_lun() local
[all …]
Dtarget_core_transport.c340 struct se_portal_group *se_tpg, in __transport_register_session()
403 struct se_portal_group *se_tpg, in transport_register_session()
461 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions()
489 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl() local
549 struct se_portal_group *se_tpg = se_nacl->se_tpg; in transport_free_session() local
589 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session() local
1531 struct se_portal_group *se_tpg; in target_submit_cmd_map_sgls() local
1731 struct se_portal_group *se_tpg; in target_submit_tmr() local
Dtarget_core_tpg.c448 struct se_portal_group *se_tpg, in core_tpg_register()
511 int core_tpg_deregister(struct se_portal_group *se_tpg) in core_tpg_deregister()
Dtarget_core_fabric_lib.c262 struct se_portal_group *se_tpg, in iscsi_parse_pr_out_transport_id()
Dtarget_core_pr.c1024 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration() local
2051 struct se_portal_group *se_tpg; in core_scsi3_emulate_pro_register() local
3147 struct se_portal_group *se_tpg, *dest_se_tpg = NULL; in core_scsi3_emulate_pro_register_and_move() local
3881 struct se_portal_group *se_tpg; in core_scsi3_pri_read_full_status() local
Dtarget_core_alua.c1197 struct se_portal_group *se_tpg = lun->lun_tpg; in core_alua_update_tpg_secondary_metadata() local
/Linux-v5.4/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c162 static char *tcm_qla2xxx_get_fabric_wwn(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_fabric_wwn()
171 static u16 tcm_qla2xxx_get_tag(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_tag()
178 static int tcm_qla2xxx_check_demo_mode(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode()
186 static int tcm_qla2xxx_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_cache()
194 static int tcm_qla2xxx_check_demo_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_write_protect()
202 static int tcm_qla2xxx_check_prod_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prod_write_protect()
210 static int tcm_qla2xxx_check_demo_mode_login_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_login_only()
218 static int tcm_qla2xxx_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prot_fabric_only()
226 static u32 tcm_qla2xxx_tpg_get_inst_index(struct se_portal_group *se_tpg) in tcm_qla2xxx_tpg_get_inst_index()
425 struct se_portal_group *se_tpg; in tcm_qla2xxx_handle_cmd() local
[all …]
Dtcm_qla2xxx.h50 struct se_portal_group se_tpg; member
/Linux-v5.4/drivers/target/tcm_fc/
Dtfc_conf.c274 static void ft_del_tpg(struct se_portal_group *se_tpg) in ft_del_tpg()
382 static inline struct ft_tpg *ft_tpg(struct se_portal_group *se_tpg) in ft_tpg()
387 static char *ft_get_fabric_wwn(struct se_portal_group *se_tpg) in ft_get_fabric_wwn()
392 static u16 ft_get_tag(struct se_portal_group *se_tpg) in ft_get_tag()
401 static int ft_check_false(struct se_portal_group *se_tpg) in ft_check_false()
410 static u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index()
Dtfc_sess.c189 static int ft_sess_alloc_cb(struct se_portal_group *se_tpg, in ft_sess_alloc_cb()
210 struct se_portal_group *se_tpg = &tport->tpg->se_tpg; in ft_sess_create() local
Dtcm_fc.h91 struct se_portal_group se_tpg; member
/Linux-v5.4/drivers/target/sbp/
Dsbp_target.c163 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg() local
1674 static int sbp_check_true(struct se_portal_group *se_tpg) in sbp_check_true()
1679 static int sbp_check_false(struct se_portal_group *se_tpg) in sbp_check_false()
1684 static char *sbp_get_fabric_wwn(struct se_portal_group *se_tpg) in sbp_get_fabric_wwn()
1692 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag()
1698 static u32 sbp_tpg_get_inst_index(struct se_portal_group *se_tpg) in sbp_tpg_get_inst_index()
1961 struct se_portal_group *se_tpg, in sbp_post_link_lun()
1970 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun()
2040 static void sbp_drop_tpg(struct se_portal_group *se_tpg) in sbp_drop_tpg()
2094 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_show() local
[all …]
Dsbp_target.h161 struct se_portal_group se_tpg; member
/Linux-v5.4/drivers/vhost/
Dscsi.c140 struct se_portal_group se_tpg; member
284 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true()
289 static int vhost_scsi_check_false(struct se_portal_group *se_tpg) in vhost_scsi_check_false()
294 static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_wwn()
303 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt()
310 static int vhost_scsi_check_prot_fabric_only(struct se_portal_group *se_tpg) in vhost_scsi_check_prot_fabric_only()
318 static u32 vhost_scsi_tpg_get_inst_index(struct se_portal_group *se_tpg) in vhost_scsi_tpg_get_inst_index()
1387 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint() local
1490 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint() local
1819 static int vhost_scsi_port_link(struct se_portal_group *se_tpg, in vhost_scsi_port_link()
[all …]
/Linux-v5.4/drivers/xen/
Dxen-scsiback.c175 struct se_portal_group se_tpg; member
1297 static char *scsiback_get_fabric_wwn(struct se_portal_group *se_tpg) in scsiback_get_fabric_wwn()
1306 static u16 scsiback_get_tag(struct se_portal_group *se_tpg) in scsiback_get_tag()
1379 static u32 scsiback_tpg_get_inst_index(struct se_portal_group *se_tpg) in scsiback_tpg_get_inst_index()
1458 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_show() local
1473 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store() local
1500 static int scsiback_alloc_sess_cb(struct se_portal_group *se_tpg, in scsiback_alloc_sess_cb()
1594 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_show() local
1616 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store() local
1710 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link()
[all …]
/Linux-v5.4/drivers/usb/gadget/function/
Df_tcm.c1249 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true()
1254 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false()
1259 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn()
1268 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag()
1275 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index()
1420 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg()
1498 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_show() local
1510 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_store() local
1536 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show() local
1554 static int usbg_alloc_sess_cb(struct se_portal_group *se_tpg, in usbg_alloc_sess_cb()
[all …]
Dtcm.h41 struct se_portal_group se_tpg; member
/Linux-v5.4/drivers/infiniband/ulp/srpt/
Dib_srpt.c3246 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true()
3251 static int srpt_check_false(struct se_portal_group *se_tpg) in srpt_check_false()
3276 static u32 srpt_tpg_get_inst_index(struct se_portal_group *se_tpg) in srpt_tpg_get_inst_index()
3420 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show() local
3429 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store() local
3457 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show() local
3466 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store() local
3494 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_show() local
3503 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_store() local
3531 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_use_srq_show() local
[all …]
/Linux-v5.4/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.c3692 static char *ibmvscsis_get_fabric_wwn(struct se_portal_group *se_tpg) in ibmvscsis_get_fabric_wwn()
3700 static u16 ibmvscsis_get_tag(struct se_portal_group *se_tpg) in ibmvscsis_get_tag()
3708 static u32 ibmvscsis_get_default_depth(struct se_portal_group *se_tpg) in ibmvscsis_get_default_depth()
3713 static int ibmvscsis_check_true(struct se_portal_group *se_tpg) in ibmvscsis_check_true()
3718 static int ibmvscsis_check_false(struct se_portal_group *se_tpg) in ibmvscsis_check_false()
3723 static u32 ibmvscsis_tpg_get_inst_index(struct se_portal_group *se_tpg) in ibmvscsis_tpg_get_inst_index()
3936 static void ibmvscsis_drop_tpg(struct se_portal_group *se_tpg) in ibmvscsis_drop_tpg()
3970 struct se_portal_group *se_tpg = to_tpg(item); in ibmvscsis_tpg_enable_show() local
3981 struct se_portal_group *se_tpg = to_tpg(item); in ibmvscsis_tpg_enable_store() local
Dibmvscsi_tgt.h184 struct se_portal_group se_tpg; member

12