/drivers/target/ |
D | target_core_ua.c | 45 struct se_node_acl *nacl; in target_scsi3_ua_check() local 50 nacl = sess->se_node_acl; in target_scsi3_ua_check() 51 if (!nacl) in target_scsi3_ua_check() 54 deve = nacl->device_list[cmd->orig_fe_lun]; in target_scsi3_ua_check() 83 struct se_node_acl *nacl, in core_scsi3_ua_allocate() argument 93 if (!nacl) in core_scsi3_ua_allocate() 103 ua->ua_nacl = nacl; in core_scsi3_ua_allocate() 107 spin_lock_irq(&nacl->device_list_lock); in core_scsi3_ua_allocate() 108 deve = nacl->device_list[unpacked_lun]; in core_scsi3_ua_allocate() 117 spin_unlock_irq(&nacl->device_list_lock); in core_scsi3_ua_allocate() [all …]
|
D | target_core_stat.c | 1083 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_scsi_auth_intr_show_attr_inst() local 1088 spin_lock_irq(&nacl->device_list_lock); in target_stat_scsi_auth_intr_show_attr_inst() 1089 deve = nacl->device_list[lacl->mapped_lun]; in target_stat_scsi_auth_intr_show_attr_inst() 1091 spin_unlock_irq(&nacl->device_list_lock); in target_stat_scsi_auth_intr_show_attr_inst() 1094 tpg = nacl->se_tpg; in target_stat_scsi_auth_intr_show_attr_inst() 1098 spin_unlock_irq(&nacl->device_list_lock); in target_stat_scsi_auth_intr_show_attr_inst() 1108 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_scsi_auth_intr_show_attr_dev() local 1113 spin_lock_irq(&nacl->device_list_lock); in target_stat_scsi_auth_intr_show_attr_dev() 1114 deve = nacl->device_list[lacl->mapped_lun]; in target_stat_scsi_auth_intr_show_attr_dev() 1116 spin_unlock_irq(&nacl->device_list_lock); in target_stat_scsi_auth_intr_show_attr_dev() [all …]
|
D | target_core_device.c | 194 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi() argument 200 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi() 203 spin_lock_irq(&nacl->device_list_lock); in core_get_se_deve_from_rtpi() 205 deve = nacl->device_list[i]; in core_get_se_deve_from_rtpi() 228 spin_unlock_irq(&nacl->device_list_lock); in core_get_se_deve_from_rtpi() 232 spin_unlock_irq(&nacl->device_list_lock); in core_get_se_deve_from_rtpi() 238 struct se_node_acl *nacl, in core_free_device_list_for_node() argument 245 if (!nacl->device_list) in core_free_device_list_for_node() 248 spin_lock_irq(&nacl->device_list_lock); in core_free_device_list_for_node() 250 deve = nacl->device_list[i]; in core_free_device_list_for_node() [all …]
|
D | target_core_tpg.c | 55 struct se_node_acl *nacl, in core_clear_initiator_node_from_tpg() argument 62 spin_lock_irq(&nacl->device_list_lock); in core_clear_initiator_node_from_tpg() 64 deve = nacl->device_list[i]; in core_clear_initiator_node_from_tpg() 77 spin_unlock_irq(&nacl->device_list_lock); in core_clear_initiator_node_from_tpg() 79 TRANSPORT_LUNFLAGS_NO_ACCESS, nacl, tpg); in core_clear_initiator_node_from_tpg() 81 spin_lock_irq(&nacl->device_list_lock); in core_clear_initiator_node_from_tpg() 83 spin_unlock_irq(&nacl->device_list_lock); in core_clear_initiator_node_from_tpg() 232 static int core_create_device_list_for_node(struct se_node_acl *nacl) in core_create_device_list_for_node() argument 237 nacl->device_list = array_zalloc(TRANSPORT_MAX_LUNS_PER_TPG, in core_create_device_list_for_node() 239 if (!nacl->device_list) { in core_create_device_list_for_node() [all …]
|
D | target_core_pr.c | 596 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration() argument 617 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_do_alloc_registration() 647 struct se_node_acl *nacl, in __core_scsi3_alloc_registration() argument 657 struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration() 664 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, deve, isid, in __core_scsi3_alloc_registration() 698 if (nacl == nacl_tmp) in __core_scsi3_alloc_registration() 710 if (strcmp(nacl->initiatorname, nacl_tmp->initiatorname)) in __core_scsi3_alloc_registration() 873 struct se_node_acl *nacl, in __core_scsi3_check_aptpl_registration() argument 887 snprintf(i_port, PR_APTPL_MAX_IPORT_LEN, "%s", nacl->initiatorname); in __core_scsi3_check_aptpl_registration() 907 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_check_aptpl_registration() [all …]
|
D | target_core_transport.c | 409 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl() local 412 complete(&nacl->acl_free_comp); in target_complete_nacl() 415 void target_put_nacl(struct se_node_acl *nacl) in target_put_nacl() argument 417 kref_put(&nacl->acl_kref, target_complete_nacl); in target_put_nacl()
|
D | target_core_fabric_configfs.c | 148 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_unlink() local 149 struct se_dev_entry *deve = nacl->device_list[lacl->mapped_lun]; in target_fabric_mappedlun_unlink()
|
D | target_core_alua.c | 289 struct se_node_acl *nacl = cmd->se_sess->se_node_acl; in target_emulate_set_target_port_groups() local 400 dev, l_port, nacl, in target_emulate_set_target_port_groups()
|
/drivers/scsi/qla2xxx/ |
D | tcm_qla2xxx.c | 342 struct tcm_qla2xxx_nacl *nacl; in tcm_qla2xxx_alloc_fabric_acl() local 344 nacl = kzalloc(sizeof(struct tcm_qla2xxx_nacl), GFP_KERNEL); in tcm_qla2xxx_alloc_fabric_acl() 345 if (!nacl) { in tcm_qla2xxx_alloc_fabric_acl() 350 return &nacl->se_node_acl; in tcm_qla2xxx_alloc_fabric_acl() 357 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_release_fabric_acl() local 359 kfree(nacl); in tcm_qla2xxx_release_fabric_acl() 524 static void tcm_qla2xxx_set_default_node_attrs(struct se_node_acl *nacl) in tcm_qla2xxx_set_default_node_attrs() argument 773 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map() local 777 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map() 779 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map() [all …]
|
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 2327 struct srpt_node_acl *nacl; in __srpt_lookup_acl() local 2329 list_for_each_entry(nacl, &sport->port_acl_list, list) in __srpt_lookup_acl() 2330 if (memcmp(nacl->i_port_id, i_port_id, in __srpt_lookup_acl() 2331 sizeof(nacl->i_port_id)) == 0) in __srpt_lookup_acl() 2332 return nacl; in __srpt_lookup_acl() 2340 struct srpt_node_acl *nacl; in srpt_lookup_acl() local 2343 nacl = __srpt_lookup_acl(sport, i_port_id); in srpt_lookup_acl() 2346 return nacl; in srpt_lookup_acl() 2366 struct srpt_node_acl *nacl; in srpt_cm_req_recv() local 2529 nacl = srpt_lookup_acl(sport, ch->i_port_id); in srpt_cm_req_recv() [all …]
|
D | ib_srpt.h | 421 struct se_node_acl nacl; member
|
/drivers/target/iscsi/ |
D | iscsi_target_nodeattrib.c | 28 struct iscsi_node_acl *nacl) in iscsit_na_get_initiatorname() argument 30 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname() 109 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout()
|
D | iscsi_target_configfs.c | 372 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ 375 return sprintf(page, "%u\n", nacl->node_attrib.name); \ 383 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \ 391 ret = iscsit_na_##name(nacl, val); \ 458 struct iscsi_node_acl *nacl, \ 461 struct iscsi_node_auth *auth = &nacl->node_auth; \ 469 struct iscsi_node_acl *nacl, \ 473 struct iscsi_node_auth *auth = &nacl->node_auth; \ 496 struct iscsi_node_acl *nacl, \ 499 struct iscsi_node_auth *auth = &nacl->node_auth; \ [all …]
|
D | iscsi_target_core.h | 732 struct iscsi_node_acl *nacl; member
|
/drivers/vhost/ |
D | scsi.c | 433 struct tcm_vhost_nacl *nacl; in tcm_vhost_alloc_fabric_acl() local 435 nacl = kzalloc(sizeof(struct tcm_vhost_nacl), GFP_KERNEL); in tcm_vhost_alloc_fabric_acl() 436 if (!nacl) { in tcm_vhost_alloc_fabric_acl() 441 return &nacl->se_node_acl; in tcm_vhost_alloc_fabric_acl() 448 struct tcm_vhost_nacl *nacl = container_of(se_nacl, in tcm_vhost_release_fabric_acl() local 450 kfree(nacl); in tcm_vhost_release_fabric_acl() 505 static void tcm_vhost_set_default_node_attrs(struct se_node_acl *nacl) in tcm_vhost_set_default_node_attrs() argument 1809 struct tcm_vhost_nacl *nacl; in tcm_vhost_make_nodeacl() local 1833 nacl = container_of(se_nacl, struct tcm_vhost_nacl, se_node_acl); in tcm_vhost_make_nodeacl() 1834 nacl->iport_wwpn = wwpn; in tcm_vhost_make_nodeacl() [all …]
|
/drivers/usb/gadget/legacy/ |
D | tcm_usb_gadget.c | 1383 struct usbg_nacl *nacl; in usbg_alloc_fabric_acl() local 1385 nacl = kzalloc(sizeof(struct usbg_nacl), GFP_KERNEL); in usbg_alloc_fabric_acl() 1386 if (!nacl) in usbg_alloc_fabric_acl() 1389 return &nacl->se_node_acl; in usbg_alloc_fabric_acl() 1396 struct usbg_nacl *nacl = container_of(se_nacl, in usbg_release_fabric_acl() local 1398 kfree(nacl); in usbg_release_fabric_acl() 1446 static void usbg_set_default_node_attrs(struct se_node_acl *nacl) in usbg_set_default_node_attrs() argument 1498 struct usbg_nacl *nacl; in usbg_make_nodeacl() local 1524 nacl = container_of(se_nacl, struct usbg_nacl, se_node_acl); in usbg_make_nodeacl() 1525 nacl->iport_wwpn = wwpn; in usbg_make_nodeacl() [all …]
|
/drivers/target/sbp/ |
D | sbp_target.c | 1718 struct sbp_nacl *nacl; in sbp_alloc_fabric_acl() local 1720 nacl = kzalloc(sizeof(struct sbp_nacl), GFP_KERNEL); in sbp_alloc_fabric_acl() 1721 if (!nacl) { in sbp_alloc_fabric_acl() 1726 return &nacl->se_node_acl; in sbp_alloc_fabric_acl() 1733 struct sbp_nacl *nacl = in sbp_release_fabric_acl() local 1735 kfree(nacl); in sbp_release_fabric_acl() 1794 static void sbp_set_default_node_attrs(struct se_node_acl *nacl) in sbp_set_default_node_attrs() argument 2110 struct sbp_nacl *nacl; in sbp_make_nodeacl() local 2132 nacl = container_of(se_nacl, struct sbp_nacl, se_node_acl); in sbp_make_nodeacl() 2133 nacl->guid = guid; in sbp_make_nodeacl() [all …]
|
/drivers/xen/ |
D | xen-scsiback.c | 1522 static void scsiback_set_default_node_attrs(struct se_node_acl *nacl) in scsiback_set_default_node_attrs() argument
|