Searched refs:tg_pt_gp (Results 1 – 3 of 3) sorted by relevance
40 struct t10_alua_tg_pt_gp *tg_pt_gp);139 struct t10_alua_tg_pt_gp *tg_pt_gp; in target_emulate_report_target_port_groups() local165 list_for_each_entry(tg_pt_gp, &dev->t10_alua.tg_pt_gps_list, in target_emulate_report_target_port_groups()168 if (!tg_pt_gp->tg_pt_gp_members) in target_emulate_report_target_port_groups()176 if ((off + 8 + (tg_pt_gp->tg_pt_gp_members * 4)) > in target_emulate_report_target_port_groups()178 rd_len += 8 + (tg_pt_gp->tg_pt_gp_members * 4); in target_emulate_report_target_port_groups()185 if (tg_pt_gp->tg_pt_gp_pref) in target_emulate_report_target_port_groups()190 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_access_state & 0xff; in target_emulate_report_target_port_groups()194 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_supported_states; in target_emulate_report_target_port_groups()198 put_unaligned_be16(tg_pt_gp->tg_pt_gp_id, &buf[off]); in target_emulate_report_target_port_groups()[all …]
2859 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_state_store() local2860 struct se_device *dev = tg_pt_gp->tg_pt_gp_dev; in target_tg_pt_gp_alua_access_state_store()2864 if (!tg_pt_gp->tg_pt_gp_valid_id) { in target_tg_pt_gp_alua_access_state_store()2882 if (!(tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_IMPLICIT_ALUA)) { in target_tg_pt_gp_alua_access_state_store()2887 if (tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_EXPLICIT_ALUA && in target_tg_pt_gp_alua_access_state_store()2895 ret = core_alua_do_port_transition(tg_pt_gp, dev, in target_tg_pt_gp_alua_access_state_store()2903 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_status_show() local2905 core_alua_dump_status(tg_pt_gp->tg_pt_gp_alua_access_status)); in target_tg_pt_gp_alua_access_status_show()2911 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_status_store() local2915 if (!tg_pt_gp->tg_pt_gp_valid_id) { in target_tg_pt_gp_alua_access_status_store()[all …]
30 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_fill_alua_data() local44 tg_pt_gp = rcu_dereference(lun->lun_tg_pt_gp); in spc_fill_alua_data()45 if (tg_pt_gp) in spc_fill_alua_data()46 buf[5] |= tg_pt_gp->tg_pt_gp_alua_access_type; in spc_fill_alua_data()227 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_emulate_evpd_83() local326 tg_pt_gp = rcu_dereference(lun->lun_tg_pt_gp); in spc_emulate_evpd_83()327 if (!tg_pt_gp) { in spc_emulate_evpd_83()331 tg_pt_gp_id = tg_pt_gp->tg_pt_gp_id; in spc_emulate_evpd_83()