Home
last modified time | relevance | path

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

12

/linux/include/target/
A 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 *);
58 u32 (*tpg_get_inst_index)(struct se_portal_group *);
93 void (*fabric_drop_tpg)(struct se_portal_group *);
94 int (*fabric_post_link)(struct se_portal_group *,
96 void (*fabric_pre_unlink)(struct se_portal_group *,
132 int (*callback)(struct se_portal_group *,
[all …]
A Dtarget_core_base.h576 struct se_portal_group *se_tpg;
626 struct se_portal_group *se_tpg;
755 struct se_portal_group *lun_tpg;
888 struct se_portal_group *tpg_np_parent;
898 struct se_portal_group { struct
931 static inline struct se_portal_group *to_tpg(struct config_item *item) in to_tpg() argument
933 return container_of(to_config_group(item), struct se_portal_group, in to_tpg()
939 return container_of(to_config_group(item), struct se_portal_group, in attrib_to_tpg()
943 static inline struct se_portal_group *auth_to_tpg(struct config_item *item) in auth_to_tpg()
945 return container_of(to_config_group(item), struct se_portal_group, in auth_to_tpg()
[all …]
/linux/drivers/target/
A Dtarget_core_internal.h66 struct se_portal_group *);
70 u64, bool, struct se_node_acl *, struct se_portal_group *);
72 struct se_node_acl *, struct se_portal_group *);
74 int core_dev_add_lun(struct se_portal_group *, struct se_device *,
76 void core_dev_del_lun(struct se_portal_group *, struct se_lun *);
79 int core_dev_add_initiator_node_lun_acl(struct se_portal_group *,
83 void core_dev_free_initiator_node_lun_acl(struct se_portal_group *,
127 struct se_lun *core_tpg_alloc_lun(struct se_portal_group *, u64);
128 int core_tpg_add_lun(struct se_portal_group *, struct se_lun *,
130 void core_tpg_remove_lun(struct se_portal_group *, struct se_lun *);
[all …]
A Dtarget_core_tpg.c40 struct se_portal_group *tpg, in __core_tpg_get_initiator_node_acl()
58 struct se_portal_group *tpg, in core_tpg_get_initiator_node_acl()
105 struct se_portal_group *tpg, in core_tpg_add_node_to_devs()
206 struct se_portal_group *tpg = acl->se_tpg; in target_add_node_acl()
242 struct se_portal_group *tpg, in core_tpg_check_initiator_node_acl()
289 struct se_portal_group *tpg, in core_tpg_add_initiator_node_acl()
419 struct se_portal_group *tpg, in core_tpg_set_initiator_node_tag()
445 struct se_portal_group *se_tpg, in core_tpg_register()
543 struct se_portal_group *tpg, in core_tpg_alloc_lun()
569 struct se_portal_group *tpg, in core_tpg_add_lun()
[all …]
A Dtarget_core_fabric_configfs.c73 struct se_portal_group *se_tpg; in target_fabric_mappedlun_link()
377 struct se_portal_group, tpg_acl_group); in target_fabric_make_nodeacl()
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()
645 struct se_portal_group, tpg_group); in target_fabric_port_link()
679 struct se_portal_group *se_tpg = lun->lun_tpg; in target_fabric_port_unlink()
745 struct se_portal_group, tpg_lun_group); in target_fabric_make_lun()
807 struct se_portal_group, tpg_group); in target_fabric_tpg_release()
828 struct se_portal_group *se_tpg = to_tpg(item); in target_fabric_tpg_base_enable_store()
898 struct se_portal_group *se_tpg; in target_fabric_make_tpg()
[all …]
A Dtarget_core_device.c215 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()
312 struct se_portal_group *tpg) in core_enable_device_list_for_node()
394 struct se_portal_group *tpg) in core_disable_device_list_for_node()
450 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg()
546 struct se_portal_group *tpg, in core_dev_add_lun()
586 struct se_portal_group *tpg, in core_dev_del_lun()
598 struct se_portal_group *tpg, in core_dev_init_initiator_node_lun_acl()
625 struct se_portal_group *tpg, in core_dev_add_initiator_node_lun_acl()
667 struct se_portal_group *tpg = lun->lun_tpg; in core_dev_del_initiator_node_lun_acl()
[all …]
A Dtarget_core_stat.c573 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()
857 struct se_portal_group *tpg; in target_stat_auth_inst_show()
902 struct se_portal_group *tpg; in target_stat_auth_port_show()
1197 struct se_portal_group *tpg; in target_stat_iport_inst_show()
1242 struct se_portal_group *tpg; in target_stat_iport_port_show()
1264 struct se_portal_group *tpg; in target_stat_iport_indx_show()
[all …]
A 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()
895 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve()
922 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration()
1002 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration()
1202 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg()
1474 struct se_portal_group *tpg, in core_scsi3_decode_spec_i_port()
1871 struct se_portal_group *tpg; in core_scsi3_update_aptpl_buf()
2052 struct se_portal_group *se_tpg; in core_scsi3_emulate_pro_register()
[all …]
A Dtarget_core_fabric_lib.c261 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()
A Dtarget_core_pr.h69 struct se_portal_group *, struct se_lun *,
A Dtarget_core_transport.c363 struct se_portal_group *se_tpg, in __transport_register_session()
426 struct se_portal_group *se_tpg, in transport_register_session()
440 target_setup_session(struct se_portal_group *tpg, in target_setup_session()
444 int (*callback)(struct se_portal_group *, in target_setup_session() argument
484 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions()
512 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl()
572 struct se_portal_group *se_tpg = se_nacl->se_tpg; in transport_free_session()
621 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session()
1639 struct se_portal_group *se_tpg; in target_init_cmd()
1949 struct se_portal_group *se_tpg; in target_submit_tmr()
/linux/drivers/target/loopback/
A Dtcm_loop.c464 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag()
622 struct se_portal_group *se_tpg, in tcm_loop_port_link()
640 struct se_portal_group *se_tpg, in tcm_loop_port_unlink()
673 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_show()
683 struct se_portal_group *se_tpg = attrib_to_tpg(item); in tcm_loop_tpg_attrib_fabric_prot_type_store()
788 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_show()
807 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_nexus_store()
882 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_show()
908 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_transport_status_store()
931 struct se_portal_group *se_tpg = to_tpg(item); in tcm_loop_tpg_address_show()
[all …]
A Dtcm_loop.h39 struct se_portal_group tl_se_tpg;
/linux/drivers/target/iscsi/
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()
625 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store()
722 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
738 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
902 struct se_portal_group *se_tpg = param_to_tpg(item); \
925 struct se_portal_group *se_tpg = param_to_tpg(item); \
1414 struct se_portal_group *se_tpg) in lio_tpg_check_demo_mode_write_protect()
1420 struct se_portal_group *se_tpg) in lio_tpg_check_prod_mode_write_protect()
1426 struct se_portal_group *se_tpg) in lio_tpg_check_prot_fabric_only()
[all …]
/linux/drivers/scsi/elx/efct/
A Defct_lio.c81 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()
900 static struct se_portal_group *
943 efct_lio_drop_tpg(struct se_portal_group *se_tpg) in efct_lio_drop_tpg()
957 static struct se_portal_group *
1005 efct_lio_npiv_drop_tpg(struct se_portal_group *se_tpg) in efct_lio_npiv_drop_tpg()
1179 struct se_portal_group *se_tpg; in efct_lio_setup_session()
1487 struct se_portal_group *se_tpg = to_tpg(item); \
[all …]
/linux/drivers/target/tcm_fc/
A 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()
A Dtcm_fc.h91 struct se_portal_group se_tpg;
/linux/drivers/scsi/qla2xxx/
A Dtcm_qla2xxx.c171 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()
451 struct se_portal_group *se_tpg; in tcm_qla2xxx_handle_cmd()
796 struct se_portal_group *se_tpg = se_nacl->se_tpg; in tcm_qla2xxx_clear_nacl_from_fcport_map()
860 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
870 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
918 static int tcm_qla2xxx_enable_tpg(struct se_portal_group *se_tpg, in tcm_qla2xxx_enable_tpg()
955 struct se_portal_group *se_tpg = to_tpg(item); in tcm_qla2xxx_tpg_fabric_prot_type_store()
977 struct se_portal_group *se_tpg = to_tpg(item); in tcm_qla2xxx_tpg_fabric_prot_type_show()
1040 static void tcm_qla2xxx_drop_tpg(struct se_portal_group *se_tpg) in tcm_qla2xxx_drop_tpg()
[all …]
A Dtcm_qla2xxx.h50 struct se_portal_group se_tpg;
/linux/drivers/target/sbp/
A Dsbp_target.c163 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg()
1689 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag()
1958 struct se_portal_group *se_tpg, in sbp_post_link_lun()
1967 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun()
2091 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_show()
2104 struct se_portal_group *se_tpg = to_tpg(item); in sbp_tpg_directory_id_store()
2170 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_mgt_orb_timeout_show()
2179 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_mgt_orb_timeout_store()
2205 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_max_reconnect_timeout_show()
2214 struct se_portal_group *se_tpg = attrib_to_tpg(item); in sbp_tpg_attrib_max_reconnect_timeout_store()
[all …]
/linux/drivers/xen/
A Dxen-scsiback.c174 struct se_portal_group se_tpg;
1274 static u16 scsiback_get_tag(struct se_portal_group *se_tpg) in scsiback_get_tag()
1425 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_show()
1440 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store()
1561 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_show()
1583 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store()
1677 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link()
1701 static struct se_portal_group *
1739 static void scsiback_drop_tpg(struct se_portal_group *se_tpg) in scsiback_drop_tpg()
1758 static int scsiback_check_true(struct se_portal_group *se_tpg) in scsiback_check_true()
[all …]
/linux/drivers/vhost/
A Dscsi.c125 struct se_portal_group se_tpg;
286 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true()
291 static int vhost_scsi_check_false(struct se_portal_group *se_tpg) in vhost_scsi_check_false()
305 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt()
1534 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint()
1661 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint()
2036 struct se_portal_group *se_tpg = attrib_to_tpg(item); in vhost_scsi_tpg_attrib_fabric_prot_type_store()
2058 struct se_portal_group *se_tpg = attrib_to_tpg(item); in vhost_scsi_tpg_attrib_fabric_prot_type_show()
2160 struct se_portal_group *se_tpg = to_tpg(item); in vhost_scsi_tpg_nexus_show()
2182 struct se_portal_group *se_tpg = to_tpg(item); in vhost_scsi_tpg_nexus_store()
[all …]
/linux/drivers/usb/gadget/function/
A Df_tcm.c1251 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true()
1256 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false()
1261 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn()
1270 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag()
1277 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index()
1336 static struct se_portal_group *usbg_make_tpg(struct se_wwn *wwn, in usbg_make_tpg()
1422 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg()
1520 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show()
1538 static int usbg_alloc_sess_cb(struct se_portal_group *se_tpg, in usbg_alloc_sess_cb()
1625 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_store()
[all …]
A Dtcm.h41 struct se_portal_group se_tpg;
/linux/drivers/infiniband/ulp/srpt/
A Dib_srpt.c3270 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true()
3304 static u16 srpt_get_tag(struct se_portal_group *tpg) in srpt_get_tag()
3453 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show()
3462 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store()
3490 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show()
3499 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store()
3527 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_show()
3536 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_store()
3564 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_use_srq_show()
3573 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_use_srq_store()
[all …]

Completed in 102 milliseconds

12