On Generalized Linearity of Quadratic Fractional Functions