Linear Bound on the Irregularity Strength and the Total Vertex Irregularity Strength of Graphs