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

/linux-4.4.14/drivers/target/
H A Dtarget_core_stat.c850 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_inst_show() local
851 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_inst_show()
857 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_inst_show()
873 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_dev_show() local
874 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_dev_show()
880 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_dev_show()
895 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_port_show() local
896 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_port_show()
902 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_port_show()
917 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_indx_show() local
918 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_indx_show()
923 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_indx_show()
937 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_dev_or_port_show() local
938 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_dev_or_port_show()
943 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_dev_or_port_show()
957 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_intr_name_show() local
958 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_intr_name_show()
963 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_intr_name_show()
977 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_map_indx_show() local
978 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_map_indx_show()
983 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_map_indx_show()
997 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_att_count_show() local
998 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_att_count_show()
1003 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_att_count_show()
1017 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_num_cmds_show() local
1018 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_num_cmds_show()
1023 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_num_cmds_show()
1038 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_read_mbytes_show() local
1039 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_read_mbytes_show()
1044 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_read_mbytes_show()
1059 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_write_mbytes_show() local
1060 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_write_mbytes_show()
1065 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_write_mbytes_show()
1080 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_hs_num_cmds_show() local
1081 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_hs_num_cmds_show()
1086 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_hs_num_cmds_show()
1100 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_creation_time_show() local
1101 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_creation_time_show()
1106 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_creation_time_show()
1121 struct se_lun_acl *lacl = auth_to_lacl(item); target_stat_auth_row_status_show() local
1122 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_row_status_show()
1127 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_auth_row_status_show()
1190 struct se_lun_acl *lacl = iport_to_lacl(item); target_stat_iport_inst_show() local
1191 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_inst_show()
1197 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_iport_inst_show()
1213 struct se_lun_acl *lacl = iport_to_lacl(item); target_stat_iport_dev_show() local
1214 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_dev_show()
1220 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_iport_dev_show()
1235 struct se_lun_acl *lacl = iport_to_lacl(item); target_stat_iport_port_show() local
1236 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_show()
1242 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_iport_port_show()
1257 struct se_lun_acl *lacl = iport_to_lacl(item); target_stat_iport_indx_show() local
1258 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_indx_show()
1281 struct se_lun_acl *lacl = iport_to_lacl(item); target_stat_iport_port_auth_indx_show() local
1282 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_auth_indx_show()
1287 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); target_stat_iport_port_auth_indx_show()
1301 struct se_lun_acl *lacl = iport_to_lacl(item); target_stat_iport_port_ident_show() local
1302 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_ident_show()
1352 void target_stat_setup_mappedlun_default_groups(struct se_lun_acl *lacl) target_stat_setup_mappedlun_default_groups() argument
1354 struct config_group *ml_stat_grp = &lacl->ml_stat_grps.stat_group; target_stat_setup_mappedlun_default_groups()
1356 config_group_init_type_name(&lacl->ml_stat_grps.scsi_auth_intr_group, target_stat_setup_mappedlun_default_groups()
1358 config_group_init_type_name(&lacl->ml_stat_grps.scsi_att_intr_port_group, target_stat_setup_mappedlun_default_groups()
1361 ml_stat_grp->default_groups[0] = &lacl->ml_stat_grps.scsi_auth_intr_group; target_stat_setup_mappedlun_default_groups()
1362 ml_stat_grp->default_groups[1] = &lacl->ml_stat_grps.scsi_att_intr_port_group; target_stat_setup_mappedlun_default_groups()
H A Dtarget_core_fabric_configfs.c77 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), target_fabric_mappedlun_link() local
123 deve = target_nacl_find_deve(lacl->se_lun_nacl, lacl->mapped_lun); target_fabric_mappedlun_link()
138 return core_dev_add_initiator_node_lun_acl(se_tpg, lacl, lun, lun_access); target_fabric_mappedlun_link()
145 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), target_fabric_mappedlun_unlink() local
150 return core_dev_del_initiator_node_lun_acl(lun, lacl); target_fabric_mappedlun_unlink()
162 struct se_lun_acl *lacl = item_to_lun_acl(item); target_fabric_mappedlun_write_protect_show() local
163 struct se_node_acl *se_nacl = lacl->se_lun_nacl; target_fabric_mappedlun_write_protect_show()
168 deve = target_nacl_find_deve(se_nacl, lacl->mapped_lun); target_fabric_mappedlun_write_protect_show()
181 struct se_lun_acl *lacl = item_to_lun_acl(item); target_fabric_mappedlun_write_protect_store() local
182 struct se_node_acl *se_nacl = lacl->se_lun_nacl; target_fabric_mappedlun_write_protect_store()
194 core_update_device_list_access(lacl->mapped_lun, (op) ? target_fabric_mappedlun_write_protect_store()
197 lacl->se_lun_nacl); target_fabric_mappedlun_write_protect_store()
202 se_nacl->initiatorname, lacl->mapped_lun, (op) ? "ON" : "OFF"); target_fabric_mappedlun_write_protect_store()
217 struct se_lun_acl *lacl = container_of(to_config_group(item), target_fabric_mappedlun_release() local
219 struct se_portal_group *se_tpg = lacl->se_lun_nacl->se_tpg; target_fabric_mappedlun_release()
221 core_dev_free_initiator_node_lun_acl(se_tpg, lacl); target_fabric_mappedlun_release()
275 struct se_lun_acl *lacl = NULL; target_fabric_make_mappedlun() local
311 lacl = core_dev_init_initiator_node_lun_acl(se_tpg, se_nacl, target_fabric_make_mappedlun()
313 if (!lacl) { target_fabric_make_mappedlun()
318 lacl_cg = &lacl->se_lun_group; target_fabric_make_mappedlun()
327 config_group_init_type_name(&lacl->se_lun_group, name, target_fabric_make_mappedlun()
329 config_group_init_type_name(&lacl->ml_stat_grps.stat_group, target_fabric_make_mappedlun()
331 lacl_cg->default_groups[0] = &lacl->ml_stat_grps.stat_group; target_fabric_make_mappedlun()
334 ml_stat_grp = &lacl->ml_stat_grps.stat_group; target_fabric_make_mappedlun()
342 target_stat_setup_mappedlun_default_groups(lacl); target_fabric_make_mappedlun()
345 return &lacl->se_lun_group; target_fabric_make_mappedlun()
349 kfree(lacl); target_fabric_make_mappedlun()
358 struct se_lun_acl *lacl = container_of(to_config_group(item), target_fabric_drop_mappedlun() local
364 ml_stat_grp = &lacl->ml_stat_grps.stat_group; target_fabric_drop_mappedlun()
372 lacl_cg = &lacl->se_lun_group; target_fabric_drop_mappedlun()
H A Dtarget_core_device.c613 struct se_lun_acl *lacl; core_dev_init_initiator_node_lun_acl() local
621 lacl = kzalloc(sizeof(struct se_lun_acl), GFP_KERNEL); core_dev_init_initiator_node_lun_acl()
622 if (!lacl) { core_dev_init_initiator_node_lun_acl()
628 lacl->mapped_lun = mapped_lun; core_dev_init_initiator_node_lun_acl()
629 lacl->se_lun_nacl = nacl; core_dev_init_initiator_node_lun_acl()
631 return lacl; core_dev_init_initiator_node_lun_acl()
636 struct se_lun_acl *lacl, core_dev_add_initiator_node_lun_acl()
640 struct se_node_acl *nacl = lacl->se_lun_nacl; core_dev_add_initiator_node_lun_acl()
654 lacl->se_lun = lun; core_dev_add_initiator_node_lun_acl()
656 if (core_enable_device_list_for_node(lun, lacl, lacl->mapped_lun, core_dev_add_initiator_node_lun_acl()
662 tpg->se_tpg_tfo->tpg_get_tag(tpg), lun->unpacked_lun, lacl->mapped_lun, core_dev_add_initiator_node_lun_acl()
670 lacl->mapped_lun); core_dev_add_initiator_node_lun_acl()
676 struct se_lun_acl *lacl) core_dev_del_initiator_node_lun_acl()
682 nacl = lacl->se_lun_nacl; core_dev_del_initiator_node_lun_acl()
687 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); core_dev_del_initiator_node_lun_acl()
696 nacl->initiatorname, lacl->mapped_lun); core_dev_del_initiator_node_lun_acl()
703 struct se_lun_acl *lacl) core_dev_free_initiator_node_lun_acl()
709 lacl->se_lun_nacl->initiatorname, lacl->mapped_lun); core_dev_free_initiator_node_lun_acl()
711 kfree(lacl); core_dev_free_initiator_node_lun_acl()
634 core_dev_add_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_lun_acl *lacl, struct se_lun *lun, u32 lun_access) core_dev_add_initiator_node_lun_acl() argument
674 core_dev_del_initiator_node_lun_acl( struct se_lun *lun, struct se_lun_acl *lacl) core_dev_del_initiator_node_lun_acl() argument
701 core_dev_free_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_lun_acl *lacl) core_dev_free_initiator_node_lun_acl() argument
H A Dtarget_core_internal.h80 struct se_lun_acl *lacl);
H A Dtarget_core_alua.c947 struct se_lun_acl *lacl; core_alua_queue_state_change_ua() local
972 lacl = rcu_dereference_check(se_deve->se_lun_acl, core_alua_queue_state_change_ua()
995 if (lacl && (tg_pt_gp->tg_pt_gp_alua_nacl != NULL) && core_alua_queue_state_change_ua()
996 (tg_pt_gp->tg_pt_gp_alua_nacl == lacl->se_lun_nacl)) core_alua_queue_state_change_ua()

Completed in 323 milliseconds