t10_alua 75 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.lba_map_lock); t10_alua 76 drivers/target/target_core_alua.c if (list_empty(&dev->t10_alua.lba_map_list)) { t10_alua 77 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 83 drivers/target/target_core_alua.c list_for_each_entry(map, &dev->t10_alua.lba_map_list, t10_alua 117 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 164 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 165 drivers/target/target_core_alua.c list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, t10_alua 231 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 359 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 361 drivers/target/target_core_alua.c &dev->t10_alua.tg_pt_gps_list, t10_alua 371 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 378 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 382 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 472 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.lba_map_lock); t10_alua 473 drivers/target/target_core_alua.c segment_size = dev->t10_alua.lba_map_segment_size; t10_alua 474 drivers/target/target_core_alua.c segment_mult = dev->t10_alua.lba_map_segment_multiplier; t10_alua 482 drivers/target/target_core_alua.c list_for_each_entry(map, &dev->t10_alua.lba_map_list, t10_alua 508 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 519 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 523 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 531 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 1136 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1138 drivers/target/target_core_alua.c &dev->t10_alua.tg_pt_gps_list, t10_alua 1162 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1170 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1175 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1369 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.lba_map_lock); t10_alua 1370 drivers/target/target_core_alua.c dev->t10_alua.lba_map_segment_size = segment_size; t10_alua 1371 drivers/target/target_core_alua.c dev->t10_alua.lba_map_segment_multiplier = segment_mult; t10_alua 1372 drivers/target/target_core_alua.c list_splice_init(&dev->t10_alua.lba_map_list, &old_lba_map_list); t10_alua 1374 drivers/target/target_core_alua.c list_splice_init(lba_map_list, &dev->t10_alua.lba_map_list); t10_alua 1377 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 1378 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1379 drivers/target/target_core_alua.c list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, t10_alua 1391 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1670 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1672 drivers/target/target_core_alua.c dev->t10_alua.alua_tg_pt_gps_counter++; t10_alua 1674 drivers/target/target_core_alua.c dev->t10_alua.alua_tg_pt_gps_count++; t10_alua 1676 drivers/target/target_core_alua.c &dev->t10_alua.tg_pt_gps_list); t10_alua 1677 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1700 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1701 drivers/target/target_core_alua.c if (dev->t10_alua.alua_tg_pt_gps_count == 0x0000ffff) { t10_alua 1704 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1710 drivers/target/target_core_alua.c dev->t10_alua.alua_tg_pt_gps_counter++; t10_alua 1712 drivers/target/target_core_alua.c list_for_each_entry(tg_pt_gp_tmp, &dev->t10_alua.tg_pt_gps_list, t10_alua 1720 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1728 drivers/target/target_core_alua.c &dev->t10_alua.tg_pt_gps_list); t10_alua 1729 drivers/target/target_core_alua.c dev->t10_alua.alua_tg_pt_gps_count++; t10_alua 1730 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1749 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1752 drivers/target/target_core_alua.c dev->t10_alua.alua_tg_pt_gps_count--; t10_alua 1754 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1782 drivers/target/target_core_alua.c if (tg_pt_gp != dev->t10_alua.default_tg_pt_gp) { t10_alua 1784 drivers/target/target_core_alua.c dev->t10_alua.default_tg_pt_gp); t10_alua 1802 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1803 drivers/target/target_core_alua.c list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, t10_alua 1810 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1814 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1824 drivers/target/target_core_alua.c spin_lock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1826 drivers/target/target_core_alua.c spin_unlock(&dev->t10_alua.tg_pt_gps_lock); t10_alua 1970 drivers/target/target_core_alua.c dev->t10_alua.default_tg_pt_gp); t10_alua 2305 drivers/target/target_core_configfs.c spin_lock(&dev->t10_alua.lba_map_lock); t10_alua 2306 drivers/target/target_core_configfs.c if (!list_empty(&dev->t10_alua.lba_map_list)) t10_alua 2308 drivers/target/target_core_configfs.c dev->t10_alua.lba_map_segment_size, t10_alua 2309 drivers/target/target_core_configfs.c dev->t10_alua.lba_map_segment_multiplier); t10_alua 2310 drivers/target/target_core_configfs.c list_for_each_entry(map, &dev->t10_alua.lba_map_list, lba_map_list) { t10_alua 2337 drivers/target/target_core_configfs.c spin_unlock(&dev->t10_alua.lba_map_lock); t10_alua 3051 drivers/target/target_core_configfs.c struct t10_alua *alua = container_of(group, struct t10_alua, t10_alua 3181 drivers/target/target_core_configfs.c config_group_init_type_name(&dev->t10_alua.alua_tg_pt_gps_group, t10_alua 3183 drivers/target/target_core_configfs.c configfs_add_default_group(&dev->t10_alua.alua_tg_pt_gps_group, t10_alua 3197 drivers/target/target_core_configfs.c dev->t10_alua.default_tg_pt_gp = tg_pt_gp; t10_alua 3202 drivers/target/target_core_configfs.c &dev->t10_alua.alua_tg_pt_gps_group); t10_alua 3233 drivers/target/target_core_configfs.c configfs_remove_default_groups(&dev->t10_alua.alua_tg_pt_gps_group); t10_alua 3239 drivers/target/target_core_configfs.c dev->t10_alua.default_tg_pt_gp = NULL; t10_alua 756 drivers/target/target_core_device.c INIT_LIST_HEAD(&dev->t10_alua.tg_pt_gps_list); t10_alua 757 drivers/target/target_core_device.c spin_lock_init(&dev->t10_alua.tg_pt_gps_lock); t10_alua 758 drivers/target/target_core_device.c INIT_LIST_HEAD(&dev->t10_alua.lba_map_list); t10_alua 759 drivers/target/target_core_device.c spin_lock_init(&dev->t10_alua.lba_map_lock); t10_alua 762 drivers/target/target_core_device.c dev->t10_alua.t10_dev = dev; t10_alua 471 drivers/target/target_core_spc.c spin_lock(&cmd->se_dev->t10_alua.lba_map_lock); t10_alua 472 drivers/target/target_core_spc.c if (!list_empty(&dev->t10_alua.lba_map_list)) t10_alua 474 drivers/target/target_core_spc.c spin_unlock(&cmd->se_dev->t10_alua.lba_map_lock); t10_alua 657 drivers/target/target_core_spc.c put_unaligned_be32(dev->t10_alua.lba_map_segment_size, &buf[8]); t10_alua 658 drivers/target/target_core_spc.c put_unaligned_be32(dev->t10_alua.lba_map_segment_multiplier, &buf[12]); t10_alua 600 drivers/target/target_core_tpg.c target_attach_tg_pt_gp(lun, dev->t10_alua.default_tg_pt_gp); t10_alua 815 include/target/target_core_base.h struct t10_alua t10_alua;