Lines Matching full:backup
163 ttm->backup = NULL; in ttm_tt_init_fields()
190 if (ttm->backup) { in ttm_tt_fini()
191 ttm_backup_fini(ttm->backup); in ttm_tt_fini()
192 ttm->backup = NULL; in ttm_tt_fini()
270 * @flags: Flags that govern the backup behaviour.
283 if (WARN_ON(IS_ERR_OR_NULL(tt->backup))) in ttm_tt_backup()
536 * ttm_tt_setup_backup() - Allocate and assign a backup structure for a ttm_tt
537 * @tt: The ttm_tt for wich to allocate and assign a backup structure.
539 * Assign a backup structure to be used for tt backup. This should
547 struct file *backup = in ttm_tt_setup_backup() local
553 if (IS_ERR(backup)) in ttm_tt_setup_backup()
554 return PTR_ERR(backup); in ttm_tt_setup_backup()
556 if (tt->backup) in ttm_tt_setup_backup()
557 ttm_backup_fini(tt->backup); in ttm_tt_setup_backup()
559 tt->backup = backup; in ttm_tt_setup_backup()