Home
last modified time | relevance | path

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

/linux-6.1.9/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.c71 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link() local
124 deve = target_nacl_find_deve(lacl->se_lun_nacl, lacl->mapped_lun); in target_fabric_mappedlun_link()
138 return core_dev_add_initiator_node_lun_acl(se_tpg, lacl, lun, lun_access_ro); in target_fabric_mappedlun_link()
145 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink() local
150 core_dev_del_initiator_node_lun_acl(lun, lacl); in target_fabric_mappedlun_unlink()
162 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_show() local
163 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_show()
168 deve = target_nacl_find_deve(se_nacl, lacl->mapped_lun); in target_fabric_mappedlun_write_protect_show()
180 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_store() local
181 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_store()
[all …]
Dtarget_core_device.c612 struct se_lun_acl *lacl; in core_dev_init_initiator_node_lun_acl() local
620 lacl = kzalloc(sizeof(struct se_lun_acl), GFP_KERNEL); in core_dev_init_initiator_node_lun_acl()
621 if (!lacl) { in core_dev_init_initiator_node_lun_acl()
627 lacl->mapped_lun = mapped_lun; in core_dev_init_initiator_node_lun_acl()
628 lacl->se_lun_nacl = nacl; in core_dev_init_initiator_node_lun_acl()
630 return lacl; in core_dev_init_initiator_node_lun_acl()
635 struct se_lun_acl *lacl, in core_dev_add_initiator_node_lun_acl() argument
639 struct se_node_acl *nacl = lacl->se_lun_nacl; in core_dev_add_initiator_node_lun_acl()
652 lacl->se_lun = lun; in core_dev_add_initiator_node_lun_acl()
654 if (core_enable_device_list_for_node(lun, lacl, lacl->mapped_lun, in core_dev_add_initiator_node_lun_acl()
[all …]
Dtarget_core_internal.h84 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()