Home
last modified time | relevance | path

Searched refs:se_nacl (Results 1 – 18 of 18) sorted by relevance

/drivers/target/iscsi/
Discsi_target_stat.c601 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_node_show() local
606 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_node_show()
607 se_sess = se_nacl->nacl_sess; in iscsi_stat_sess_node_show()
614 spin_unlock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_node_show()
622 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_indx_show() local
627 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_indx_show()
628 se_sess = se_nacl->nacl_sess; in iscsi_stat_sess_indx_show()
635 spin_unlock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_indx_show()
644 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_cmd_pdus_show() local
649 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_cmd_pdus_show()
[all …]
Discsi_target_device.c22 struct se_node_acl *se_nacl; in iscsit_determine_maxcmdsn() local
33 se_nacl = sess->se_sess->se_node_acl; in iscsit_determine_maxcmdsn()
41 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
42 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
Discsi_target_nodeattrib.c22 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname() local
24 return &se_nacl->initiatorname[0]; in iscsit_na_get_initiatorname()
101 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout() local
125 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsit_na_nopin_timeout()
126 se_sess = se_nacl->nacl_sess; in iscsit_na_nopin_timeout()
143 spin_unlock_bh(&se_nacl->nacl_sess_lock); in iscsit_na_nopin_timeout()
Discsi_target_configfs.c283 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
284 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
293 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
294 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
445 struct se_node_acl *se_nacl = param_to_nacl(item); \
450 spin_lock_bh(&se_nacl->nacl_sess_lock); \
451 se_sess = se_nacl->nacl_sess; \
460 spin_unlock_bh(&se_nacl->nacl_sess_lock); \
500 struct se_node_acl *se_nacl = acl_to_nacl(item); in lio_target_nacl_info_show() local
507 spin_lock_bh(&se_nacl->nacl_sess_lock); in lio_target_nacl_info_show()
[all …]
Discsi_target_nego.c109 struct se_node_acl *se_nacl; in iscsi_handle_authentication() local
115 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_handle_authentication()
116 if (!se_nacl) { in iscsi_handle_authentication()
122 if (se_nacl->dynamic_node_acl) { in iscsi_handle_authentication()
123 iscsi_tpg = container_of(se_nacl->se_tpg, in iscsi_handle_authentication()
128 iscsi_nacl = container_of(se_nacl, struct iscsi_node_acl, in iscsi_handle_authentication()
255 struct se_node_acl *se_nacl; in iscsi_target_check_first_request() local
290 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_target_check_first_request()
291 if (!se_nacl) { in iscsi_target_check_first_request()
301 se_nacl->initiatorname)) { in iscsi_target_check_first_request()
[all …]
Discsi_target_tpg.c396 struct se_node_acl *se_nacl = se_sess->se_node_acl; in iscsit_tpg_get_node_attrib() local
397 struct iscsi_node_acl *acl = container_of(se_nacl, struct iscsi_node_acl, in iscsit_tpg_get_node_attrib()
/drivers/target/
Dtarget_core_fabric_configfs.c163 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_show() local
168 deve = target_nacl_find_deve(se_nacl, lacl->mapped_lun); in target_fabric_mappedlun_write_protect_show()
181 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_store() local
182 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store()
199 se_nacl->initiatorname, lacl->mapped_lun, (wp) ? "ON" : "OFF"); in target_fabric_mappedlun_write_protect_store()
268 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun() local
270 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun()
300 lacl = core_dev_init_initiator_node_lun_acl(se_tpg, se_nacl, in target_fabric_make_mappedlun()
340 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release() local
343 configfs_remove_default_groups(&se_nacl->acl_fabric_stat_group); in target_fabric_nacl_base_release()
[all …]
Dtarget_core_fabric_lib.c53 struct se_node_acl *se_nacl, in fc_get_pr_transport_id() argument
65 ptr = &se_nacl->initiatorname[0]; in fc_get_pr_transport_id()
129 struct se_node_acl *se_nacl, in iscsi_get_pr_transport_id() argument
138 spin_lock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id()
154 len = sprintf(&buf[off], "%s", se_nacl->initiatorname); in iscsi_get_pr_transport_id()
196 spin_unlock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id()
217 struct se_node_acl *se_nacl, in iscsi_get_pr_transport_id_len() argument
223 spin_lock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id_len()
224 len = strlen(se_nacl->initiatorname); in iscsi_get_pr_transport_id_len()
242 spin_unlock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id_len()
Dtarget_core_transport.c364 struct se_node_acl *se_nacl, in __transport_register_session() argument
380 if (se_nacl) { in __transport_register_session()
391 if (se_nacl->saved_prot_type) in __transport_register_session()
392 se_sess->sess_prot_type = se_nacl->saved_prot_type; in __transport_register_session()
394 se_sess->sess_prot_type = se_nacl->saved_prot_type = in __transport_register_session()
407 spin_lock_irqsave(&se_nacl->nacl_sess_lock, flags); in __transport_register_session()
412 se_nacl->nacl_sess = se_sess; in __transport_register_session()
415 &se_nacl->acl_sess_list); in __transport_register_session()
416 spin_unlock_irqrestore(&se_nacl->nacl_sess_lock, flags); in __transport_register_session()
427 struct se_node_acl *se_nacl, in transport_register_session() argument
[all …]
Dtarget_core_configfs.c1719 struct se_node_acl *se_nacl; in target_core_dev_pr_show_spc3_res() local
1727 se_nacl = pr_reg->pr_reg_nacl; in target_core_dev_pr_show_spc3_res()
1731 se_nacl->se_tpg->se_tpg_tfo->fabric_name, in target_core_dev_pr_show_spc3_res()
1732 se_nacl->initiatorname, i_buf); in target_core_dev_pr_show_spc3_res()
1739 struct se_node_acl *se_nacl; in target_core_dev_pr_show_spc2_res() local
1743 se_nacl = sess->se_node_acl; in target_core_dev_pr_show_spc2_res()
1746 se_nacl->se_tpg->se_tpg_tfo->fabric_name, in target_core_dev_pr_show_spc2_res()
1747 se_nacl->initiatorname); in target_core_dev_pr_show_spc2_res()
1806 struct se_node_acl *se_nacl; in target_pr_res_pr_holder_tg_port_show() local
1819 se_nacl = pr_reg->pr_reg_nacl; in target_pr_res_pr_holder_tg_port_show()
[all …]
Dtarget_core_pr.c2445 struct se_node_acl *se_nacl, in __core_scsi3_complete_pro_release() argument
2450 const struct target_core_fabric_ops *tfo = se_nacl->se_tpg->se_tpg_tfo; in __core_scsi3_complete_pro_release()
2502 tfo->fabric_name, se_nacl->initiatorname, in __core_scsi3_complete_pro_release()
3882 struct se_node_acl *se_nacl; in core_scsi3_pri_read_full_status() local
3922 se_nacl = pr_reg->pr_reg_nacl; in core_scsi3_pri_read_full_status()
3932 exp_desc_len = target_get_pr_transport_id_len(se_nacl, pr_reg, in core_scsi3_pri_read_full_status()
3998 desc_len = target_get_pr_transport_id(se_nacl, pr_reg, in core_scsi3_pri_read_full_status()
/drivers/target/tcm_fc/
Dtfc_conf.c126 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_show() local
127 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_show()
136 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_store() local
137 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_store()
146 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_show() local
147 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_show()
156 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_store() local
157 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_store()
175 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_tag_store() local
178 ret = core_tpg_set_initiator_node_tag(se_nacl->se_tpg, se_nacl, page); in ft_nacl_tag_store()
[all …]
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c795 struct se_node_acl *se_nacl = sess->se_sess->se_node_acl; in tcm_qla2xxx_clear_nacl_from_fcport_map() local
796 struct se_portal_group *se_tpg = se_nacl->se_tpg; in tcm_qla2xxx_clear_nacl_from_fcport_map()
800 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map()
807 if (WARN_ON(node && (node != se_nacl))) { in tcm_qla2xxx_clear_nacl_from_fcport_map()
819 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
837 static int tcm_qla2xxx_init_nodeacl(struct se_node_acl *se_nacl, in tcm_qla2xxx_init_nodeacl() argument
841 container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_init_nodeacl()
1186 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_s_id() local
1200 se_nacl = btree_lookup32(&lport->lport_fcport_map, key); in tcm_qla2xxx_find_sess_by_s_id()
1201 if (!se_nacl) { in tcm_qla2xxx_find_sess_by_s_id()
[all …]
Dtcm_qla2xxx.h54 struct se_node_acl *se_nacl; member
/drivers/scsi/elx/efct/
Defct_lio.c1017 efct_lio_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in efct_lio_init_nodeacl() argument
1025 nacl = container_of(se_nacl, struct efct_lio_nacl, se_node_acl); in efct_lio_init_nodeacl()
/drivers/target/sbp/
Dsbp_target.c1948 static int sbp_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in sbp_init_nodeacl() argument
/drivers/usb/gadget/function/
Df_tcm.c1329 static int usbg_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in usbg_init_nodeacl() argument
/drivers/infiniband/ulp/srpt/
Dib_srpt.c3468 static int srpt_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in srpt_init_nodeacl() argument