| /Linux-v4.19/include/target/ |
| D | target_core_fabric.h | 27 char *(*tpg_get_wwn)(struct se_portal_group *); 28 u16 (*tpg_get_tag)(struct se_portal_group *); 29 u32 (*tpg_get_default_depth)(struct se_portal_group *); 30 int (*tpg_check_demo_mode)(struct se_portal_group *); 31 int (*tpg_check_demo_mode_cache)(struct se_portal_group *); 32 int (*tpg_check_demo_mode_write_protect)(struct se_portal_group *); 33 int (*tpg_check_prod_mode_write_protect)(struct se_portal_group *); 39 int (*tpg_check_demo_mode_login_only)(struct se_portal_group *); 47 int (*tpg_check_prot_fabric_only)(struct se_portal_group *); 48 u32 (*tpg_get_inst_index)(struct se_portal_group *); [all …]
|
| D | target_core_base.h | 553 struct se_portal_group *se_tpg; 603 struct se_portal_group *se_tpg; 731 struct se_portal_group *lun_tpg; 848 struct se_portal_group *tpg_np_parent; 858 struct se_portal_group { struct 891 static inline struct se_portal_group *to_tpg(struct config_item *item) in to_tpg() argument 893 return container_of(to_config_group(item), struct se_portal_group, in to_tpg() 897 static inline struct se_portal_group *attrib_to_tpg(struct config_item *item) in attrib_to_tpg() 899 return container_of(to_config_group(item), struct se_portal_group, in attrib_to_tpg() 903 static inline struct se_portal_group *auth_to_tpg(struct config_item *item) in auth_to_tpg() [all …]
|
| /Linux-v4.19/drivers/target/ |
| D | target_core_internal.h | 65 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 …]
|
| D | target_core_tpg.c | 56 struct se_portal_group *tpg, in __core_tpg_get_initiator_node_acl() 74 struct se_portal_group *tpg, in core_tpg_get_initiator_node_acl() 121 struct se_portal_group *tpg, in core_tpg_add_node_to_devs() 172 target_set_nacl_queue_depth(struct se_portal_group *tpg, in target_set_nacl_queue_depth() 185 static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, in target_alloc_node_acl() 222 struct se_portal_group *tpg = acl->se_tpg; in target_add_node_acl() 238 bool target_tpg_has_node_acl(struct se_portal_group *tpg, in target_tpg_has_node_acl() 258 struct se_portal_group *tpg, in core_tpg_check_initiator_node_acl() 305 struct se_portal_group *tpg, in core_tpg_add_initiator_node_acl() 362 struct se_portal_group *tpg = acl->se_tpg; in core_tpg_del_initiator_node_acl() [all …]
|
| D | target_core_fabric_configfs.c | 81 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link() 190 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store() 224 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release() 278 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun() 384 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() 385 struct se_portal_group, tpg_acl_group); in target_fabric_make_nodeacl() 458 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release() 478 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np() 479 struct se_portal_group, tpg_np_group); in target_fabric_make_np() 634 struct se_portal_group *se_tpg; in target_fabric_port_link() [all …]
|
| D | target_core_device.c | 232 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi() 258 struct se_portal_group *tpg) in core_free_device_list_for_node() 329 struct se_portal_group *tpg) in core_enable_device_list_for_node() 414 struct se_portal_group *tpg) in core_disable_device_list_for_node() 467 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg() 563 struct se_portal_group *tpg, in core_dev_add_lun() 603 struct se_portal_group *tpg, in core_dev_del_lun() 615 struct se_portal_group *tpg, in core_dev_init_initiator_node_lun_acl() 642 struct se_portal_group *tpg, in core_dev_add_initiator_node_lun_acl() 684 struct se_portal_group *tpg = lun->lun_tpg; in core_dev_del_initiator_node_lun_acl() [all …]
|
| D | target_core_stat.c | 607 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_name_show() 625 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_port_index_show() 762 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_device_show() 781 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_indx_show() 798 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_dev_name_show() 821 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_proto_id_show() 891 struct se_portal_group *tpg; in target_stat_auth_inst_show() 936 struct se_portal_group *tpg; in target_stat_auth_port_show() 1231 struct se_portal_group *tpg; in target_stat_iport_inst_show() 1276 struct se_portal_group *tpg; in target_stat_iport_port_show() [all …]
|
| D | target_core_pr.h | 68 struct se_portal_group *, struct se_lun *,
|
| D | target_core_pr.c | 50 struct se_portal_group *dest_tpg; 208 struct se_portal_group *tpg; in target_scsi2_reservation_release() 254 struct se_portal_group *tpg; in target_scsi2_reservation_reserve() 902 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve() 930 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration() 1012 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration() 1032 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration() 1170 struct se_portal_group *tpg; in __core_scsi3_locate_pr_reg() 1224 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg() 1437 static int core_scsi3_tpg_depend_item(struct se_portal_group *tpg) in core_scsi3_tpg_depend_item() [all …]
|
| D | target_core_fabric_lib.c | 275 struct se_portal_group *se_tpg, in iscsi_parse_pr_out_transport_id() 407 const char *target_parse_pr_out_transport_id(struct se_portal_group *tpg, in target_parse_pr_out_transport_id()
|
| D | target_core_transport.c | 342 struct se_portal_group *se_tpg, in __transport_register_session() 405 struct se_portal_group *se_tpg, in transport_register_session() 419 target_setup_session(struct se_portal_group *tpg, in target_setup_session() 423 int (*callback)(struct se_portal_group *, in target_setup_session() argument 463 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions() 491 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl() 551 struct se_portal_group *se_tpg = se_nacl->se_tpg; in transport_free_session() 590 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session() 1521 struct se_portal_group *se_tpg; in target_submit_cmd_map_sgls() 1722 struct se_portal_group *se_tpg; in target_submit_tmr()
|
| /Linux-v4.19/drivers/target/loopback/ |
| D | tcm_loop.c | 468 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg() 473 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn() 481 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag() 494 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode() 499 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache() 508 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_write_protect() 518 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_prod_mode_write_protect() 523 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only() 530 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) in tcm_loop_get_inst_index() 652 struct se_portal_group *se_tpg, in tcm_loop_port_link() [all …]
|
| D | tcm_loop.h | 40 struct se_portal_group tl_se_tpg;
|
| /Linux-v4.19/drivers/target/iscsi/ |
| D | iscsi_target_configfs.c | 163 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg() 261 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg() 634 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store() 731 struct se_portal_group *se_tpg = attrib_to_tpg(item); \ 747 struct se_portal_group *se_tpg = attrib_to_tpg(item); \ 809 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \ 822 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\ 870 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \ 911 struct se_portal_group *se_tpg = param_to_tpg(item); \ 934 struct se_portal_group *se_tpg = param_to_tpg(item); \ [all …]
|
| /Linux-v4.19/drivers/target/tcm_fc/ |
| D | tfc_conf.c | 226 static struct se_portal_group *ft_add_tpg(struct se_wwn *wwn, const char *name) in ft_add_tpg() 282 static void ft_del_tpg(struct se_portal_group *se_tpg) in ft_del_tpg() 390 static inline struct ft_tpg *ft_tpg(struct se_portal_group *se_tpg) in ft_tpg() 400 static char *ft_get_fabric_wwn(struct se_portal_group *se_tpg) in ft_get_fabric_wwn() 405 static u16 ft_get_tag(struct se_portal_group *se_tpg) in ft_get_tag() 414 static int ft_check_false(struct se_portal_group *se_tpg) in ft_check_false() 423 static u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index()
|
| D | tcm_fc.h | 103 struct se_portal_group se_tpg;
|
| /Linux-v4.19/drivers/scsi/qla2xxx/ |
| D | tcm_qla2xxx.c | 186 static char *tcm_qla2xxx_get_fabric_wwn(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_fabric_wwn() 195 static u16 tcm_qla2xxx_get_tag(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_tag() 202 static int tcm_qla2xxx_check_demo_mode(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode() 210 static int tcm_qla2xxx_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_cache() 218 static int tcm_qla2xxx_check_demo_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_write_protect() 226 static int tcm_qla2xxx_check_prod_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prod_write_protect() 234 static int tcm_qla2xxx_check_demo_mode_login_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_login_only() 242 static int tcm_qla2xxx_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prot_fabric_only() 250 static u32 tcm_qla2xxx_tpg_get_inst_index(struct se_portal_group *se_tpg) in tcm_qla2xxx_tpg_get_inst_index() 461 struct se_portal_group *se_tpg; in tcm_qla2xxx_handle_cmd() [all …]
|
| D | tcm_qla2xxx.h | 50 struct se_portal_group se_tpg;
|
| /Linux-v4.19/drivers/target/sbp/ |
| D | sbp_target.c | 176 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg() 1687 static int sbp_check_true(struct se_portal_group *se_tpg) in sbp_check_true() 1692 static int sbp_check_false(struct se_portal_group *se_tpg) in sbp_check_false() 1702 static char *sbp_get_fabric_wwn(struct se_portal_group *se_tpg) in sbp_get_fabric_wwn() 1710 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag() 1716 static u32 sbp_tpg_get_inst_index(struct se_portal_group *se_tpg) in sbp_tpg_get_inst_index() 1821 static int sbp_count_se_tpg_luns(struct se_portal_group *tpg) in sbp_count_se_tpg_luns() 1984 struct se_portal_group *se_tpg, in sbp_post_link_lun() 1993 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun() 2008 static struct se_portal_group *sbp_make_tpg(struct se_wwn *wwn, in sbp_make_tpg() [all …]
|
| /Linux-v4.19/drivers/vhost/ |
| D | scsi.c | 134 struct se_portal_group se_tpg; 265 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true() 270 static int vhost_scsi_check_false(struct se_portal_group *se_tpg) in vhost_scsi_check_false() 280 static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_wwn() 289 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt() 296 static int vhost_scsi_check_prot_fabric_only(struct se_portal_group *se_tpg) in vhost_scsi_check_prot_fabric_only() 304 static u32 vhost_scsi_tpg_get_inst_index(struct se_portal_group *se_tpg) in vhost_scsi_tpg_get_inst_index() 1155 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint() 1259 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint() 1587 static int vhost_scsi_port_link(struct se_portal_group *se_tpg, in vhost_scsi_port_link() [all …]
|
| /Linux-v4.19/drivers/xen/ |
| D | xen-scsiback.c | 175 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() 1463 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_show() 1478 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store() 1505 static int scsiback_alloc_sess_cb(struct se_portal_group *se_tpg, in scsiback_alloc_sess_cb() 1599 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_show() 1621 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store() 1720 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link() [all …]
|
| /Linux-v4.19/drivers/infiniband/ulp/srpt/ |
| D | ib_srpt.h | 378 struct se_portal_group port_guid_tpg; 380 struct se_portal_group port_gid_tpg;
|
| D | ib_srpt.c | 3138 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true() 3143 static int srpt_check_false(struct se_portal_group *se_tpg) in srpt_check_false() 3153 static struct srpt_port *srpt_tpg_to_sport(struct se_portal_group *tpg) in srpt_tpg_to_sport() 3158 static char *srpt_get_fabric_wwn(struct se_portal_group *tpg) in srpt_get_fabric_wwn() 3168 static u16 srpt_get_tag(struct se_portal_group *tpg) in srpt_get_tag() 3173 static u32 srpt_tpg_get_inst_index(struct se_portal_group *se_tpg) in srpt_tpg_get_inst_index() 3313 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show() 3322 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store() 3350 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show() 3359 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store() [all …]
|
| /Linux-v4.19/drivers/usb/gadget/function/ |
| D | f_tcm.c | 1249 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() 1264 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn() 1273 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag() 1280 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index() 1347 static struct se_portal_group *usbg_make_tpg(struct se_wwn *wwn, in usbg_make_tpg() 1433 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg() 1511 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_show() 1523 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_store() 1549 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show() [all …]
|
| D | tcm.h | 41 struct se_portal_group se_tpg;
|