/linux-6.6.21/drivers/target/ |
D | target_core_device.c | 52 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun() local 57 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_cmd_lun() 104 nacl->initiatorname); in transport_lookup_cmd_lun() 148 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun() local 152 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_tmr_lun() 174 nacl->initiatorname); in transport_lookup_tmr_lun() 205 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi() argument 210 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi() 213 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in core_get_se_deve_from_rtpi() 235 struct se_node_acl *nacl, in core_free_device_list_for_node() argument [all …]
|
D | target_core_fabric_lib.c | 36 struct se_node_acl *nacl, in sas_get_pr_transport_id() argument 43 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id() 85 struct se_node_acl *nacl, in sbp_get_pr_transport_id() argument 91 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id() 101 struct se_node_acl *nacl, in srp_get_pr_transport_id() argument 109 p = nacl->initiatorname; in srp_get_pr_transport_id() 345 int target_get_pr_transport_id_len(struct se_node_acl *nacl, in target_get_pr_transport_id_len() argument 348 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id_len() 355 return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); in target_get_pr_transport_id_len() 357 pr_err("Unknown proto_id: 0x%02x\n", nacl->se_tpg->proto_id); in target_get_pr_transport_id_len() [all …]
|
D | target_core_ua.c | 30 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 …]
|
D | target_core_stat.c | 855 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show() local 861 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show() 866 tpg = nacl->se_tpg; in target_stat_auth_inst_show() 878 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show() local 883 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show() 899 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show() local 905 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show() 910 tpg = nacl->se_tpg; in target_stat_auth_port_show() 921 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show() local 926 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_indx_show() [all …]
|
D | target_core_pr.c | 316 struct se_node_acl *nacl = se_sess->se_node_acl; in core_scsi3_pr_seq_non_holder() local 330 se_deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in core_scsi3_pr_seq_non_holder() 617 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration() argument 640 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_do_alloc_registration() 653 pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); in __core_scsi3_do_alloc_registration() 657 nacl->initiatorname, mapped_lun); in __core_scsi3_do_alloc_registration() 692 struct se_node_acl *nacl, in __core_scsi3_alloc_registration() argument 705 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration() 712 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, in __core_scsi3_alloc_registration() 748 if (nacl == nacl_tmp) in __core_scsi3_alloc_registration() [all …]
|
D | target_core_tpg.c | 85 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 …]
|
D | target_core_internal.h | 101 int target_get_pr_transport_id_len(struct se_node_acl *nacl, 103 int target_get_pr_transport_id(struct se_node_acl *nacl,
|
D | target_core_transport.c | 542 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()
|
D | target_core_xcopy.c | 74 struct se_node_acl *nacl; in target_xcopy_locate_se_dev_e4() local 85 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4() 87 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4()
|
D | target_core_spc.c | 1241 struct se_node_acl *nacl; in spc_emulate_report_luns() local 1259 nacl = sess->se_node_acl; in spc_emulate_report_luns() 1262 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in spc_emulate_report_luns()
|
D | target_core_alua.c | 275 struct se_node_acl *nacl = cmd->se_sess->se_node_acl; in target_emulate_set_target_port_groups() local 377 dev, l_lun, nacl, in target_emulate_set_target_port_groups()
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 790 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map() local 794 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map() 796 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map() 804 btree_insert32(&lport->lport_fcport_map, nacl->nport_id, in tcm_qla2xxx_clear_nacl_from_fcport_map() 809 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map() 819 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess); in tcm_qla2xxx_clear_nacl_from_fcport_map() 830 struct tcm_qla2xxx_nacl *nacl = in tcm_qla2xxx_init_nodeacl() local 837 nacl->nport_wwnn = wwnn; in tcm_qla2xxx_init_nodeacl() 838 tcm_qla2xxx_format_wwn(&nacl->nport_name[0], TCM_QLA2XXX_NAMELEN, wwnn); in tcm_qla2xxx_init_nodeacl() 1127 struct tcm_qla2xxx_nacl *nacl; in tcm_qla2xxx_find_sess_by_s_id() local [all …]
|
/linux-6.6.21/drivers/target/iscsi/ |
D | iscsi_target_configfs.c | 284 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); \ 285 return sysfs_emit(page, "%u\n", nacl->node_attrib.name); \ 292 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); \ 299 ret = iscsit_na_##name(nacl, val); \ 321 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); in iscsi_nacl_attrib_authentication_show() local 323 return sysfs_emit(page, "%d\n", nacl->node_attrib.authentication); in iscsi_nacl_attrib_authentication_show() 330 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); in iscsi_nacl_attrib_authentication_store() local 340 nacl->node_attrib.authentication = val; in iscsi_nacl_attrib_authentication_store() 366 struct iscsi_node_acl *nacl, \ 369 struct iscsi_node_auth *auth = &nacl->node_auth; \ [all …]
|
D | iscsi_target_nodeattrib.c | 20 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()
|
D | iscsi_target_nego.c | 104 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-6.6.21/drivers/target/tcm_fc/ |
D | tfc_conf.c | 202 static int ft_init_nodeacl(struct se_node_acl *nacl, const char *name) in ft_init_nodeacl() argument 205 container_of(nacl, struct ft_node_acl, se_node_acl); in ft_init_nodeacl()
|
/linux-6.6.21/include/target/ |
D | target_core_fabric.h | 151 void target_spc2_release(struct se_node_acl *nacl);
|
/linux-6.6.21/drivers/scsi/elx/efct/ |
D | efct_lio.c | 1002 struct efct_lio_nacl *nacl; in efct_lio_init_nodeacl() local 1008 nacl = container_of(se_nacl, struct efct_lio_nacl, se_node_acl); in efct_lio_init_nodeacl() 1009 nacl->nport_wwnn = wwnn; in efct_lio_init_nodeacl() 1011 efct_format_wwn(nacl->nport_name, sizeof(nacl->nport_name), "", wwnn); in efct_lio_init_nodeacl()
|
/linux-6.6.21/include/target/iscsi/ |
D | iscsi_target_core.h | 731 struct iscsi_node_acl *nacl; member
|