The -ka in khalfaka is a genitive possessive pronoun.
Al-Mafʿūl Fīhi: Adverbials of Time and Place