restore_file
lm_file = pds_vfio->restore_file;
if (!pds_vfio->restore_file)
pds_vfio_put_lm_file(pds_vfio->restore_file);
pds_vfio->restore_file = NULL;
pds_vfio->restore_file = lm_file;
return pds_vfio->restore_file->filep;
struct pds_vfio_lm_file *restore_file;
restore_file(TR_CURRENT, &save_state.tracer, current_tracer);
restore_file(TR_THRESH, &save_state.thresh, threshold);