The cinder.quota_utils Module

get_volume_type_reservation(ctxt, volume, type_id)