Home
last modified time | relevance | path

Searched refs:t10_alua (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/target/
Dtarget_core_alua.c85 spin_lock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
86 if (list_empty(&dev->t10_alua.lba_map_list)) { in target_emulate_report_referrals()
87 spin_unlock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
93 list_for_each_entry(map, &dev->t10_alua.lba_map_list, in target_emulate_report_referrals()
127 spin_unlock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
174 spin_lock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_report_target_port_groups()
175 list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, in target_emulate_report_target_port_groups()
242 spin_unlock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_report_target_port_groups()
370 spin_lock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_set_target_port_groups()
372 &dev->t10_alua.tg_pt_gps_list, in target_emulate_set_target_port_groups()
[all …]
Dtarget_core_configfs.c1941 spin_lock(&dev->t10_alua.lba_map_lock); in target_dev_lba_map_show()
1942 if (!list_empty(&dev->t10_alua.lba_map_list)) in target_dev_lba_map_show()
1944 dev->t10_alua.lba_map_segment_size, in target_dev_lba_map_show()
1945 dev->t10_alua.lba_map_segment_multiplier); in target_dev_lba_map_show()
1946 list_for_each_entry(map, &dev->t10_alua.lba_map_list, lba_map_list) { in target_dev_lba_map_show()
1973 spin_unlock(&dev->t10_alua.lba_map_lock); in target_dev_lba_map_show()
2684 struct t10_alua *alua = container_of(group, struct t10_alua, in target_core_alua_create_tg_pt_gp()
2811 config_group_init_type_name(&dev->t10_alua.alua_tg_pt_gps_group, in target_core_make_subdev()
2819 dev_cg->default_groups[3] = &dev->t10_alua.alua_tg_pt_gps_group; in target_core_make_subdev()
2828 dev->t10_alua.default_tg_pt_gp = tg_pt_gp; in target_core_make_subdev()
[all …]
Dtarget_core_spc.c475 spin_lock(&cmd->se_dev->t10_alua.lba_map_lock); in spc_emulate_evpd_86()
476 if (!list_empty(&dev->t10_alua.lba_map_list)) in spc_emulate_evpd_86()
478 spin_unlock(&cmd->se_dev->t10_alua.lba_map_lock); in spc_emulate_evpd_86()
649 put_unaligned_be32(dev->t10_alua.lba_map_segment_size, &buf[8]); in spc_emulate_evpd_b3()
650 put_unaligned_be32(dev->t10_alua.lba_map_segment_multiplier, &buf[12]); in spc_emulate_evpd_b3()
Dtarget_core_device.c785 INIT_LIST_HEAD(&dev->t10_alua.tg_pt_gps_list); in target_alloc_device()
786 spin_lock_init(&dev->t10_alua.tg_pt_gps_lock); in target_alloc_device()
787 INIT_LIST_HEAD(&dev->t10_alua.lba_map_list); in target_alloc_device()
788 spin_lock_init(&dev->t10_alua.lba_map_lock); in target_alloc_device()
791 dev->t10_alua.t10_dev = dev; in target_alloc_device()
Dtarget_core_tpg.c660 target_attach_tg_pt_gp(lun, dev->t10_alua.default_tg_pt_gp); in core_tpg_add_lun()
/linux-4.4.14/include/target/
Dtarget_core_base.h237 struct t10_alua { struct
812 struct t10_alua t10_alua; member