/Linux-v6.6/include/target/ |
D | target_core_fabric.h | 37 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 …]
|
D | target_core_base.h | 579 struct se_portal_group *se_tpg; 635 struct se_portal_group *se_tpg; 760 struct se_portal_group *lun_tpg; 908 struct se_portal_group *tpg_np_parent; 918 struct se_portal_group { struct 954 static inline struct se_portal_group *to_tpg(struct config_item *item) in to_tpg() argument 956 return container_of(to_config_group(item), struct se_portal_group, in to_tpg() 960 static inline struct se_portal_group *attrib_to_tpg(struct config_item *item) in attrib_to_tpg() 962 return container_of(to_config_group(item), struct se_portal_group, in attrib_to_tpg() 966 static inline struct se_portal_group *auth_to_tpg(struct config_item *item) in auth_to_tpg() [all …]
|
/Linux-v6.6/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 *, 106 const char *target_parse_pr_out_transport_id(struct se_portal_group *tpg, [all …]
|
D | target_core_tpg.c | 41 struct se_portal_group *tpg, in __core_tpg_get_initiator_node_acl() 59 struct se_portal_group *tpg, in core_tpg_get_initiator_node_acl() 106 struct se_portal_group *tpg, in core_tpg_add_node_to_devs() 157 target_set_nacl_queue_depth(struct se_portal_group *tpg, in target_set_nacl_queue_depth() 170 static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, in target_alloc_node_acl() 207 struct se_portal_group *tpg = acl->se_tpg; in target_add_node_acl() 223 bool target_tpg_has_node_acl(struct se_portal_group *tpg, in target_tpg_has_node_acl() 243 struct se_portal_group *tpg, in core_tpg_check_initiator_node_acl() 290 struct se_portal_group *tpg, in core_tpg_add_initiator_node_acl() 347 struct se_portal_group *tpg = acl->se_tpg; in core_tpg_del_initiator_node_acl() [all …]
|
D | target_core_fabric_configfs.c | 74 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link() 183 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store() 217 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release() 271 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun() 377 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl() 378 struct se_portal_group, tpg_acl_group); in target_fabric_make_nodeacl() 451 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release() 471 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np() 472 struct se_portal_group, tpg_np_group); in target_fabric_make_np() 627 struct se_portal_group *se_tpg; in target_fabric_port_link() [all …]
|
D | target_core_device.c | 215 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi() 241 struct se_portal_group *tpg) in core_free_device_list_for_node() 328 struct se_portal_group *tpg) in core_enable_device_list_for_node() 409 struct se_portal_group *tpg) in core_disable_device_list_for_node() 462 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg() 514 struct se_portal_group *tpg, in core_dev_add_lun() 554 struct se_portal_group *tpg, in core_dev_del_lun() 566 struct se_portal_group *tpg, in core_dev_init_initiator_node_lun_acl() 593 struct se_portal_group *tpg, in core_dev_add_initiator_node_lun_acl() 635 struct se_portal_group *tpg = lun->lun_tpg; in core_dev_del_initiator_node_lun_acl() [all …]
|
D | target_core_stat.c | 573 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_name_show() 591 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_port_index_show() 728 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_device_show() 747 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_indx_show() 764 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_dev_name_show() 787 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_proto_id_show() 857 struct se_portal_group *tpg; in target_stat_auth_inst_show() 901 struct se_portal_group *tpg; in target_stat_auth_port_show() 1196 struct se_portal_group *tpg; in target_stat_iport_inst_show() 1240 struct se_portal_group *tpg; in target_stat_iport_port_show() [all …]
|
D | target_core_fabric_lib.c | 261 struct se_portal_group *se_tpg, in iscsi_parse_pr_out_transport_id() 390 const char *target_parse_pr_out_transport_id(struct se_portal_group *tpg, in target_parse_pr_out_transport_id()
|
D | target_core_pr.h | 69 struct se_portal_group *, struct se_lun *,
|
D | target_core_pr.c | 37 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() 893 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve() 920 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration() 1000 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration() 1020 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration() 1200 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg() 1411 static int core_scsi3_tpg_depend_item(struct se_portal_group *tpg) in core_scsi3_tpg_depend_item() 1416 static void core_scsi3_tpg_undepend_item(struct se_portal_group *tpg) in core_scsi3_tpg_undepend_item() [all …]
|
/Linux-v6.6/drivers/target/tcm_remote/ |
D | tcm_remote.c | 20 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() 87 static struct se_portal_group *tcm_remote_make_tpg( in tcm_remote_make_tpg() 126 static void tcm_remote_drop_tpg(struct se_portal_group *se_tpg) in tcm_remote_drop_tpg()
|
D | tcm_remote.h | 11 struct se_portal_group remote_se_tpg;
|
/Linux-v6.6/drivers/target/loopback/ |
D | tcm_loop.c | 445 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg() 450 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn() 458 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag() 471 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode() 476 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only() 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() 643 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_store() 671 static int tcm_loop_alloc_sess_cb(struct se_portal_group *se_tpg, in tcm_loop_alloc_sess_cb() [all …]
|
D | tcm_loop.h | 39 struct se_portal_group tl_se_tpg;
|
/Linux-v6.6/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 155 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg() 252 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg() 651 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store() 746 struct se_portal_group *se_tpg = attrib_to_tpg(item); \ 761 struct se_portal_group *se_tpg = attrib_to_tpg(item); \ 820 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \ 832 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\ 879 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \ 919 struct se_portal_group *se_tpg = param_to_tpg(item); \ 941 struct se_portal_group *se_tpg = param_to_tpg(item); \ [all …]
|
/Linux-v6.6/drivers/scsi/elx/efct/ |
D | efct_lio.c | 81 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_tpg_enable_show() 92 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_tpg_enable_store() 139 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_npiv_tpg_enable_show() 150 struct se_portal_group *se_tpg = to_tpg(item); in efct_lio_npiv_tpg_enable_store() 212 static char *efct_lio_get_fabric_wwn(struct se_portal_group *se_tpg) in efct_lio_get_fabric_wwn() 220 static char *efct_lio_get_npiv_fabric_wwn(struct se_portal_group *se_tpg) in efct_lio_get_npiv_fabric_wwn() 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() 249 static int efct_lio_check_demo_mode_cache(struct se_portal_group *se_tpg) in efct_lio_check_demo_mode_cache() [all …]
|
/Linux-v6.6/drivers/target/tcm_fc/ |
D | tfc_conf.c | 218 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 u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index()
|
/Linux-v6.6/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 162 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() 441 struct se_portal_group *se_tpg; in tcm_qla2xxx_handle_cmd() [all …]
|
D | tcm_qla2xxx.h | 50 struct se_portal_group se_tpg;
|
/Linux-v6.6/drivers/target/sbp/ |
D | sbp_target.c | 163 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg() 1671 static int sbp_check_true(struct se_portal_group *se_tpg) in sbp_check_true() 1676 static char *sbp_get_fabric_wwn(struct se_portal_group *se_tpg) in sbp_get_fabric_wwn() 1684 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag() 1770 static int sbp_count_se_tpg_luns(struct se_portal_group *tpg) in sbp_count_se_tpg_luns() 1933 struct se_portal_group *se_tpg, in sbp_post_link_lun() 1942 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun() 1957 static struct se_portal_group *sbp_make_tpg(struct se_wwn *wwn, in sbp_make_tpg() 2012 static void sbp_drop_tpg(struct se_portal_group *se_tpg) in sbp_drop_tpg() 2066 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_show() [all …]
|
/Linux-v6.6/drivers/xen/ |
D | xen-scsiback.c | 174 struct se_portal_group se_tpg; 1328 static char *scsiback_get_fabric_wwn(struct se_portal_group *se_tpg) in scsiback_get_fabric_wwn() 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() 1484 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store() 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() 1627 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store() 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() [all …]
|
/Linux-v6.6/drivers/vhost/ |
D | scsi.c | 130 struct se_portal_group se_tpg; 297 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true() 302 static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_wwn() 311 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt() 318 static int vhost_scsi_check_prot_fabric_only(struct se_portal_group *se_tpg) in vhost_scsi_check_prot_fabric_only() 1662 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint() 1794 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint() 2170 static int vhost_scsi_port_link(struct se_portal_group *se_tpg, in vhost_scsi_port_link() 2184 static void vhost_scsi_port_unlink(struct se_portal_group *se_tpg, in vhost_scsi_port_unlink() 2199 struct se_portal_group *se_tpg = attrib_to_tpg(item); in vhost_scsi_tpg_attrib_fabric_prot_type_store() [all …]
|
/Linux-v6.6/drivers/usb/gadget/function/ |
D | tcm.h | 41 struct se_portal_group se_tpg;
|
D | f_tcm.c | 1251 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() 1312 static struct se_portal_group *usbg_make_tpg(struct se_wwn *wwn, in usbg_make_tpg() 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() 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() 1641 static int usbg_port_link(struct se_portal_group *se_tpg, struct se_lun *lun) in usbg_port_link() [all …]
|
/Linux-v6.6/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 3301 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true() 3306 static struct srpt_port *srpt_tpg_to_sport(struct se_portal_group *tpg) in srpt_tpg_to_sport() 3323 static char *srpt_get_fabric_wwn(struct se_portal_group *tpg) in srpt_get_fabric_wwn() 3330 static u16 srpt_get_tag(struct se_portal_group *tpg) in srpt_get_tag() 3456 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show() 3465 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store() 3493 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show() 3502 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store() 3530 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_show() 3539 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_store() [all …]
|