Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/target/tcm_remote/
H A Dtcm_remote.c20 static inline struct tcm_remote_tpg *remote_tpg(struct se_portal_group *se_tpg) in remote_tpg()
25 static char *tcm_remote_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_remote_get_endpoint_wwn()
33 static u16 tcm_remote_get_tag(struct se_portal_group *se_tpg) in tcm_remote_get_tag()
71 struct se_portal_group *se_tpg, in tcm_remote_port_link()
80 struct se_portal_group *se_tpg, in tcm_remote_port_unlink()
126 static void tcm_remote_drop_tpg(struct se_portal_group *se_tpg) in tcm_remote_drop_tpg()
/openbmc/linux/drivers/target/loopback/
H A Dtcm_loop.c458 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag()
582 struct se_portal_group *se_tpg, in tcm_loop_port_link()
600 struct se_portal_group *se_tpg, in tcm_loop_port_unlink()
633 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_show() local
643 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_store() local
748 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_show() local
767 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_store() local
842 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_show() local
868 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_store() local
891 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_address_show() local
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_fabric_configfs.c74 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
271 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun() local
377 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() local
471 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np() local
627 struct se_portal_group *se_tpg; in target_fabric_port_link() local
680 struct se_portal_group *se_tpg = lun->lun_tpg; in target_fabric_port_unlink() local
829 struct se_portal_group *se_tpg = to_tpg(item); in target_fabric_tpg_base_enable_store() local
849 struct se_portal_group *se_tpg = to_tpg(item); in target_fabric_tpg_base_rtpi_show() local
857 struct se_portal_group *se_tpg = to_tpg(item); in target_fabric_tpg_base_rtpi_store() local
[all …]
H A Dtarget_core_tpg.c443 static int target_tpg_register_rtpi(struct se_portal_group *se_tpg) in target_tpg_register_rtpi()
467 static void target_tpg_deregister_rtpi(struct se_portal_group *se_tpg) in target_tpg_deregister_rtpi()
473 int target_tpg_enable(struct se_portal_group *se_tpg) in target_tpg_enable()
492 int target_tpg_disable(struct se_portal_group *se_tpg) in target_tpg_disable()
508 struct se_portal_group *se_tpg, in core_tpg_register()
566 int core_tpg_deregister(struct se_portal_group *se_tpg) in core_tpg_deregister()
H A Dtarget_core_transport.c381 struct se_portal_group *se_tpg, in __transport_register_session()
444 struct se_portal_group *se_tpg, in transport_register_session()
516 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions()
544 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl() local
604 struct se_portal_group *se_tpg = se_nacl->se_tpg; in transport_free_session() local
654 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session() local
1671 struct se_portal_group *se_tpg; in target_init_cmd() local
1982 struct se_portal_group *se_tpg; in target_submit_tmr() local
H A Dtarget_core_fabric_lib.c261 struct se_portal_group *se_tpg, in iscsi_parse_pr_out_transport_id()
H A Dtarget_core_pr.c1020 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration() local
2041 struct se_portal_group *se_tpg; in core_scsi3_emulate_pro_register() local
3148 struct se_portal_group *se_tpg, *dest_se_tpg = NULL; in core_scsi3_emulate_pro_register_and_move() local
3928 struct se_portal_group *se_tpg; in core_scsi3_pri_read_full_status() local
H A Dtarget_core_configfs.c338 static int target_disable_feature(struct se_portal_group *se_tpg) in target_disable_feature()
343 static u32 target_default_get_inst_index(struct se_portal_group *se_tpg) in target_default_get_inst_index()
1866 struct se_portal_group *se_tpg; in target_pr_res_pr_holder_tg_port_show() local
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_configfs.c155 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg()
252 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg() local
651 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store() local
1118 static void lio_target_tiqn_deltpg(struct se_portal_group *se_tpg) in lio_target_tiqn_deltpg()
1438 static u16 lio_tpg_get_tag(struct se_portal_group *se_tpg) in lio_tpg_get_tag()
1459 struct se_portal_group *se_tpg) in lio_tpg_check_demo_mode_write_protect()
1465 struct se_portal_group *se_tpg) in lio_tpg_check_prod_mode_write_protect()
1471 struct se_portal_group *se_tpg) in lio_tpg_check_prot_fabric_only()
1489 struct se_portal_group *se_tpg = &sess->tpg->tpg_se_tpg; in lio_tpg_close_session() local
1514 static u32 lio_tpg_get_inst_index(struct se_portal_group *se_tpg) in lio_tpg_get_inst_index()
[all …]
H A Discsi_target_login.c137 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement() local
491 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2() local
696 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler() local
1155 struct se_portal_group *se_tpg = in iscsi_target_login_sess_out() local
H A 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
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_lio.c81 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_tpg_enable_show() local
92 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_tpg_enable_store() local
139 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_npiv_tpg_enable_show() local
150 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_npiv_tpg_enable_store() local
228 static u16 efct_lio_get_tag(struct se_portal_group *se_tpg) in efct_lio_get_tag()
236 static u16 efct_lio_get_npiv_tag(struct se_portal_group *se_tpg) in efct_lio_get_npiv_tag()
244 static int efct_lio_check_demo_mode(struct se_portal_group *se_tpg) in efct_lio_check_demo_mode()
926 efct_lio_drop_tpg(struct se_portal_group *se_tpg) in efct_lio_drop_tpg()
988 efct_lio_npiv_drop_tpg(struct se_portal_group *se_tpg) in efct_lio_npiv_drop_tpg()
1065 static int efct_session_cb(struct se_portal_group *se_tpg, in efct_session_cb()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A 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()
226 static u32 tcm_qla2xxx_tpg_get_inst_index(struct se_portal_group *se_tpg) in tcm_qla2xxx_tpg_get_inst_index()
441 struct se_portal_group *se_tpg; in tcm_qla2xxx_handle_cmd() local
786 struct se_portal_group *se_tpg = se_nacl->se_tpg; in tcm_qla2xxx_clear_nacl_from_fcport_map() local
908 static int tcm_qla2xxx_enable_tpg(struct se_portal_group *se_tpg, in tcm_qla2xxx_enable_tpg()
945 struct se_portal_group *se_tpg = to_tpg(item); in tcm_qla2xxx_tpg_fabric_prot_type_store() local
967 struct se_portal_group *se_tpg = to_tpg(item); in tcm_qla2xxx_tpg_fabric_prot_type_show() local
1030 static void tcm_qla2xxx_drop_tpg(struct se_portal_group *se_tpg) in tcm_qla2xxx_drop_tpg()
[all …]
H A Dtcm_qla2xxx.h50 struct se_portal_group se_tpg; member
/openbmc/linux/drivers/target/tcm_fc/
H A 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 u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index()
H A 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
H A Dtcm_fc.h91 struct se_portal_group se_tpg; member
/openbmc/linux/drivers/target/sbp/
H A Dsbp_target.c163 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg() local
1684 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag()
1933 struct se_portal_group *se_tpg, in sbp_post_link_lun()
1942 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun()
2066 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_show() local
2079 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_store() local
2145 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_mgt_orb_timeout_show() local
2154 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_mgt_orb_timeout_store() local
2180 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_max_reconnect_timeout_show() local
2189 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_max_reconnect_timeout_store() local
[all …]
/openbmc/linux/drivers/xen/
H A Dxen-scsiback.c174 struct se_portal_group se_tpg; member
1337 static u16 scsiback_get_tag(struct se_portal_group *se_tpg) in scsiback_get_tag()
1469 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_show() local
1484 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store() local
1511 static int scsiback_alloc_sess_cb(struct se_portal_group *se_tpg, in scsiback_alloc_sess_cb()
1605 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_show() local
1627 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store() local
1721 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link()
1734 static void scsiback_port_unlink(struct se_portal_group *se_tpg, in scsiback_port_unlink()
1783 static void scsiback_drop_tpg(struct se_portal_group *se_tpg) in scsiback_drop_tpg()
[all …]
/openbmc/linux/drivers/vhost/
H A Dscsi.c130 struct se_portal_group se_tpg; member
297 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true()
311 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt()
1662 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint() local
1794 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint() local
2170 static int vhost_scsi_port_link(struct se_portal_group *se_tpg, in vhost_scsi_port_link()
2199 struct se_portal_group *se_tpg = attrib_to_tpg(item); in vhost_scsi_tpg_attrib_fabric_prot_type_store() local
2221 struct se_portal_group *se_tpg = attrib_to_tpg(item); in vhost_scsi_tpg_attrib_fabric_prot_type_show() local
2323 struct se_portal_group *se_tpg = to_tpg(item); in vhost_scsi_tpg_nexus_show() local
2345 struct se_portal_group *se_tpg = to_tpg(item); in vhost_scsi_tpg_nexus_store() local
[all …]
/openbmc/linux/drivers/usb/gadget/function/
H A Df_tcm.c1251 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true()
1256 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn()
1265 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag()
1398 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg()
1477 static int usbg_enable_tpg(struct se_portal_group *se_tpg, bool enable) in usbg_enable_tpg()
1496 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show() local
1514 static int usbg_alloc_sess_cb(struct se_portal_group *se_tpg, in usbg_alloc_sess_cb()
1601 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_store() local
1641 static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) in usbg_port_link()
1650 static void usbg_port_unlink(struct se_portal_group *se_tpg, in usbg_port_unlink()
H A Dtcm.h41 struct se_portal_group se_tpg; member
/openbmc/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c3305 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true()
3460 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show() local
3469 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store() local
3497 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show() local
3506 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store() local
3534 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_show() local
3543 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_store() local
3571 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_use_srq_show() local
3580 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_use_srq_store() local
3715 static int srpt_enable_tpg(struct se_portal_group *se_tpg, bool enable) in srpt_enable_tpg()
/openbmc/linux/drivers/scsi/ibmvscsi_tgt/
H A Dibmvscsi_tgt.c3675 static char *ibmvscsis_get_fabric_wwn(struct se_portal_group *se_tpg) in ibmvscsis_get_fabric_wwn()
3683 static u16 ibmvscsis_get_tag(struct se_portal_group *se_tpg) in ibmvscsis_get_tag()
3691 static u32 ibmvscsis_get_default_depth(struct se_portal_group *se_tpg) in ibmvscsis_get_default_depth()
3696 static int ibmvscsis_check_true(struct se_portal_group *se_tpg) in ibmvscsis_check_true()
3893 static void ibmvscsis_drop_tpg(struct se_portal_group *se_tpg) in ibmvscsis_drop_tpg()
3925 static int ibmvscsis_enable_tpg(struct se_portal_group *se_tpg, bool enable) in ibmvscsis_enable_tpg()
H A Dibmvscsi_tgt.h184 struct se_portal_group se_tpg; member

12