Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/target/iscsi/
Discsi_target_stat.c610 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_node_show() local
615 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_node_show()
616 se_sess = se_nacl->nacl_sess; in iscsi_stat_sess_node_show()
623 spin_unlock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_node_show()
631 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_indx_show() local
636 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_indx_show()
637 se_sess = se_nacl->nacl_sess; in iscsi_stat_sess_indx_show()
644 spin_unlock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_indx_show()
653 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_cmd_pdus_show() local
658 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsi_stat_sess_cmd_pdus_show()
[all …]
Discsi_target_device.c30 struct se_node_acl *se_nacl; in iscsit_determine_maxcmdsn() local
41 se_nacl = sess->se_sess->se_node_acl; in iscsit_determine_maxcmdsn()
49 sess->cmdsn_window = se_nacl->queue_depth; in iscsit_determine_maxcmdsn()
50 atomic_add(se_nacl->queue_depth - 1, &sess->max_cmd_sn); in iscsit_determine_maxcmdsn()
Discsi_target_nodeattrib.c30 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname() local
32 return &se_nacl->initiatorname[0]; in iscsit_na_get_initiatorname()
109 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout() local
133 spin_lock_bh(&se_nacl->nacl_sess_lock); in iscsit_na_nopin_timeout()
134 se_sess = se_nacl->nacl_sess; in iscsit_na_nopin_timeout()
151 spin_unlock_bh(&se_nacl->nacl_sess_lock); in iscsit_na_nopin_timeout()
Discsi_target_configfs.c292 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
293 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
302 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
303 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
454 struct se_node_acl *se_nacl = param_to_nacl(item); \
459 spin_lock_bh(&se_nacl->nacl_sess_lock); \
460 se_sess = se_nacl->nacl_sess; \
469 spin_unlock_bh(&se_nacl->nacl_sess_lock); \
509 struct se_node_acl *se_nacl = acl_to_nacl(item); in lio_target_nacl_info_show() local
516 spin_lock_bh(&se_nacl->nacl_sess_lock); in lio_target_nacl_info_show()
[all …]
Discsi_target_nego.c118 struct se_node_acl *se_nacl; in iscsi_handle_authentication() local
124 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_handle_authentication()
125 if (!se_nacl) { in iscsi_handle_authentication()
130 iscsi_nacl = container_of(se_nacl, struct iscsi_node_acl, in iscsi_handle_authentication()
138 if (se_nacl->dynamic_node_acl) { in iscsi_handle_authentication()
139 iscsi_tpg = container_of(se_nacl->se_tpg, in iscsi_handle_authentication()
144 iscsi_nacl = container_of(se_nacl, struct iscsi_node_acl, in iscsi_handle_authentication()
282 struct se_node_acl *se_nacl; in iscsi_target_check_first_request() local
317 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_target_check_first_request()
318 if (!se_nacl) { in iscsi_target_check_first_request()
[all …]
Discsi_target_tpg.c404 struct se_node_acl *se_nacl = se_sess->se_node_acl; in iscsit_tpg_get_node_attrib() local
405 struct iscsi_node_acl *acl = container_of(se_nacl, struct iscsi_node_acl, in iscsit_tpg_get_node_attrib()
/Linux-v4.19/drivers/target/
Dtarget_core_fabric_configfs.c171 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_show() local
176 deve = target_nacl_find_deve(se_nacl, lacl->mapped_lun); in target_fabric_mappedlun_write_protect_show()
189 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_store() local
190 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_mappedlun_write_protect_store()
207 se_nacl->initiatorname, lacl->mapped_lun, (wp) ? "ON" : "OFF"); in target_fabric_mappedlun_write_protect_store()
276 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun() local
278 struct se_portal_group *se_tpg = se_nacl->se_tpg; in target_fabric_make_mappedlun()
308 lacl = core_dev_init_initiator_node_lun_acl(se_tpg, se_nacl, in target_fabric_make_mappedlun()
348 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release() local
351 configfs_remove_default_groups(&se_nacl->acl_fabric_stat_group); in target_fabric_nacl_base_release()
[all …]
Dtarget_core_fabric_lib.c66 struct se_node_acl *se_nacl, in fc_get_pr_transport_id() argument
78 ptr = &se_nacl->initiatorname[0]; in fc_get_pr_transport_id()
142 struct se_node_acl *se_nacl, in iscsi_get_pr_transport_id() argument
150 spin_lock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id()
162 len = sprintf(&buf[off], "%s", se_nacl->initiatorname); in iscsi_get_pr_transport_id()
210 spin_unlock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id()
231 struct se_node_acl *se_nacl, in iscsi_get_pr_transport_id_len() argument
237 spin_lock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id_len()
238 len = strlen(se_nacl->initiatorname); in iscsi_get_pr_transport_id_len()
256 spin_unlock_irq(&se_nacl->nacl_sess_lock); in iscsi_get_pr_transport_id_len()
Dtarget_core_transport.c343 struct se_node_acl *se_nacl, in __transport_register_session() argument
359 if (se_nacl) { in __transport_register_session()
370 if (se_nacl->saved_prot_type) in __transport_register_session()
371 se_sess->sess_prot_type = se_nacl->saved_prot_type; in __transport_register_session()
373 se_sess->sess_prot_type = se_nacl->saved_prot_type = in __transport_register_session()
386 spin_lock_irqsave(&se_nacl->nacl_sess_lock, flags); in __transport_register_session()
391 se_nacl->nacl_sess = se_sess; in __transport_register_session()
394 &se_nacl->acl_sess_list); in __transport_register_session()
395 spin_unlock_irqrestore(&se_nacl->nacl_sess_lock, flags); in __transport_register_session()
406 struct se_node_acl *se_nacl, in transport_register_session() argument
[all …]
Dtarget_core_configfs.c1389 struct se_node_acl *se_nacl; in target_core_dev_pr_show_spc3_res() local
1399 se_nacl = pr_reg->pr_reg_nacl; in target_core_dev_pr_show_spc3_res()
1403 se_nacl->se_tpg->se_tpg_tfo->get_fabric_name(), in target_core_dev_pr_show_spc3_res()
1404 se_nacl->initiatorname, i_buf); in target_core_dev_pr_show_spc3_res()
1410 struct se_node_acl *se_nacl; in target_core_dev_pr_show_spc2_res() local
1413 se_nacl = dev->dev_reserved_node_acl; in target_core_dev_pr_show_spc2_res()
1414 if (se_nacl) { in target_core_dev_pr_show_spc2_res()
1417 se_nacl->se_tpg->se_tpg_tfo->get_fabric_name(), in target_core_dev_pr_show_spc2_res()
1418 se_nacl->initiatorname); in target_core_dev_pr_show_spc2_res()
1474 struct se_node_acl *se_nacl; in target_pr_res_pr_holder_tg_port_show() local
[all …]
Dtarget_core_pr.c2458 struct se_node_acl *se_nacl, in __core_scsi3_complete_pro_release() argument
2463 const struct target_core_fabric_ops *tfo = se_nacl->se_tpg->se_tpg_tfo; in __core_scsi3_complete_pro_release()
2514 tfo->get_fabric_name(), se_nacl->initiatorname, in __core_scsi3_complete_pro_release()
3891 struct se_node_acl *se_nacl; in core_scsi3_pri_read_full_status() local
3931 se_nacl = pr_reg->pr_reg_nacl; in core_scsi3_pri_read_full_status()
3941 exp_desc_len = target_get_pr_transport_id_len(se_nacl, pr_reg, in core_scsi3_pri_read_full_status()
4007 desc_len = target_get_pr_transport_id(se_nacl, pr_reg, in core_scsi3_pri_read_full_status()
/Linux-v4.19/drivers/target/tcm_fc/
Dtfc_conf.c134 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_show() local
135 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_show()
144 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_store() local
145 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_port_name_store()
154 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_show() local
155 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_show()
164 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_store() local
165 struct ft_node_acl *acl = container_of(se_nacl, in ft_nacl_node_name_store()
183 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_tag_store() local
186 ret = core_tpg_set_initiator_node_tag(se_nacl->se_tpg, se_nacl, page); in ft_nacl_tag_store()
[all …]
/Linux-v4.19/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c797 struct se_node_acl *se_nacl = sess->se_sess->se_node_acl; in tcm_qla2xxx_clear_nacl_from_fcport_map() local
798 struct se_portal_group *se_tpg = se_nacl->se_tpg; in tcm_qla2xxx_clear_nacl_from_fcport_map()
802 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map()
809 if (WARN_ON(node && (node != se_nacl))) { in tcm_qla2xxx_clear_nacl_from_fcport_map()
821 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
840 static int tcm_qla2xxx_init_nodeacl(struct se_node_acl *se_nacl, in tcm_qla2xxx_init_nodeacl() argument
844 container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_init_nodeacl()
1220 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_s_id() local
1234 se_nacl = btree_lookup32(&lport->lport_fcport_map, key); in tcm_qla2xxx_find_sess_by_s_id()
1235 if (!se_nacl) { in tcm_qla2xxx_find_sess_by_s_id()
[all …]
Dtcm_qla2xxx.h57 struct se_node_acl *se_nacl; member
/Linux-v4.19/drivers/target/sbp/
Dsbp_target.c1974 static int sbp_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in sbp_init_nodeacl() argument
/Linux-v4.19/drivers/usb/gadget/function/
Df_tcm.c1340 static int usbg_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in usbg_init_nodeacl() argument
/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_srpt.c3292 static int srpt_init_nodeacl(struct se_node_acl *se_nacl, const char *name) in srpt_init_nodeacl() argument