Functional survival with chronic HIV infection and exposure