Home
last modified time | relevance | path

Searched refs:lacl (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/target/
Dtarget_core_stat.c854 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_inst_show() local
855 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show()
861 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
877 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_dev_show() local
878 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show()
883 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
898 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_port_show() local
899 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show()
905 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
920 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_indx_show() local
[all …]
Dtarget_core_fabric_configfs.c72 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link() local
125 deve = target_nacl_find_deve(lacl->se_lun_nacl, lacl->mapped_lun); in target_fabric_mappedlun_link()
139 return core_dev_add_initiator_node_lun_acl(se_tpg, lacl, lun, lun_access_ro); in target_fabric_mappedlun_link()
146 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink() local
151 core_dev_del_initiator_node_lun_acl(lun, lacl); in target_fabric_mappedlun_unlink()
163 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_show() local
164 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_show()
169 deve = target_nacl_find_deve(se_nacl, lacl->mapped_lun); in target_fabric_mappedlun_write_protect_show()
181 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_store() local
182 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_store()
[all …]
Dtarget_core_device.c566 struct se_lun_acl *lacl; in core_dev_init_initiator_node_lun_acl() local
574 lacl = kzalloc(sizeof(struct se_lun_acl), GFP_KERNEL); in core_dev_init_initiator_node_lun_acl()
575 if (!lacl) { in core_dev_init_initiator_node_lun_acl()
581 lacl->mapped_lun = mapped_lun; in core_dev_init_initiator_node_lun_acl()
582 lacl->se_lun_nacl = nacl; in core_dev_init_initiator_node_lun_acl()
584 return lacl; in core_dev_init_initiator_node_lun_acl()
589 struct se_lun_acl *lacl, in core_dev_add_initiator_node_lun_acl() argument
593 struct se_node_acl *nacl = lacl->se_lun_nacl; in core_dev_add_initiator_node_lun_acl()
606 lacl->se_lun = lun; in core_dev_add_initiator_node_lun_acl()
608 if (core_enable_device_list_for_node(lun, lacl, lacl->mapped_lun, in core_dev_add_initiator_node_lun_acl()
[all …]
Dtarget_core_internal.h83 struct se_lun_acl *lacl);
Dtarget_core_alua.c915 struct se_lun_acl *lacl; in core_alua_queue_state_change_ua() local
940 lacl = se_deve->se_lun_acl; in core_alua_queue_state_change_ua()
962 if (lacl && (tg_pt_gp->tg_pt_gp_alua_nacl != NULL) && in core_alua_queue_state_change_ua()
963 (tg_pt_gp->tg_pt_gp_alua_nacl == lacl->se_lun_nacl)) in core_alua_queue_state_change_ua()