Home
last modified time | relevance | path

Searched refs:nacl (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/target/
H A Dtarget_core_ua.c30 struct se_node_acl *nacl; in target_scsi3_ua_check() local
35 nacl = sess->se_node_acl; in target_scsi3_ua_check()
36 if (!nacl) in target_scsi3_ua_check()
40 deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in target_scsi3_ua_check()
156 void target_ua_allocate_lun(struct se_node_acl *nacl, in target_ua_allocate_lun() argument
161 if (!nacl) in target_ua_allocate_lun()
165 deve = target_nacl_find_deve(nacl, unpacked_lun); in target_ua_allocate_lun()
199 struct se_node_acl *nacl; in core_scsi3_ua_for_check_condition() local
208 nacl = sess->se_node_acl; in core_scsi3_ua_for_check_condition()
209 if (WARN_ON_ONCE(!nacl)) in core_scsi3_ua_for_check_condition()
[all …]
H A Dtarget_core_fabric_lib.c37 struct se_node_acl *nacl, in sas_get_pr_transport_id() argument
44 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
86 struct se_node_acl *nacl, in sbp_get_pr_transport_id() argument
92 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
102 struct se_node_acl *nacl, in srp_get_pr_transport_id() argument
110 p = nacl->initiatorname; in srp_get_pr_transport_id()
418 int target_get_pr_transport_id_len(struct se_node_acl *nacl, in target_get_pr_transport_id_len() argument
421 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id_len()
428 return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); in target_get_pr_transport_id_len()
430 pr_err("Unknown proto_id: 0x%02x\n", nacl->se_tpg->proto_id); in target_get_pr_transport_id_len()
[all …]
H A Dtarget_core_stat.c836 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show() local
842 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
847 tpg = nacl->se_tpg; in target_stat_auth_inst_show()
859 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show() local
864 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
880 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show() local
886 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
891 tpg = nacl->se_tpg; in target_stat_auth_port_show()
902 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show() local
907 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show()
[all …]
H A Dtarget_core_pr.c317 struct se_node_acl *nacl = se_sess->se_node_acl; in core_scsi3_pr_seq_non_holder() local
331 se_deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in core_scsi3_pr_seq_non_holder()
619 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration() argument
642 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_do_alloc_registration()
655 pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); in __core_scsi3_do_alloc_registration()
659 nacl->initiatorname, mapped_lun); in __core_scsi3_do_alloc_registration()
694 struct se_node_acl *nacl, in __core_scsi3_alloc_registration() argument
707 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration()
714 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, in __core_scsi3_alloc_registration()
750 if (nacl == nacl_tmp) in __core_scsi3_alloc_registration()
[all …]
H A Dtarget_core_tpg.c85 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua() argument
89 if (!nacl) in core_allocate_nexus_loss_ua()
93 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) in core_allocate_nexus_loss_ua()
283 void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *nacl) in core_tpg_wait_for_nacl_pr_ref() argument
285 while (atomic_read(&nacl->acl_pr_ref_count) != 0) in core_tpg_wait_for_nacl_pr_ref()
569 struct se_node_acl *nacl, *nacl_tmp; in core_tpg_deregister() local
588 list_for_each_entry_safe(nacl, nacl_tmp, &node_list, acl_list) { in core_tpg_deregister()
589 list_del_init(&nacl->acl_list); in core_tpg_deregister()
591 core_tpg_wait_for_nacl_pr_ref(nacl); in core_tpg_deregister()
592 core_free_device_list_for_node(nacl, se_tpg); in core_tpg_deregister()
[all …]
H A Dtarget_core_internal.h101 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
103 int target_get_pr_transport_id(struct se_node_acl *nacl,
H A Dtarget_core_transport.c542 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl() local
544 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl()
546 if (!nacl->dynamic_stop) { in target_complete_nacl()
547 complete(&nacl->acl_free_comp); in target_complete_nacl()
552 list_del_init(&nacl->acl_list); in target_complete_nacl()
555 core_tpg_wait_for_nacl_pr_ref(nacl); in target_complete_nacl()
556 core_free_device_list_for_node(nacl, se_tpg); in target_complete_nacl()
557 kfree(nacl); in target_complete_nacl()
560 void target_put_nacl(struct se_node_acl *nacl) in target_put_nacl() argument
562 kref_put(&nacl->acl_kref, target_complete_nacl); in target_put_nacl()
H A Dtarget_core_xcopy.c75 struct se_node_acl *nacl; in target_xcopy_locate_se_dev_e4() local
86 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4()
88 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4()
/linux/drivers/target/iscsi/
H A Discsi_target_nodeattrib.c20 struct iscsi_node_acl *nacl) in iscsit_na_get_initiatorname() argument
22 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname()
102 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout()
H A Discsi_target_nego.c104 struct iscsi_node_acl *nacl; in iscsi_get_node_auth() local
121 nacl = to_iscsi_nacl(se_nacl); in iscsi_get_node_auth()
123 return &nacl->node_auth; in iscsi_get_node_auth()
813 struct iscsi_node_acl *nacl; in iscsi_conn_auth_required() local
840 nacl = to_iscsi_nacl(se_nacl); in iscsi_conn_auth_required()
841 if (nacl->node_attrib.authentication == NA_AUTHENTICATION_INHERITED) in iscsi_conn_auth_required()
844 return nacl->node_attrib.authentication; in iscsi_conn_auth_required()
/linux/include/target/iscsi/
H A Discsi_target_core.h728 struct iscsi_node_acl *nacl; member