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()173 if ((off + 8 + (tg_pt_gp->tg_pt_gp_members * 4)) > in target_emulate_report_target_port_groups()175 rd_len += 8 + (tg_pt_gp->tg_pt_gp_members * 4); in target_emulate_report_target_port_groups()182 if (tg_pt_gp->tg_pt_gp_pref) in target_emulate_report_target_port_groups()187 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_access_state & 0xff; in target_emulate_report_target_port_groups()191 buf[off++] |= tg_pt_gp->tg_pt_gp_alua_supported_states; in target_emulate_report_target_port_groups()195 put_unaligned_be16(tg_pt_gp->tg_pt_gp_id, &buf[off]); in target_emulate_report_target_port_groups()202 buf[off++] = (tg_pt_gp->tg_pt_gp_alua_access_status & 0xff); in target_emulate_report_target_port_groups()[all …]
2758 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_state_store() local2759 struct se_device *dev = tg_pt_gp->tg_pt_gp_dev; in target_tg_pt_gp_alua_access_state_store()2763 if (!tg_pt_gp->tg_pt_gp_valid_id) { in target_tg_pt_gp_alua_access_state_store()2765 " tg_pt_gp ID: %hu\n", tg_pt_gp->tg_pt_gp_valid_id); in target_tg_pt_gp_alua_access_state_store()2782 if (!(tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_IMPLICIT_ALUA)) { in target_tg_pt_gp_alua_access_state_store()2787 if (tg_pt_gp->tg_pt_gp_alua_access_type & TPGS_EXPLICIT_ALUA && in target_tg_pt_gp_alua_access_state_store()2795 ret = core_alua_do_port_transition(tg_pt_gp, dev, in target_tg_pt_gp_alua_access_state_store()2803 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_status_show() local2805 core_alua_dump_status(tg_pt_gp->tg_pt_gp_alua_access_status)); in target_tg_pt_gp_alua_access_status_show()2811 struct t10_alua_tg_pt_gp *tg_pt_gp = to_tg_pt_gp(item); in target_tg_pt_gp_alua_access_status_store() local[all …]
30 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_fill_alua_data() local44 tg_pt_gp = 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()174 struct t10_alua_tg_pt_gp *tg_pt_gp; in spc_emulate_evpd_83() local298 tg_pt_gp = lun->lun_tg_pt_gp; in spc_emulate_evpd_83()299 if (!tg_pt_gp) { in spc_emulate_evpd_83()303 tg_pt_gp_id = tg_pt_gp->tg_pt_gp_id; in spc_emulate_evpd_83()