Home
last modified time | relevance | path

Searched refs:t10_alua (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_alua.c75 spin_lock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
76 if (list_empty(&dev->t10_alua.lba_map_list)) { in target_emulate_report_referrals()
77 spin_unlock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
83 list_for_each_entry(map, &dev->t10_alua.lba_map_list, in target_emulate_report_referrals()
117 spin_unlock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
164 spin_lock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_report_target_port_groups()
165 list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, in target_emulate_report_target_port_groups()
231 spin_unlock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_report_target_port_groups()
359 spin_lock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_set_target_port_groups()
361 &dev->t10_alua in target_emulate_set_target_port_groups()
[all...]
H A Dtarget_core_configfs.c2379 spin_lock(&dev->t10_alua.lba_map_lock); in target_dev_lba_map_show()
2380 if (!list_empty(&dev->t10_alua.lba_map_list)) in target_dev_lba_map_show()
2382 dev->t10_alua.lba_map_segment_size, in target_dev_lba_map_show()
2383 dev->t10_alua.lba_map_segment_multiplier); in target_dev_lba_map_show()
2384 list_for_each_entry(map, &dev->t10_alua.lba_map_list, lba_map_list) { in target_dev_lba_map_show()
2411 spin_unlock(&dev->t10_alua.lba_map_lock); in target_dev_lba_map_show()
3125 struct t10_alua *alua = container_of(group, struct t10_alua, in target_core_alua_create_tg_pt_gp()
3255 config_group_init_type_name(&dev->t10_alua.alua_tg_pt_gps_group, in target_core_make_subdev()
3257 configfs_add_default_group(&dev->t10_alua in target_core_make_subdev()
[all...]
H A Dtarget_core_spc.c471 spin_lock(&cmd->se_dev->t10_alua.lba_map_lock); in spc_emulate_evpd_86()
472 if (!list_empty(&dev->t10_alua.lba_map_list)) in spc_emulate_evpd_86()
474 spin_unlock(&cmd->se_dev->t10_alua.lba_map_lock); in spc_emulate_evpd_86()
657 put_unaligned_be32(dev->t10_alua.lba_map_segment_size, &buf[8]); in spc_emulate_evpd_b3()
658 put_unaligned_be32(dev->t10_alua.lba_map_segment_multiplier, &buf[12]); in spc_emulate_evpd_b3()
H A Dtarget_core_device.c767 INIT_LIST_HEAD(&dev->t10_alua.tg_pt_gps_list); in target_alloc_device()
768 spin_lock_init(&dev->t10_alua.tg_pt_gps_lock); in target_alloc_device()
769 INIT_LIST_HEAD(&dev->t10_alua.lba_map_list); in target_alloc_device()
770 spin_lock_init(&dev->t10_alua.lba_map_lock); in target_alloc_device()
776 dev->t10_alua.t10_dev = dev; in target_alloc_device()
H A Dtarget_core_tpg.c587 target_attach_tg_pt_gp(lun, dev->t10_alua.default_tg_pt_gp); in core_tpg_add_lun()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_alua.c75 spin_lock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
76 if (list_empty(&dev->t10_alua.lba_map_list)) { in target_emulate_report_referrals()
77 spin_unlock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
83 list_for_each_entry(map, &dev->t10_alua.lba_map_list, in target_emulate_report_referrals()
117 spin_unlock(&dev->t10_alua.lba_map_lock); in target_emulate_report_referrals()
164 spin_lock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_report_target_port_groups()
165 list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, in target_emulate_report_target_port_groups()
234 spin_unlock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_report_target_port_groups()
362 spin_lock(&dev->t10_alua.tg_pt_gps_lock); in target_emulate_set_target_port_groups()
364 &dev->t10_alua in target_emulate_set_target_port_groups()
[all...]
H A Dtarget_core_spc.c499 spin_lock(&cmd->se_dev->t10_alua.lba_map_lock); in spc_emulate_evpd_86()
500 if (!list_empty(&dev->t10_alua.lba_map_list)) in spc_emulate_evpd_86()
502 spin_unlock(&cmd->se_dev->t10_alua.lba_map_lock); in spc_emulate_evpd_86()
689 put_unaligned_be32(dev->t10_alua.lba_map_segment_size, &buf[8]); in spc_emulate_evpd_b3()
690 put_unaligned_be32(dev->t10_alua.lba_map_segment_multiplier, &buf[12]); in spc_emulate_evpd_b3()
1501 spin_lock(&dev->t10_alua.lba_map_lock); in tcm_is_rep_ref_enabled()
1502 if (list_empty(&dev->t10_alua.lba_map_list)) { in tcm_is_rep_ref_enabled()
1503 spin_unlock(&dev->t10_alua.lba_map_lock); in tcm_is_rep_ref_enabled()
1506 spin_unlock(&dev->t10_alua.lba_map_lock); in tcm_is_rep_ref_enabled()
H A Dtarget_core_configfs.c2482 spin_lock(&dev->t10_alua.lba_map_lock); in target_dev_lba_map_show()
2483 if (!list_empty(&dev->t10_alua.lba_map_list)) in target_dev_lba_map_show()
2485 dev->t10_alua.lba_map_segment_size, in target_dev_lba_map_show()
2486 dev->t10_alua.lba_map_segment_multiplier); in target_dev_lba_map_show()
2487 list_for_each_entry(map, &dev->t10_alua.lba_map_list, lba_map_list) { in target_dev_lba_map_show()
2514 spin_unlock(&dev->t10_alua.lba_map_lock); in target_dev_lba_map_show()
3219 struct t10_alua *alua = container_of(group, struct t10_alua, in target_core_alua_create_tg_pt_gp()
3349 config_group_init_type_name(&dev->t10_alua.alua_tg_pt_gps_group, in target_core_make_subdev()
3351 configfs_add_default_group(&dev->t10_alua in target_core_make_subdev()
[all...]
H A Dtarget_core_device.c733 INIT_LIST_HEAD(&dev->t10_alua.tg_pt_gps_list); in target_alloc_device()
734 spin_lock_init(&dev->t10_alua.tg_pt_gps_lock); in target_alloc_device()
735 INIT_LIST_HEAD(&dev->t10_alua.lba_map_list); in target_alloc_device()
736 spin_lock_init(&dev->t10_alua.lba_map_lock); in target_alloc_device()
747 dev->t10_alua.t10_dev = dev; in target_alloc_device()
H A Dtarget_core_tpg.c648 target_attach_tg_pt_gp(lun, dev->t10_alua.default_tg_pt_gp); in core_tpg_add_lun()
/kernel/linux/linux-5.10/include/target/
H A Dtarget_core_base.h248 struct t10_alua { struct
831 struct t10_alua t10_alua; member
/kernel/linux/linux-6.6/include/target/
H A Dtarget_core_base.h254 struct t10_alua { struct
849 struct t10_alua t10_alua; member

Completed in 24 milliseconds