nacl 3358 drivers/infiniband/ulp/srpt/ib_srpt.c static void srpt_set_default_node_attrs(struct se_node_acl *nacl) nacl 3785 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c static void ibmvscsis_set_default_node_attrs(struct se_node_acl *nacl) nacl 401 drivers/scsi/qla2xxx/tcm_qla2xxx.c static void tcm_qla2xxx_set_default_node_attrs(struct se_node_acl *nacl) nacl 766 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, nacl 770 drivers/scsi/qla2xxx/tcm_qla2xxx.c pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); nacl 772 drivers/scsi/qla2xxx/tcm_qla2xxx.c node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); nacl 780 drivers/scsi/qla2xxx/tcm_qla2xxx.c btree_insert32(&lport->lport_fcport_map, nacl->nport_id, nacl 785 drivers/scsi/qla2xxx/tcm_qla2xxx.c se_nacl, nacl->nport_wwnn, nacl->nport_id); nacl 795 drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess); nacl 806 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl = nacl 813 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->nport_wwnn = wwnn; nacl 814 drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_format_wwn(&nacl->nport_name[0], TCM_QLA2XXX_NAMELEN, wwnn); nacl 1151 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl; nacl 1172 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); nacl 1173 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (!nacl->fc_port) { nacl 1178 drivers/scsi/qla2xxx/tcm_qla2xxx.c return nacl->fc_port; nacl 1187 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl, nacl 1203 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->nport_id = key; nacl 1214 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = fc_port; nacl 1218 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (nacl->fc_port) { nacl 1222 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = NULL; nacl 1228 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = fc_port; nacl 1241 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = fc_port; nacl 1244 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname); nacl 1256 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl; nacl 1276 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); nacl 1278 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (!nacl->fc_port) { nacl 1283 drivers/scsi/qla2xxx/tcm_qla2xxx.c return nacl->fc_port; nacl 1292 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl, nacl 1311 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (nacl->fc_port != fc_port) nacl 1312 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = fc_port; nacl 1316 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (nacl->fc_port) { nacl 1320 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = NULL; nacl 1328 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (nacl->fc_port != fc_port) nacl 1329 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = fc_port; nacl 1343 drivers/scsi/qla2xxx/tcm_qla2xxx.c if (nacl->fc_port != fc_port) nacl 1344 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port = fc_port; nacl 1347 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->fc_port, new_se_nacl, new_se_nacl->initiatorname); nacl 1354 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl, struct fc_port *sess) nacl 1358 drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_set_sess_by_s_id(lport, NULL, nacl, se_sess, nacl 1360 drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_set_sess_by_loop_id(lport, NULL, nacl, se_sess, nacl 1400 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, nacl 1411 drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_set_sess_by_s_id(lport, se_nacl, nacl, se_sess, qlat_sess, nacl 1413 drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_set_sess_by_loop_id(lport, se_nacl, nacl, nacl 1479 drivers/scsi/qla2xxx/tcm_qla2xxx.c struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, nacl 1537 drivers/scsi/qla2xxx/tcm_qla2xxx.c nacl->nport_id = key; nacl 285 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ nacl 288 drivers/target/iscsi/iscsi_target_configfs.c return sprintf(page, "%u\n", nacl->node_attrib.name); \ nacl 295 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ nacl 303 drivers/target/iscsi/iscsi_target_configfs.c ret = iscsit_na_##name(nacl, val); \ nacl 339 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_acl *nacl, \ nacl 342 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_auth *auth = &nacl->node_auth; \ nacl 350 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_acl *nacl, \ nacl 354 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_auth *auth = &nacl->node_auth; \ nacl 380 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *nacl = auth_to_nacl(item); \ nacl 381 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_nacl_auth_##name##_show(container_of(nacl, \ nacl 387 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *nacl = auth_to_nacl(item); \ nacl 388 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_nacl_auth_##name##_store(container_of(nacl, \ nacl 404 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_acl *nacl, \ nacl 407 drivers/target/iscsi/iscsi_target_configfs.c struct iscsi_node_auth *auth = &nacl->node_auth; \ nacl 420 drivers/target/iscsi/iscsi_target_configfs.c struct se_node_acl *nacl = auth_to_nacl(item); \ nacl 421 drivers/target/iscsi/iscsi_target_configfs.c return __iscsi_nacl_auth_##name##_show(container_of(nacl, \ nacl 1511 drivers/target/iscsi/iscsi_target_configfs.c acl->node_attrib.nacl = acl; nacl 20 drivers/target/iscsi/iscsi_target_nodeattrib.c struct iscsi_node_acl *nacl) nacl 22 drivers/target/iscsi/iscsi_target_nodeattrib.c struct se_node_acl *se_nacl = &nacl->se_node_acl; nacl 101 drivers/target/iscsi/iscsi_target_nodeattrib.c struct se_node_acl *se_nacl = &a->nacl->se_node_acl; nacl 1739 drivers/target/sbp/sbp_target.c static void sbp_set_default_node_attrs(struct se_node_acl *nacl) nacl 272 drivers/target/target_core_alua.c struct se_node_acl *nacl = cmd->se_sess->se_node_acl; nacl 374 drivers/target/target_core_alua.c dev, l_lun, nacl, nacl 52 drivers/target/target_core_device.c struct se_node_acl *nacl = se_sess->se_node_acl; nacl 57 drivers/target/target_core_device.c deve = target_nacl_find_deve(nacl, unpacked_lun); nacl 152 drivers/target/target_core_device.c struct se_node_acl *nacl = se_sess->se_node_acl; nacl 157 drivers/target/target_core_device.c deve = target_nacl_find_deve(nacl, unpacked_lun); nacl 214 drivers/target/target_core_device.c struct se_node_acl *nacl, nacl 219 drivers/target/target_core_device.c struct se_portal_group *tpg = nacl->se_tpg; nacl 222 drivers/target/target_core_device.c hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { nacl 244 drivers/target/target_core_device.c struct se_node_acl *nacl, nacl 249 drivers/target/target_core_device.c mutex_lock(&nacl->lun_entry_mutex); nacl 250 drivers/target/target_core_device.c hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { nacl 252 drivers/target/target_core_device.c lockdep_is_held(&nacl->lun_entry_mutex)); nacl 253 drivers/target/target_core_device.c core_disable_device_list_for_node(lun, deve, nacl, tpg); nacl 255 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 261 drivers/target/target_core_device.c struct se_node_acl *nacl) nacl 265 drivers/target/target_core_device.c mutex_lock(&nacl->lun_entry_mutex); nacl 266 drivers/target/target_core_device.c deve = target_nacl_find_deve(nacl, mapped_lun); nacl 269 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 275 drivers/target/target_core_device.c struct se_dev_entry *target_nacl_find_deve(struct se_node_acl *nacl, u64 mapped_lun) nacl 279 drivers/target/target_core_device.c hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) nacl 295 drivers/target/target_core_device.c target_luns_data_has_changed(struct se_node_acl *nacl, struct se_dev_entry *new, nacl 301 drivers/target/target_core_device.c hlist_for_each_entry_rcu(tmp, &nacl->lun_entry_hlist, link) { nacl 315 drivers/target/target_core_device.c struct se_node_acl *nacl, nacl 338 drivers/target/target_core_device.c mutex_lock(&nacl->lun_entry_mutex); nacl 339 drivers/target/target_core_device.c orig = target_nacl_find_deve(nacl, mapped_lun); nacl 342 drivers/target/target_core_device.c lockdep_is_held(&nacl->lun_entry_mutex)); nacl 347 drivers/target/target_core_device.c " %s\n", nacl->initiatorname); nacl 348 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 356 drivers/target/target_core_device.c nacl->initiatorname, mapped_lun); nacl 357 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 365 drivers/target/target_core_device.c hlist_add_head_rcu(&new->link, &nacl->lun_entry_hlist); nacl 366 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 376 drivers/target/target_core_device.c target_luns_data_has_changed(nacl, new, true); nacl 383 drivers/target/target_core_device.c hlist_add_head_rcu(&new->link, &nacl->lun_entry_hlist); nacl 384 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 390 drivers/target/target_core_device.c target_luns_data_has_changed(nacl, new, true); nacl 397 drivers/target/target_core_device.c struct se_node_acl *nacl, nacl 406 drivers/target/target_core_device.c lockdep_assert_held(&nacl->lun_entry_mutex); nacl 446 drivers/target/target_core_device.c core_scsi3_free_pr_reg_from_nacl(dev, nacl); nacl 447 drivers/target/target_core_device.c target_luns_data_has_changed(nacl, NULL, false); nacl 456 drivers/target/target_core_device.c struct se_node_acl *nacl; nacl 460 drivers/target/target_core_device.c list_for_each_entry(nacl, &tpg->acl_node_list, acl_list) { nacl 462 drivers/target/target_core_device.c mutex_lock(&nacl->lun_entry_mutex); nacl 463 drivers/target/target_core_device.c hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { nacl 465 drivers/target/target_core_device.c lockdep_is_held(&nacl->lun_entry_mutex)); nacl 470 drivers/target/target_core_device.c core_disable_device_list_for_node(lun, deve, nacl, tpg); nacl 472 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 603 drivers/target/target_core_device.c struct se_node_acl *nacl, nacl 609 drivers/target/target_core_device.c if (strlen(nacl->initiatorname) >= TRANSPORT_IQN_LEN) { nacl 623 drivers/target/target_core_device.c lacl->se_lun_nacl = nacl; nacl 634 drivers/target/target_core_device.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 641 drivers/target/target_core_device.c if (!nacl) nacl 650 drivers/target/target_core_device.c lun_access_ro, nacl, tpg) < 0) nacl 657 drivers/target/target_core_device.c nacl->initiatorname); nacl 662 drivers/target/target_core_device.c core_scsi3_check_aptpl_registration(dev, tpg, lun, nacl, nacl 672 drivers/target/target_core_device.c struct se_node_acl *nacl; nacl 675 drivers/target/target_core_device.c nacl = lacl->se_lun_nacl; nacl 676 drivers/target/target_core_device.c if (!nacl) nacl 679 drivers/target/target_core_device.c mutex_lock(&nacl->lun_entry_mutex); nacl 680 drivers/target/target_core_device.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 682 drivers/target/target_core_device.c core_disable_device_list_for_node(lun, deve, nacl, tpg); nacl 683 drivers/target/target_core_device.c mutex_unlock(&nacl->lun_entry_mutex); nacl 689 drivers/target/target_core_device.c nacl->initiatorname, lacl->mapped_lun); nacl 36 drivers/target/target_core_fabric_lib.c struct se_node_acl *nacl, nacl 43 drivers/target/target_core_fabric_lib.c ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); nacl 85 drivers/target/target_core_fabric_lib.c struct se_node_acl *nacl, nacl 91 drivers/target/target_core_fabric_lib.c ret = hex2bin(&buf[8], nacl->initiatorname, 8); nacl 101 drivers/target/target_core_fabric_lib.c struct se_node_acl *nacl, nacl 109 drivers/target/target_core_fabric_lib.c p = nacl->initiatorname; nacl 349 drivers/target/target_core_fabric_lib.c int target_get_pr_transport_id_len(struct se_node_acl *nacl, nacl 352 drivers/target/target_core_fabric_lib.c switch (nacl->se_tpg->proto_id) { nacl 359 drivers/target/target_core_fabric_lib.c return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); nacl 361 drivers/target/target_core_fabric_lib.c pr_err("Unknown proto_id: 0x%02x\n", nacl->se_tpg->proto_id); nacl 372 drivers/target/target_core_fabric_lib.c int target_get_pr_transport_id(struct se_node_acl *nacl, nacl 376 drivers/target/target_core_fabric_lib.c switch (nacl->se_tpg->proto_id) { nacl 378 drivers/target/target_core_fabric_lib.c return sas_get_pr_transport_id(nacl, format_code, buf); nacl 380 drivers/target/target_core_fabric_lib.c return sbp_get_pr_transport_id(nacl, format_code, buf); nacl 382 drivers/target/target_core_fabric_lib.c return srp_get_pr_transport_id(nacl, format_code, buf); nacl 384 drivers/target/target_core_fabric_lib.c return fc_get_pr_transport_id(nacl, format_code, buf); nacl 386 drivers/target/target_core_fabric_lib.c return iscsi_get_pr_transport_id(nacl, pr_reg, format_code, nacl 389 drivers/target/target_core_fabric_lib.c pr_err("Unknown proto_id: 0x%02x\n", nacl->se_tpg->proto_id); nacl 100 drivers/target/target_core_internal.h int target_get_pr_transport_id_len(struct se_node_acl *nacl, nacl 102 drivers/target/target_core_internal.h int target_get_pr_transport_id(struct se_node_acl *nacl, nacl 316 drivers/target/target_core_pr.c struct se_node_acl *nacl = se_sess->se_node_acl; nacl 330 drivers/target/target_core_pr.c se_deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); nacl 616 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 639 drivers/target/target_core_pr.c pr_reg->pr_reg_nacl = nacl; nacl 652 drivers/target/target_core_pr.c pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); nacl 656 drivers/target/target_core_pr.c nacl->initiatorname, mapped_lun); nacl 691 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 704 drivers/target/target_core_pr.c const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; nacl 711 drivers/target/target_core_pr.c pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, nacl 748 drivers/target/target_core_pr.c if (nacl == nacl_tmp) nacl 760 drivers/target/target_core_pr.c if (strcmp(nacl->initiatorname, nacl_tmp->initiatorname)) nacl 925 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 939 drivers/target/target_core_pr.c snprintf(i_port, PR_APTPL_MAX_IPORT_LEN, "%s", nacl->initiatorname); nacl 963 drivers/target/target_core_pr.c pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); nacl 966 drivers/target/target_core_pr.c " %llu\n", nacl->initiatorname, mapped_lun); nacl 973 drivers/target/target_core_pr.c pr_reg->pr_reg_nacl = nacl; nacl 981 drivers/target/target_core_pr.c __core_scsi3_add_registration(dev, nacl, pr_reg, 0, 0); nacl 988 drivers/target/target_core_pr.c nacl, pr_reg); nacl 1006 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 1013 drivers/target/target_core_pr.c lun->unpacked_lun, nacl, nacl 1020 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 1024 drivers/target/target_core_pr.c struct se_portal_group *se_tpg = nacl->se_tpg; nacl 1033 drivers/target/target_core_pr.c "_AND_IGNORE_EXISTING_KEY" : "", nacl->initiatorname, nacl 1050 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 1055 drivers/target/target_core_pr.c const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; nacl 1076 drivers/target/target_core_pr.c __core_scsi3_dump_registration(tfo, dev, nacl, pr_reg, register_type); nacl 1131 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 1144 drivers/target/target_core_pr.c pr_reg = __core_scsi3_alloc_registration(dev, nacl, lun, deve, mapped_lun, nacl 1150 drivers/target/target_core_pr.c __core_scsi3_add_registration(dev, nacl, pr_reg, nacl 1157 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 1170 drivers/target/target_core_pr.c if (pr_reg->pr_reg_nacl != nacl) nacl 1213 drivers/target/target_core_pr.c struct se_node_acl *nacl, nacl 1216 drivers/target/target_core_pr.c struct se_portal_group *tpg = nacl->se_tpg; nacl 1226 drivers/target/target_core_pr.c return __core_scsi3_locate_pr_reg(dev, nacl, isid_ptr); nacl 1238 drivers/target/target_core_pr.c struct se_node_acl *nacl = pr_reg->pr_reg_nacl; nacl 1262 drivers/target/target_core_pr.c __core_scsi3_complete_pro_release(dev, nacl, pr_reg, 0, 1); nacl 1296 drivers/target/target_core_pr.c struct se_node_acl *nacl = pr_reg->pr_reg_nacl; nacl 1328 drivers/target/target_core_pr.c deve = target_nacl_find_deve(nacl, pr_reg->pr_res_mapped_lun); nacl 1361 drivers/target/target_core_pr.c struct se_node_acl *nacl) nacl 1373 drivers/target/target_core_pr.c (pr_res_holder->pr_reg_nacl == nacl)) { nacl 1374 drivers/target/target_core_pr.c __core_scsi3_complete_pro_release(dev, nacl, pr_res_holder, 0, 1); nacl 1388 drivers/target/target_core_pr.c if (pr_reg->pr_reg_nacl != nacl) nacl 1439 drivers/target/target_core_pr.c static int core_scsi3_nodeacl_depend_item(struct se_node_acl *nacl) nacl 1441 drivers/target/target_core_pr.c if (nacl->dynamic_node_acl) nacl 1443 drivers/target/target_core_pr.c return target_depend_item(&nacl->acl_group.cg_item); nacl 1446 drivers/target/target_core_pr.c static void core_scsi3_nodeacl_undepend_item(struct se_node_acl *nacl) nacl 1448 drivers/target/target_core_pr.c if (!nacl->dynamic_node_acl) nacl 1449 drivers/target/target_core_pr.c target_undepend_item(&nacl->acl_group.cg_item); nacl 1450 drivers/target/target_core_pr.c atomic_dec_mb(&nacl->acl_pr_ref_count); nacl 2761 drivers/target/target_core_pr.c struct se_node_acl *nacl = pr_reg->pr_reg_nacl; nacl 2762 drivers/target/target_core_pr.c const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; nacl 2773 drivers/target/target_core_pr.c __core_scsi3_complete_pro_release(dev, nacl, nacl 2788 drivers/target/target_core_pr.c nacl->initiatorname, i_buf); nacl 1204 drivers/target/target_core_spc.c struct se_node_acl *nacl; nacl 1222 drivers/target/target_core_spc.c nacl = sess->se_node_acl; nacl 1225 drivers/target/target_core_spc.c hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { nacl 858 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 864 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 869 drivers/target/target_core_stat.c tpg = nacl->se_tpg; nacl 881 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 887 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 903 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 909 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 914 drivers/target/target_core_stat.c tpg = nacl->se_tpg; nacl 925 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 930 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 936 drivers/target/target_core_stat.c ret = snprintf(page, PAGE_SIZE, "%u\n", nacl->acl_index); nacl 945 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 950 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 965 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 970 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 976 drivers/target/target_core_stat.c ret = snprintf(page, PAGE_SIZE, "%s\n", nacl->initiatorname); nacl 985 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 990 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1005 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1010 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1025 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1030 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1046 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1051 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1067 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1072 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1088 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1093 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1108 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1113 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1129 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1134 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1198 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1204 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1209 drivers/target/target_core_stat.c tpg = nacl->se_tpg; nacl 1221 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1227 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1243 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1249 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1254 drivers/target/target_core_stat.c tpg = nacl->se_tpg; nacl 1265 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1270 drivers/target/target_core_stat.c spin_lock_irq(&nacl->nacl_sess_lock); nacl 1271 drivers/target/target_core_stat.c se_sess = nacl->nacl_sess; nacl 1273 drivers/target/target_core_stat.c spin_unlock_irq(&nacl->nacl_sess_lock); nacl 1277 drivers/target/target_core_stat.c tpg = nacl->se_tpg; nacl 1281 drivers/target/target_core_stat.c spin_unlock_irq(&nacl->nacl_sess_lock); nacl 1289 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1294 drivers/target/target_core_stat.c deve = target_nacl_find_deve(nacl, lacl->mapped_lun); nacl 1300 drivers/target/target_core_stat.c ret = snprintf(page, PAGE_SIZE, "%u\n", nacl->acl_index); nacl 1309 drivers/target/target_core_stat.c struct se_node_acl *nacl = lacl->se_lun_nacl; nacl 1315 drivers/target/target_core_stat.c spin_lock_irq(&nacl->nacl_sess_lock); nacl 1316 drivers/target/target_core_stat.c se_sess = nacl->nacl_sess; nacl 1318 drivers/target/target_core_stat.c spin_unlock_irq(&nacl->nacl_sess_lock); nacl 1322 drivers/target/target_core_stat.c tpg = nacl->se_tpg; nacl 1328 drivers/target/target_core_stat.c ret = snprintf(page, PAGE_SIZE, "%s+i+%s\n", nacl->initiatorname, buf); nacl 1329 drivers/target/target_core_stat.c spin_unlock_irq(&nacl->nacl_sess_lock); nacl 87 drivers/target/target_core_tpg.c struct se_node_acl *nacl) nacl 91 drivers/target/target_core_tpg.c if (!nacl) nacl 95 drivers/target/target_core_tpg.c hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) nacl 285 drivers/target/target_core_tpg.c void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *nacl) nacl 287 drivers/target/target_core_tpg.c while (atomic_read(&nacl->acl_pr_ref_count) != 0) nacl 514 drivers/target/target_core_tpg.c struct se_node_acl *nacl, *nacl_tmp; nacl 537 drivers/target/target_core_tpg.c list_for_each_entry_safe(nacl, nacl_tmp, &node_list, acl_list) { nacl 538 drivers/target/target_core_tpg.c list_del_init(&nacl->acl_list); nacl 540 drivers/target/target_core_tpg.c core_tpg_wait_for_nacl_pr_ref(nacl); nacl 541 drivers/target/target_core_tpg.c core_free_device_list_for_node(nacl, se_tpg); nacl 542 drivers/target/target_core_tpg.c kfree(nacl); nacl 487 drivers/target/target_core_transport.c struct se_node_acl *nacl = container_of(kref, nacl 489 drivers/target/target_core_transport.c struct se_portal_group *se_tpg = nacl->se_tpg; nacl 491 drivers/target/target_core_transport.c if (!nacl->dynamic_stop) { nacl 492 drivers/target/target_core_transport.c complete(&nacl->acl_free_comp); nacl 497 drivers/target/target_core_transport.c list_del_init(&nacl->acl_list); nacl 500 drivers/target/target_core_transport.c core_tpg_wait_for_nacl_pr_ref(nacl); nacl 501 drivers/target/target_core_transport.c core_free_device_list_for_node(nacl, se_tpg); nacl 502 drivers/target/target_core_transport.c kfree(nacl); nacl 505 drivers/target/target_core_transport.c void target_put_nacl(struct se_node_acl *nacl) nacl 507 drivers/target/target_core_transport.c kref_put(&nacl->acl_kref, target_complete_nacl); nacl 30 drivers/target/target_core_ua.c struct se_node_acl *nacl; nacl 35 drivers/target/target_core_ua.c nacl = sess->se_node_acl; nacl 36 drivers/target/target_core_ua.c if (!nacl) nacl 40 drivers/target/target_core_ua.c deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); nacl 156 drivers/target/target_core_ua.c void target_ua_allocate_lun(struct se_node_acl *nacl, nacl 161 drivers/target/target_core_ua.c if (!nacl) nacl 165 drivers/target/target_core_ua.c deve = target_nacl_find_deve(nacl, unpacked_lun); nacl 199 drivers/target/target_core_ua.c struct se_node_acl *nacl; nacl 206 drivers/target/target_core_ua.c nacl = sess->se_node_acl; nacl 207 drivers/target/target_core_ua.c if (WARN_ON_ONCE(!nacl)) nacl 211 drivers/target/target_core_ua.c deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); nacl 256 drivers/target/target_core_ua.c nacl->se_tpg->se_tpg_tfo->fabric_name, nacl 271 drivers/target/target_core_ua.c struct se_node_acl *nacl; nacl 278 drivers/target/target_core_ua.c nacl = sess->se_node_acl; nacl 279 drivers/target/target_core_ua.c if (!nacl) nacl 283 drivers/target/target_core_ua.c deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); nacl 317 drivers/target/target_core_ua.c " ASCQ: 0x%02x\n", nacl->se_tpg->se_tpg_tfo->fabric_name, nacl 202 drivers/target/tcm_fc/tfc_conf.c static int ft_init_nodeacl(struct se_node_acl *nacl, const char *name) nacl 205 drivers/target/tcm_fc/tfc_conf.c container_of(nacl, struct ft_node_acl, se_node_acl); nacl 1295 drivers/usb/gadget/function/f_tcm.c static void usbg_set_default_node_attrs(struct se_node_acl *nacl) nacl 355 drivers/vhost/scsi.c static void vhost_scsi_set_default_node_attrs(struct se_node_acl *nacl) nacl 1407 drivers/xen/xen-scsiback.c static void scsiback_set_default_node_attrs(struct se_node_acl *nacl) nacl 736 include/target/iscsi/iscsi_target_core.h struct iscsi_node_acl *nacl; nacl 145 include/target/target_core_fabric.h void target_spc2_release(struct se_node_acl *nacl);