Charm and longitudinal structure functions within the Kharzeev-Levin-Nardi model