Lines Matching refs:tpgs
69 int tpgs; member
218 int group_id, int tpgs) in alua_alloc_pg() argument
240 pg->tpgs = tpgs; in alua_alloc_pg()
276 int tpgs = TPGS_MODE_NONE; in alua_check_tpgs() local
286 return tpgs; in alua_check_tpgs()
289 tpgs = scsi_device_tpgs(sdev); in alua_check_tpgs()
290 switch (tpgs) { in alua_check_tpgs()
311 ALUA_DH_NAME, tpgs); in alua_check_tpgs()
312 tpgs = TPGS_MODE_NONE; in alua_check_tpgs()
316 return tpgs; in alua_check_tpgs()
327 int tpgs) in alua_check_vpd() argument
347 pg = alua_alloc_pg(sdev, group_id, tpgs); in alua_check_vpd()
790 if (!(pg->tpgs & TPGS_MODE_EXPLICIT)) { in alua_stpg()
800 (pg->tpgs & TPGS_MODE_IMPLICIT)) in alua_stpg()
1068 int err = SCSI_DH_DEV_UNSUPP, tpgs; in alua_initialize() local
1072 tpgs = alua_check_tpgs(sdev); in alua_initialize()
1073 if (tpgs != TPGS_MODE_NONE) in alua_initialize()
1074 err = alua_check_vpd(sdev, h, tpgs); in alua_initialize()