Home
last modified time | relevance | path

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

/linux-4.4.14/include/target/
Dtarget_core_fabric.h22 char *(*tpg_get_wwn)(struct se_portal_group *);
23 u16 (*tpg_get_tag)(struct se_portal_group *);
24 u32 (*tpg_get_default_depth)(struct se_portal_group *);
25 int (*tpg_check_demo_mode)(struct se_portal_group *);
26 int (*tpg_check_demo_mode_cache)(struct se_portal_group *);
27 int (*tpg_check_demo_mode_write_protect)(struct se_portal_group *);
28 int (*tpg_check_prod_mode_write_protect)(struct se_portal_group *);
34 int (*tpg_check_demo_mode_login_only)(struct se_portal_group *);
42 int (*tpg_check_prot_fabric_only)(struct se_portal_group *);
43 u32 (*tpg_get_inst_index)(struct se_portal_group *);
[all …]
Dtarget_core_base.h554 struct se_portal_group *se_tpg;
605 struct se_portal_group *se_tpg;
735 struct se_portal_group *lun_tpg;
853 struct se_portal_group *tpg_np_parent;
863 struct se_portal_group { struct
899 static inline struct se_portal_group *to_tpg(struct config_item *item) in to_tpg() argument
901 return container_of(to_config_group(item), struct se_portal_group, in to_tpg()
905 static inline struct se_portal_group *attrib_to_tpg(struct config_item *item) in attrib_to_tpg()
907 return container_of(to_config_group(item), struct se_portal_group, in attrib_to_tpg()
911 static inline struct se_portal_group *auth_to_tpg(struct config_item *item) in auth_to_tpg()
[all …]
/linux-4.4.14/drivers/target/
Dtarget_core_internal.h62 struct se_portal_group *);
66 u64, u32, struct se_node_acl *, struct se_portal_group *);
68 struct se_node_acl *, struct se_portal_group *);
69 void core_clear_lun_from_tpg(struct se_lun *, struct se_portal_group *);
70 int core_dev_add_lun(struct se_portal_group *, struct se_device *,
72 void core_dev_del_lun(struct se_portal_group *, struct se_lun *);
73 struct se_lun_acl *core_dev_init_initiator_node_lun_acl(struct se_portal_group *,
75 int core_dev_add_initiator_node_lun_acl(struct se_portal_group *,
79 void core_dev_free_initiator_node_lun_acl(struct se_portal_group *,
99 const char *target_parse_pr_out_transport_id(struct se_portal_group *tpg,
[all …]
Dtarget_core_tpg.c56 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()
109 struct se_portal_group *tpg, in core_tpg_add_node_to_devs()
165 struct se_portal_group *tpg, in core_set_queue_depth_for_node()
178 static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, in target_alloc_node_acl()
218 struct se_portal_group *tpg = acl->se_tpg; in target_add_node_acl()
236 struct se_portal_group *tpg, in core_tpg_check_initiator_node_acl()
274 struct se_portal_group *tpg, in core_tpg_add_initiator_node_acl()
310 struct se_portal_group *tpg = acl->se_tpg; in core_tpg_del_initiator_node_acl()
369 struct se_portal_group *tpg, in core_tpg_set_initiator_node_queue_depth()
[all …]
Dtarget_core_fabric_configfs.c79 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()
219 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; in target_fabric_mappedlun_release()
273 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun()
423 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_nodeacl()
424 struct se_portal_group, tpg_acl_group); in target_fabric_make_nodeacl()
500 struct se_portal_group *se_tpg = se_tpg_np->tpg_np_parent; in target_fabric_np_base_release()
520 struct se_portal_group *se_tpg = container_of(group, in target_fabric_make_np()
521 struct se_portal_group, tpg_np_group); in target_fabric_make_np()
676 struct se_portal_group *se_tpg; in target_fabric_port_link()
[all …]
Dtarget_core_device.c220 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi()
246 struct se_portal_group *tpg) in core_free_device_list_for_node()
324 struct se_portal_group *tpg) in core_enable_device_list_for_node()
406 struct se_portal_group *tpg) in core_disable_device_list_for_node()
459 void core_clear_lun_from_tpg(struct se_lun *lun, struct se_portal_group *tpg) in core_clear_lun_from_tpg()
555 struct se_portal_group *tpg, in core_dev_add_lun()
596 struct se_portal_group *tpg, in core_dev_del_lun()
608 struct se_portal_group *tpg, in core_dev_init_initiator_node_lun_acl()
635 struct se_portal_group *tpg, in core_dev_add_initiator_node_lun_acl()
678 struct se_portal_group *tpg = lun->lun_tpg; in core_dev_del_initiator_node_lun_acl()
[all …]
Dtarget_core_stat.c588 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_name_show()
606 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_tgt_port_port_index_show()
743 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_device_show()
762 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_indx_show()
779 struct se_portal_group *tpg = lun->lun_tpg; in target_stat_transport_dev_name_show()
853 struct se_portal_group *tpg; in target_stat_auth_inst_show()
898 struct se_portal_group *tpg; in target_stat_auth_port_show()
1193 struct se_portal_group *tpg; in target_stat_iport_inst_show()
1238 struct se_portal_group *tpg; in target_stat_iport_port_show()
1260 struct se_portal_group *tpg; in target_stat_iport_indx_show()
[all …]
Dtarget_core_pr.h62 struct se_portal_group *, struct se_lun *,
Dtarget_core_pr.c48 struct se_portal_group *dest_tpg;
204 struct se_portal_group *tpg; in target_scsi2_reservation_release()
250 struct se_portal_group *tpg; in target_scsi2_reservation_reserve()
897 struct se_portal_group *tpg, in core_scsi3_aptpl_reserve()
925 struct se_portal_group *tpg, in __core_scsi3_check_aptpl_registration()
1007 struct se_portal_group *tpg, in core_scsi3_check_aptpl_registration()
1027 struct se_portal_group *se_tpg = nacl->se_tpg; in __core_scsi3_dump_registration()
1165 struct se_portal_group *tpg; in __core_scsi3_locate_pr_reg()
1219 struct se_portal_group *tpg = nacl->se_tpg; in core_scsi3_locate_pr_reg()
1432 static int core_scsi3_tpg_depend_item(struct se_portal_group *tpg) in core_scsi3_tpg_depend_item()
[all …]
Dtarget_core_fabric_lib.c275 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()
Dtarget_core_transport.c302 struct se_portal_group *se_tpg, in __transport_register_session()
365 struct se_portal_group *se_tpg, in transport_register_session()
382 struct se_portal_group *se_tpg = se_sess->se_tpg; in target_release_session()
399 ssize_t target_show_dynamic_sessions(struct se_portal_group *se_tpg, char *page) in target_show_dynamic_sessions()
477 struct se_portal_group *se_tpg = se_sess->se_tpg; in transport_deregister_session()
1415 struct se_portal_group *se_tpg; in target_submit_cmd_map_sgls()
1586 struct se_portal_group *se_tpg; in target_submit_tmr()
Dtarget_core_tmr.c400 struct se_portal_group *tmr_tpg = NULL; in core_tmr_lun_reset()
Dtarget_core_xcopy.c350 struct se_portal_group xcopy_pt_tpg;
440 memset(&xcopy_pt_tpg, 0, sizeof(struct se_portal_group)); in target_xcopy_setup_pt()
Dtarget_core_spc.c178 struct se_portal_group *tpg = NULL; in spc_emulate_evpd_83()
696 struct se_portal_group *tpg = cmd->se_lun->lun_tpg; in spc_emulate_inquiry()
Dtarget_core_alua.c1249 struct se_portal_group *se_tpg = lun->lun_tpg; in core_alua_update_tpg_secondary_metadata()
1963 struct se_portal_group *tpg = lun->lun_tpg; in core_alua_store_tg_pt_gp_info()
Dtarget_core_configfs.c1329 struct se_portal_group *se_tpg; in target_pr_res_pr_holder_tg_port_show()
2597 struct se_portal_group *tpg = lun->lun_tpg; in target_tg_pt_gp_members_show()
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c221 struct se_portal_group *se_tpg; in tcm_loop_issue_tmr()
519 static inline struct tcm_loop_tpg *tl_tpg(struct se_portal_group *se_tpg) in tl_tpg()
524 static char *tcm_loop_get_endpoint_wwn(struct se_portal_group *se_tpg) in tcm_loop_get_endpoint_wwn()
532 static u16 tcm_loop_get_tag(struct se_portal_group *se_tpg) in tcm_loop_get_tag()
545 static int tcm_loop_check_demo_mode(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode()
550 static int tcm_loop_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_cache()
559 static int tcm_loop_check_demo_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_demo_mode_write_protect()
569 static int tcm_loop_check_prod_mode_write_protect(struct se_portal_group *se_tpg) in tcm_loop_check_prod_mode_write_protect()
574 static int tcm_loop_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_loop_check_prot_fabric_only()
581 static u32 tcm_loop_get_inst_index(struct se_portal_group *se_tpg) in tcm_loop_get_inst_index()
[all …]
Dtcm_loop.h39 struct se_portal_group tl_se_tpg;
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_configfs.c201 struct se_portal_group *se_tpg, in lio_target_call_addnptotpg()
321 struct se_portal_group *se_tpg; in lio_target_call_delnpfromtpg()
694 struct se_portal_group *se_tpg = se_nacl->se_tpg; in lio_target_nacl_cmdsn_depth_store()
821 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
837 struct se_portal_group *se_tpg = attrib_to_tpg(item); \
897 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \
910 static ssize_t __iscsi_##prefix##_##name##_store(struct se_portal_group *se_tpg,\
958 static ssize_t __iscsi_##prefix##_##name##_show(struct se_portal_group *se_tpg, \
999 struct se_portal_group *se_tpg = param_to_tpg(item); \
1022 struct se_portal_group *se_tpg = param_to_tpg(item); \
[all …]
Discsi_target_login.c166 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_check_for_session_reinstatement()
498 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_login_non_zero_tsih_s2()
703 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsi_post_login_handler()
1164 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.c4470 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_close_session()
4791 struct se_portal_group *se_tpg = &tpg->tpg_se_tpg; in iscsit_release_sessions_for_tpg()
/linux-4.4.14/drivers/target/tcm_fc/
Dtfc_conf.c205 struct se_portal_group *se_tpg = &tpg->se_tpg; in ft_acl_get()
229 static struct se_portal_group *ft_add_tpg( in ft_add_tpg()
288 static void ft_del_tpg(struct se_portal_group *se_tpg) in ft_del_tpg()
396 static inline struct ft_tpg *ft_tpg(struct se_portal_group *se_tpg) in ft_tpg()
406 static char *ft_get_fabric_wwn(struct se_portal_group *se_tpg) in ft_get_fabric_wwn()
411 static u16 ft_get_tag(struct se_portal_group *se_tpg) in ft_get_tag()
420 static int ft_check_false(struct se_portal_group *se_tpg) in ft_check_false()
429 static u32 ft_tpg_get_inst_index(struct se_portal_group *se_tpg) in ft_tpg_get_inst_index()
Dtcm_fc.h100 struct se_portal_group se_tpg;
/linux-4.4.14/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c188 static char *tcm_qla2xxx_get_fabric_wwn(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_fabric_wwn()
197 static u16 tcm_qla2xxx_get_tag(struct se_portal_group *se_tpg) in tcm_qla2xxx_get_tag()
204 static int tcm_qla2xxx_check_demo_mode(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode()
212 static int tcm_qla2xxx_check_demo_mode_cache(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_cache()
220 static int tcm_qla2xxx_check_demo_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_write_protect()
228 static int tcm_qla2xxx_check_prod_write_protect(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prod_write_protect()
236 static int tcm_qla2xxx_check_demo_mode_login_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_demo_mode_login_only()
244 static int tcm_qla2xxx_check_prot_fabric_only(struct se_portal_group *se_tpg) in tcm_qla2xxx_check_prot_fabric_only()
252 static u32 tcm_qla2xxx_tpg_get_inst_index(struct se_portal_group *se_tpg) in tcm_qla2xxx_tpg_get_inst_index()
651 struct se_portal_group *se_tpg = se_nacl->se_tpg; in tcm_qla2xxx_clear_nacl_from_fcport_map()
[all …]
Dtcm_qla2xxx.h49 struct se_portal_group se_tpg;
/linux-4.4.14/drivers/target/sbp/
Dsbp_target.c177 struct se_portal_group *se_tpg = &tpg->se_tpg; in sbp_get_lun_from_tpg()
1679 static int sbp_check_true(struct se_portal_group *se_tpg) in sbp_check_true()
1684 static int sbp_check_false(struct se_portal_group *se_tpg) in sbp_check_false()
1694 static char *sbp_get_fabric_wwn(struct se_portal_group *se_tpg) in sbp_get_fabric_wwn()
1702 static u16 sbp_get_tag(struct se_portal_group *se_tpg) in sbp_get_tag()
1708 static u32 sbp_tpg_get_inst_index(struct se_portal_group *se_tpg) in sbp_tpg_get_inst_index()
1824 static int sbp_count_se_tpg_luns(struct se_portal_group *tpg) in sbp_count_se_tpg_luns()
1987 struct se_portal_group *se_tpg, in sbp_post_link_lun()
1996 struct se_portal_group *se_tpg, in sbp_pre_unlink_lun()
2011 static struct se_portal_group *sbp_make_tpg( in sbp_make_tpg()
[all …]
Dsbp_target.h160 struct se_portal_group se_tpg;
/linux-4.4.14/drivers/vhost/
Dscsi.c135 struct se_portal_group se_tpg;
272 static int vhost_scsi_check_true(struct se_portal_group *se_tpg) in vhost_scsi_check_true()
277 static int vhost_scsi_check_false(struct se_portal_group *se_tpg) in vhost_scsi_check_false()
287 static char *vhost_scsi_get_fabric_wwn(struct se_portal_group *se_tpg) in vhost_scsi_get_fabric_wwn()
296 static u16 vhost_scsi_get_tpgt(struct se_portal_group *se_tpg) in vhost_scsi_get_tpgt()
303 static int vhost_scsi_check_prot_fabric_only(struct se_portal_group *se_tpg) in vhost_scsi_check_prot_fabric_only()
311 static u32 vhost_scsi_tpg_get_inst_index(struct se_portal_group *se_tpg) in vhost_scsi_tpg_get_inst_index()
1199 struct se_portal_group *se_tpg; in vhost_scsi_set_endpoint()
1303 struct se_portal_group *se_tpg; in vhost_scsi_clear_endpoint()
1631 static int vhost_scsi_port_link(struct se_portal_group *se_tpg, in vhost_scsi_port_link()
[all …]
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c176 struct se_portal_group se_tpg;
1255 static char *scsiback_get_fabric_wwn(struct se_portal_group *se_tpg) in scsiback_get_fabric_wwn()
1264 static u16 scsiback_get_tag(struct se_portal_group *se_tpg) in scsiback_get_tag()
1337 static u32 scsiback_tpg_get_inst_index(struct se_portal_group *se_tpg) in scsiback_tpg_get_inst_index()
1443 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_show()
1458 struct se_portal_group *se_tpg = param_to_tpg(item); in scsiback_tpg_param_alias_store()
1488 struct se_portal_group *se_tpg; in scsiback_make_nexus()
1591 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_show()
1613 struct se_portal_group *se_tpg = to_tpg(item); in scsiback_tpg_nexus_store()
1712 static int scsiback_port_link(struct se_portal_group *se_tpg, in scsiback_port_link()
[all …]
/linux-4.4.14/drivers/usb/gadget/legacy/
Dtcm_usb_gadget.c1258 static int usbg_check_true(struct se_portal_group *se_tpg) in usbg_check_true()
1263 static int usbg_check_false(struct se_portal_group *se_tpg) in usbg_check_false()
1273 static char *usbg_get_fabric_wwn(struct se_portal_group *se_tpg) in usbg_get_fabric_wwn()
1282 static u16 usbg_get_tag(struct se_portal_group *se_tpg) in usbg_get_tag()
1289 static u32 usbg_tpg_get_inst_index(struct se_portal_group *se_tpg) in usbg_tpg_get_inst_index()
1377 static struct se_portal_group *usbg_make_tpg( in usbg_make_tpg()
1426 static void usbg_drop_tpg(struct se_portal_group *se_tpg) in usbg_drop_tpg()
1482 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_show()
1494 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_enable_store()
1524 struct se_portal_group *se_tpg = to_tpg(item); in tcm_usbg_tpg_nexus_show()
[all …]
Dtcm_usb_gadget.h39 struct se_portal_group se_tpg;
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c3310 static int srpt_check_true(struct se_portal_group *se_tpg) in srpt_check_true()
3315 static int srpt_check_false(struct se_portal_group *se_tpg) in srpt_check_false()
3325 static char *srpt_get_fabric_wwn(struct se_portal_group *tpg) in srpt_get_fabric_wwn()
3332 static u16 srpt_get_tag(struct se_portal_group *tpg) in srpt_get_tag()
3337 static u32 srpt_tpg_get_inst_index(struct se_portal_group *se_tpg) in srpt_tpg_get_inst_index()
3493 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_show()
3502 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rdma_size_store()
3530 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_show()
3539 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_max_rsp_size_store()
3567 struct se_portal_group *se_tpg = attrib_to_tpg(item); in srpt_tpg_attrib_srp_sq_size_show()
[all …]
Dib_srpt.h369 struct se_portal_group port_tpg_1;
/linux-4.4.14/include/target/iscsi/
Discsi_target_core.h821 struct se_portal_group tpg_se_tpg;