Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/target/
Dtarget_core_fabric.h37 char *(*tpg_get_wwn)(struct se_portal_group *);
38 u16 (*tpg_get_tag)(struct se_portal_group *);
39 u32 (*tpg_get_default_depth)(struct se_portal_group *);
40 int (*tpg_check_demo_mode)(struct se_portal_group *);
41 int (*tpg_check_demo_mode_cache)(struct se_portal_group *);
42 int (*tpg_check_demo_mode_write_protect)(struct se_portal_group *);
43 int (*tpg_check_prod_mode_write_protect)(struct se_portal_group *);
49 int (*tpg_check_demo_mode_login_only)(struct se_portal_group *);
57 int (*tpg_check_prot_fabric_only)(struct se_portal_group *);
58 u32 (*tpg_get_inst_index)(struct se_portal_group *);
[all …]
Dtarget_core_base.h561 struct se_portal_group *se_tpg;
611 struct se_portal_group *se_tpg;
740 struct se_portal_group *lun_tpg;
855 struct se_portal_group *tpg_np_parent;
865 struct se_portal_group { struct
898 static inline struct se_portal_group *to_tpg(struct config_item *item) in to_tpg() argument
900 return container_of(to_config_group(item), struct se_portal_group, in to_tpg()
904 static inline struct se_portal_group *attrib_to_tpg(struct config_item *item) in attrib_to_tpg()
906 return container_of(to_config_group(item), struct se_portal_group, in attrib_to_tpg()
910 static inline struct se_portal_group *auth_to_tpg(struct config_item *item) in auth_to_tpg()
[all …]
/Linux-v5.4/drivers/target/
Dtarget_core_internal.h65 struct se_portal_group *);
69 u64, bool, struct se_node_acl *, struct se_portal_group *);
71 struct se_node_acl *, struct se_portal_group *);
72 void core_clear_lun_from_tpg(struct se_lun *, struct se_portal_group *);
73 int core_dev_add_lun(struct se_portal_group *, struct se_device *,
75 void core_dev_del_lun(struct se_portal_group *, struct se_lun *);
76 struct se_lun_acl *core_dev_init_initiator_node_lun_acl(struct se_portal_group *,
78 int core_dev_add_initiator_node_lun_acl(struct se_portal_group *,
82 void core_dev_free_initiator_node_lun_acl(struct se_portal_group *,
105 const char *target_parse_pr_out_transport_id(struct se_portal_group *tpg,
[all …]
Dtarget_core_tpg.c43 struct se_portal_group *tpg, in __core_tpg_get_initiator_node_acl()
61 struct se_portal_group *tpg, in core_tpg_get_initiator_node_acl()
108 struct se_portal_group *tpg, in core_tpg_add_node_to_devs()
159 target_set_nacl_queue_depth(struct se_portal_group *tpg, in target_set_nacl_queue_depth()
172 static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, in target_alloc_node_acl()
209 struct se_portal_group *tpg = acl->se_tpg; in target_add_node_acl()
225 bool target_tpg_has_node_acl(struct se_portal_group *tpg, in target_tpg_has_node_acl()
245 struct se_portal_group *tpg, in core_tpg_check_initiator_node_acl()
292 struct se_portal_group *tpg, in core_tpg_add_initiator_node_acl()
349 struct se_portal_group *tpg = acl->se_tpg; in core_tpg_del_initiator_node_acl()
[all …]
Dtarget_core_fabric_configfs.c73 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link()
182 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store()
216 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release()
270 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun()
376 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
377 struct se_portal_group, tpg_acl_group); in target_fabric_make_nodeacl()
450 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release()
470 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np()
471 struct se_portal_group, tpg_np_group); in target_fabric_make_np()
626 struct se_portal_group *se_tpg; in target_fabric_port_link()
[all …]
Dtarget_core_device.c219 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi()
245 struct se_portal_group *tpg) in core_free_device_list_for_node()
316 struct se_portal_group *tpg) in core_enable_device_list_for_node()
398 struct se_portal_group *tpg) in core_disable_device_list_for_node()
454 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg()
550 struct se_portal_group *tpg, in core_dev_add_lun()
590 struct se_portal_group *tpg, in core_dev_del_lun()
602 struct se_portal_group *tpg, in core_dev_init_initiator_node_lun_acl()
629 struct se_portal_group *tpg, in core_dev_add_initiator_node_lun_acl()
671 struct se_portal_group *tpg = lun->lun_tpg; in core_dev_del_initiator_node_lun_acl()
[all …]
Dtarget_core_stat.c576 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_name_show()
594 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_port_index_show()
731 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_device_show()
750 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_indx_show()
767 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_dev_name_show()
790 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_proto_id_show()
860 struct se_portal_group *tpg; in target_stat_auth_inst_show()
905 struct se_portal_group *tpg; in target_stat_auth_port_show()
1200 struct se_portal_group *tpg; in target_stat_iport_inst_show()
1245 struct se_portal_group *tpg; in target_stat_iport_port_show()
[all …]
Dtarget_core_pr.h69 struct se_portal_group *, struct se_lun *,
Dtarget_core_pr.c37 struct se_portal_group *dest_tpg;
205 struct se_portal_group *tpg; in target_scsi2_reservation_release()
246 struct se_portal_group *tpg; in target_scsi2_reservation_reserve()
894 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve()
922 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration()
1004 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration()
1024 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration()
1162 struct se_portal_group *tpg; in __core_scsi3_locate_pr_reg()
1216 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg()
1428 static int core_scsi3_tpg_depend_item(struct se_portal_group *tpg) in core_scsi3_tpg_depend_item()
[all …]
Dtarget_core_fabric_lib.c262 struct se_portal_group *se_tpg, in iscsi_parse_pr_out_transport_id()
394 const char *target_parse_pr_out_transport_id(struct se_portal_group *tpg, in target_parse_pr_out_transport_id()
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()
417 target_setup_session(struct se_portal_group *tpg, in target_setup_session()
421 int (*callback)(struct se_portal_group *, in target_setup_session() argument
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()
549 struct se_portal_group *se_tpg = se_nacl->se_tpg; in transport_free_session()
589 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session()
1531 struct se_portal_group *se_tpg; in target_submit_cmd_map_sgls()
1731 struct se_portal_group *se_tpg; in target_submit_tmr()
/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 …]
Dtcm_loop.h40 struct se_portal_group tl_se_tpg;
/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()
626 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store()
723 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
739 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
801 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \
814 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\
862 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \
903 struct se_portal_group *se_tpg = param_to_tpg(item); \
926 struct se_portal_group *se_tpg = param_to_tpg(item); \
[all …]
/Linux-v5.4/drivers/target/tcm_fc/
Dtfc_conf.c218 static struct se_portal_group *ft_add_tpg(struct se_wwn *wwn, const char *name) in ft_add_tpg()
274 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()
Dtcm_fc.h91 struct se_portal_group se_tpg;
/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()
[all …]
Dtcm_qla2xxx.h50 struct se_portal_group se_tpg;
/Linux-v5.4/drivers/target/sbp/
Dsbp_target.c163 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg()
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()
1798 static int sbp_count_se_tpg_luns(struct se_portal_group *tpg) in sbp_count_se_tpg_luns()
1961 struct se_portal_group *se_tpg, in sbp_post_link_lun()
1970 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun()
1985 static struct se_portal_group *sbp_make_tpg(struct se_wwn *wwn, in sbp_make_tpg()
[all …]
/Linux-v5.4/drivers/vhost/
Dscsi.c140 struct se_portal_group se_tpg;
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()
1490 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint()
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;
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()
1473 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store()
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()
1616 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store()
1710 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link()
[all …]
/Linux-v5.4/drivers/infiniband/ulp/srpt/
Dib_srpt.h396 struct se_portal_group port_guid_tpg;
398 struct se_portal_group port_gid_tpg;
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()
3256 static struct srpt_port *srpt_tpg_to_sport(struct se_portal_group *tpg) in srpt_tpg_to_sport()
3261 static char *srpt_get_fabric_wwn(struct se_portal_group *tpg) in srpt_get_fabric_wwn()
3271 static u16 srpt_get_tag(struct se_portal_group *tpg) in srpt_get_tag()
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()
3429 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store()
3457 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show()
3466 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store()
[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()
1334 static struct se_portal_group *usbg_make_tpg(struct se_wwn *wwn, in usbg_make_tpg()
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()
1510 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_store()
1536 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show()
[all …]
Dtcm.h41 struct se_portal_group se_tpg;

12