Home
last modified time | relevance | path

Searched refs:se_portal_group (Results 1 – 36 of 36) sorted by relevance

/linux-4.1.27/include/target/
Dtarget_core_fabric.h8 u8 (*get_fabric_proto_ident)(struct se_portal_group *);
9 char *(*tpg_get_wwn)(struct se_portal_group *);
10 u16 (*tpg_get_tag)(struct se_portal_group *);
11 u32 (*tpg_get_default_depth)(struct se_portal_group *);
12 u32 (*tpg_get_pr_transport_id)(struct se_portal_group *,
16 u32 (*tpg_get_pr_transport_id_len)(struct se_portal_group *,
19 char *(*tpg_parse_pr_out_transport_id)(struct se_portal_group *,
21 int (*tpg_check_demo_mode)(struct se_portal_group *);
22 int (*tpg_check_demo_mode_cache)(struct se_portal_group *);
23 int (*tpg_check_demo_mode_write_protect)(struct se_portal_group *);
[all …]
Dtarget_core_fabric_configfs.h58 CONFIGFS_EATTR_STRUCT(target_fabric_tpg_attrib, se_portal_group);
65 CONFIGFS_EATTR_STRUCT(target_fabric_tpg_auth, se_portal_group);
77 CONFIGFS_EATTR_STRUCT(target_fabric_tpg_param, se_portal_group);
85 CONFIGFS_EATTR_STRUCT(target_fabric_tpg, se_portal_group);
Dtarget_core_base.h602 struct se_portal_group *se_tpg;
623 struct se_portal_group *se_tpg;
864 struct se_portal_group *sep_tpg;
870 struct se_portal_group *tpg_np_parent;
874 struct se_portal_group { struct
/linux-4.1.27/drivers/target/
Dtarget_core_internal.h13 struct se_portal_group *);
16 u32, u32, struct se_node_acl *, struct se_portal_group *);
18 u32, u32, struct se_node_acl *, struct se_portal_group *);
19 void core_clear_lun_from_tpg(struct se_lun *, struct se_portal_group *);
20 int core_dev_export(struct se_device *, struct se_portal_group *,
22 void core_dev_unexport(struct se_device *, struct se_portal_group *,
24 struct se_lun *core_dev_add_lun(struct se_portal_group *, struct se_device *, u32);
25 void core_dev_del_lun(struct se_portal_group *, struct se_lun *);
26 struct se_lun *core_get_lun_from_tpg(struct se_portal_group *, u32);
27 struct se_lun_acl *core_dev_init_initiator_node_lun_acl(struct se_portal_group *,
[all …]
Dtarget_core_fabric_lib.c45 u8 sas_get_fabric_proto_ident(struct se_portal_group *se_tpg) in sas_get_fabric_proto_ident()
56 struct se_portal_group *se_tpg, in sas_get_pr_transport_id()
87 struct se_portal_group *se_tpg, in sas_get_pr_transport_id_len()
108 struct se_portal_group *se_tpg, in sas_parse_pr_out_transport_id()
131 u8 fc_get_fabric_proto_ident(struct se_portal_group *se_tpg) in fc_get_fabric_proto_ident()
138 struct se_portal_group *se_tpg, in fc_get_pr_transport_id_len()
152 struct se_portal_group *se_tpg, in fc_get_pr_transport_id()
191 struct se_portal_group *se_tpg, in fc_parse_pr_out_transport_id()
212 u8 iscsi_get_fabric_proto_ident(struct se_portal_group *se_tpg) in iscsi_get_fabric_proto_ident()
223 struct se_portal_group *se_tpg, in iscsi_get_pr_transport_id()
[all …]
Dtarget_core_fabric_configfs.c84 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link()
159 struct se_portal_group *se_tpg; in target_fabric_mappedlun_unlink()
204 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_store_write_protect()
237 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release()
335 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun()
461 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_nacl_base_release()
498 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
499 struct se_portal_group, tpg_acl_group); in target_fabric_make_nodeacl()
575 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release()
597 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np()
[all …]
Dtarget_core_tpg.c56 struct se_portal_group *tpg) in core_clear_initiator_node_from_tpg()
91 struct se_portal_group *tpg, in __core_tpg_get_initiator_node_acl()
109 struct se_portal_group *tpg, in core_tpg_get_initiator_node_acl()
128 struct se_portal_group *tpg) in core_tpg_add_node_to_devs()
187 struct se_portal_group *tpg, in core_set_queue_depth_for_node()
262 struct se_portal_group *tpg, in core_tpg_check_initiator_node_acl()
332 void core_tpg_clear_object_luns(struct se_portal_group *tpg) in core_tpg_clear_object_luns()
358 struct se_portal_group *tpg, in core_tpg_add_initiator_node_acl()
450 struct se_portal_group *tpg, in core_tpg_del_initiator_node_acl()
514 struct se_portal_group *tpg, in core_tpg_set_initiator_node_queue_depth()
[all …]
Dtarget_core_device.c201 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi()
240 struct se_portal_group *tpg) in core_free_device_list_for_node()
306 struct se_portal_group *tpg) in core_enable_device_list_for_node()
383 struct se_portal_group *tpg) in core_disable_device_list_for_node()
431 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg()
515 struct se_portal_group *tpg, in core_export_port()
576 struct se_portal_group *tpg, in core_dev_export()
598 struct se_portal_group *tpg, in core_dev_unexport()
1187 struct se_portal_group *tpg, in core_dev_add_lun()
1234 struct se_portal_group *tpg, in core_dev_del_lun()
[all …]
Dtarget_core_pr.c50 struct se_portal_group *dest_tpg;
206 struct se_portal_group *tpg; in target_scsi2_reservation_release()
251 struct se_portal_group *tpg; in target_scsi2_reservation_reserve()
871 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve()
899 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration()
970 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration()
991 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration()
1111 struct se_portal_group *tpg; in __core_scsi3_locate_pr_reg()
1165 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg()
1371 static int core_scsi3_tpg_depend_item(struct se_portal_group *tpg) in core_scsi3_tpg_depend_item()
[all …]
Dtarget_core_pr.h62 struct se_portal_group *, struct se_lun *,
Dtarget_core_stat.c751 struct se_portal_group *tpg; in target_stat_scsi_tgt_port_show_attr_name()
774 struct se_portal_group *tpg; in target_stat_scsi_tgt_port_show_attr_port_index()
949 struct se_portal_group *tpg; in target_stat_scsi_transport_show_attr_device()
972 struct se_portal_group *tpg; in target_stat_scsi_transport_show_attr_indx()
995 struct se_portal_group *tpg; in target_stat_scsi_transport_show_attr_dev_name()
1085 struct se_portal_group *tpg; in target_stat_scsi_auth_intr_show_attr_inst()
1134 struct se_portal_group *tpg; in target_stat_scsi_auth_intr_show_attr_port()
1451 struct se_portal_group *tpg; in target_stat_scsi_att_intr_port_show_attr_inst()
1500 struct se_portal_group *tpg; in target_stat_scsi_att_intr_port_show_attr_port()
1524 struct se_portal_group *tpg; in target_stat_scsi_att_intr_port_show_attr_indx()
[all …]
Dtarget_core_transport.c320 struct se_portal_group *se_tpg, in __transport_register_session()
383 struct se_portal_group *se_tpg, in transport_register_session()
400 struct se_portal_group *se_tpg = se_sess->se_tpg; in target_release_session()
413 struct se_portal_group *tpg = se_sess->se_tpg; in target_put_session()
423 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions()
504 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session()
1398 struct se_portal_group *se_tpg; in target_submit_cmd_map_sgls()
1566 struct se_portal_group *se_tpg; in target_submit_tmr()
Dtarget_core_tmr.c405 struct se_portal_group *tmr_tpg = NULL; in core_tmr_lun_reset()
Dtarget_core_xcopy.c353 static struct se_portal_group xcopy_pt_tpg;
454 memset(&xcopy_pt_tpg, 0, sizeof(struct se_portal_group)); in target_xcopy_setup_pt()
Dtarget_core_spc.c185 struct se_portal_group *tpg = NULL; in spc_emulate_evpd_83()
701 struct se_portal_group *tpg = cmd->se_lun->lun_sep->sep_tpg; in spc_emulate_inquiry()
Dtarget_core_alua.c1263 struct se_portal_group *se_tpg = port->sep_tpg; in core_alua_update_tpg_secondary_metadata()
2016 struct se_portal_group *tpg; in core_alua_store_tg_pt_gp_info()
Dtarget_core_configfs.c866 struct se_portal_group *se_tpg; in target_core_dev_pr_show_attr_res_pr_holder_tg_port()
2343 struct se_portal_group *tpg; in target_core_alua_tg_pt_gp_show_attr_members()
/linux-4.1.27/drivers/target/loopback/
Dtcm_loop.c224 struct se_portal_group *se_tpg; in tcm_loop_issue_tmr()
523 static u8 tcm_loop_get_fabric_proto_ident(struct se_portal_group *se_tpg) in tcm_loop_get_fabric_proto_ident()
550 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn()
559 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag()
569 static u32 tcm_loop_get_default_depth(struct se_portal_group *se_tpg) in tcm_loop_get_default_depth()
575 struct se_portal_group *se_tpg, in tcm_loop_get_pr_transport_id()
605 struct se_portal_group *se_tpg, in tcm_loop_get_pr_transport_id_len()
638 struct se_portal_group *se_tpg, in tcm_loop_parse_pr_out_transport_id()
670 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode()
675 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache()
[all …]
Dtcm_loop.h48 struct se_portal_group tl_se_tpg;
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_conf.c202 struct se_portal_group *se_tpg, in ft_add_acl()
229 struct se_portal_group *se_tpg = se_acl->se_tpg; in ft_del_acl()
249 struct se_portal_group *se_tpg = &tpg->se_tpg; in ft_acl_get()
270 static struct se_node_acl *ft_tpg_alloc_fabric_acl(struct se_portal_group *se_tpg) in ft_tpg_alloc_fabric_acl()
283 static void ft_tpg_release_fabric_acl(struct se_portal_group *se_tpg, in ft_tpg_release_fabric_acl()
296 static struct se_portal_group *ft_add_tpg( in ft_add_tpg()
356 static void ft_del_tpg(struct se_portal_group *se_tpg) in ft_del_tpg()
471 static char *ft_get_fabric_wwn(struct se_portal_group *se_tpg) in ft_get_fabric_wwn()
478 static u16 ft_get_tag(struct se_portal_group *se_tpg) in ft_get_tag()
489 static u32 ft_get_default_depth(struct se_portal_group *se_tpg) in ft_get_default_depth()
[all …]
Dtcm_fc.h100 struct se_portal_group se_tpg;
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_configfs.c217 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg()
337 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg()
782 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_store_cmdsn_depth()
864 struct se_portal_group *se_tpg) in lio_tpg_alloc_fabric_acl()
878 struct se_portal_group *se_tpg, in lio_target_make_nodeacl()
927 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_drop_nodeacl()
953 struct se_portal_group *se_tpg, \
969 struct se_portal_group *se_tpg, \
1080 struct se_portal_group *se_tpg, \
1094 struct se_portal_group *se_tpg, \
[all …]
Discsi_target_login.c166 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement()
553 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2()
758 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler()
1222 struct se_portal_group *se_tpg = in iscsi_target_login_sess_out()
Discsi_target_erl0.c756 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_handle_time2retain_timeout()
828 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_stop_time2retain_timer()
Discsi_target.c4491 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_close_session()
4812 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_release_sessions_for_tpg()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c193 static u8 tcm_qla2xxx_get_fabric_proto_ident(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_fabric_proto_ident()
210 static char *tcm_qla2xxx_get_fabric_wwn(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_fabric_wwn()
219 static u16 tcm_qla2xxx_get_tag(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_tag()
226 static u32 tcm_qla2xxx_get_default_depth(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_default_depth()
232 struct se_portal_group *se_tpg, in tcm_qla2xxx_get_pr_transport_id()
255 struct se_portal_group *se_tpg, in tcm_qla2xxx_get_pr_transport_id_len()
277 struct se_portal_group *se_tpg, in tcm_qla2xxx_parse_pr_out_transport_id()
298 static int tcm_qla2xxx_check_demo_mode(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode()
306 static int tcm_qla2xxx_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_cache()
314 static int tcm_qla2xxx_check_demo_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_write_protect()
[all …]
Dtcm_qla2xxx.h49 struct se_portal_group se_tpg;
/linux-4.1.27/drivers/target/sbp/
Dsbp_target.c180 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg()
1681 static int sbp_check_true(struct se_portal_group *se_tpg) in sbp_check_true()
1686 static int sbp_check_false(struct se_portal_group *se_tpg) in sbp_check_false()
1696 static char *sbp_get_fabric_wwn(struct se_portal_group *se_tpg) in sbp_get_fabric_wwn()
1704 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag()
1710 static u32 sbp_get_default_depth(struct se_portal_group *se_tpg) in sbp_get_default_depth()
1715 static struct se_node_acl *sbp_alloc_fabric_acl(struct se_portal_group *se_tpg) in sbp_alloc_fabric_acl()
1729 struct se_portal_group *se_tpg, in sbp_release_fabric_acl()
1737 static u32 sbp_tpg_get_inst_index(struct se_portal_group *se_tpg) in sbp_tpg_get_inst_index()
1865 static u8 sbp_get_fabric_proto_ident(struct se_portal_group *se_tpg) in sbp_get_fabric_proto_ident()
[all …]
Dsbp_target.h169 struct se_portal_group se_tpg;
/linux-4.1.27/drivers/vhost/
Dscsi.c145 struct se_portal_group se_tpg;
285 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true()
290 static int vhost_scsi_check_false(struct se_portal_group *se_tpg) in vhost_scsi_check_false()
300 static u8 vhost_scsi_get_fabric_proto_ident(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_proto_ident()
322 static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_wwn()
331 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt()
338 static u32 vhost_scsi_get_default_depth(struct se_portal_group *se_tpg) in vhost_scsi_get_default_depth()
344 vhost_scsi_get_pr_transport_id(struct se_portal_group *se_tpg, in vhost_scsi_get_pr_transport_id()
375 vhost_scsi_get_pr_transport_id_len(struct se_portal_group *se_tpg, in vhost_scsi_get_pr_transport_id_len()
405 vhost_scsi_parse_pr_out_transport_id(struct se_portal_group *se_tpg, in vhost_scsi_parse_pr_out_transport_id()
[all …]
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c181 struct se_portal_group se_tpg;
1257 static u8 scsiback_get_fabric_proto_ident(struct se_portal_group *se_tpg) in scsiback_get_fabric_proto_ident()
1279 static char *scsiback_get_fabric_wwn(struct se_portal_group *se_tpg) in scsiback_get_fabric_wwn()
1288 static u16 scsiback_get_tag(struct se_portal_group *se_tpg) in scsiback_get_tag()
1295 static u32 scsiback_get_default_depth(struct se_portal_group *se_tpg) in scsiback_get_default_depth()
1301 scsiback_get_pr_transport_id(struct se_portal_group *se_tpg, in scsiback_get_pr_transport_id()
1332 scsiback_get_pr_transport_id_len(struct se_portal_group *se_tpg, in scsiback_get_pr_transport_id_len()
1362 scsiback_parse_pr_out_transport_id(struct se_portal_group *se_tpg, in scsiback_parse_pr_out_transport_id()
1458 scsiback_alloc_fabric_acl(struct se_portal_group *se_tpg) in scsiback_alloc_fabric_acl()
1464 scsiback_release_fabric_acl(struct se_portal_group *se_tpg, in scsiback_release_fabric_acl()
[all …]
/linux-4.1.27/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c1262 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true()
1267 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false()
1277 static u8 usbg_get_fabric_proto_ident(struct se_portal_group *se_tpg) in usbg_get_fabric_proto_ident()
1294 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn()
1303 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag()
1310 static u32 usbg_get_default_depth(struct se_portal_group *se_tpg) in usbg_get_default_depth()
1316 struct se_portal_group *se_tpg, in usbg_get_pr_transport_id()
1339 struct se_portal_group *se_tpg, in usbg_get_pr_transport_id_len()
1361 struct se_portal_group *se_tpg, in usbg_parse_pr_out_transport_id()
1381 static struct se_node_acl *usbg_alloc_fabric_acl(struct se_portal_group *se_tpg) in usbg_alloc_fabric_acl()
[all …]
Dtcm_usb_gadget.h49 struct se_portal_group se_tpg;
/linux-4.1.27/drivers/infiniband/ulp/srpt/
Dib_srpt.c3325 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true()
3330 static int srpt_check_false(struct se_portal_group *se_tpg) in srpt_check_false()
3340 static u8 srpt_get_fabric_proto_ident(struct se_portal_group *se_tpg) in srpt_get_fabric_proto_ident()
3345 static char *srpt_get_fabric_wwn(struct se_portal_group *tpg) in srpt_get_fabric_wwn()
3352 static u16 srpt_get_tag(struct se_portal_group *tpg) in srpt_get_tag()
3357 static u32 srpt_get_default_depth(struct se_portal_group *se_tpg) in srpt_get_default_depth()
3362 static u32 srpt_get_pr_transport_id(struct se_portal_group *se_tpg, in srpt_get_pr_transport_id()
3377 static u32 srpt_get_pr_transport_id_len(struct se_portal_group *se_tpg, in srpt_get_pr_transport_id_len()
3386 static char *srpt_parse_pr_out_transport_id(struct se_portal_group *se_tpg, in srpt_parse_pr_out_transport_id()
3398 static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg) in srpt_alloc_fabric_acl()
[all …]
Dib_srpt.h370 struct se_portal_group port_tpg_1;
/linux-4.1.27/include/target/iscsi/
Discsi_target_core.h832 struct se_portal_group tpg_se_tpg;