Lines Matching refs:io_failure_record
495 struct io_failure_record *failrec) in insert_failrec()
507 static struct io_failure_record *get_failrec(struct btrfs_inode *inode, u64 start) in get_failrec()
510 struct io_failure_record *failrec = ERR_PTR(-ENOENT); in get_failrec()
515 failrec = rb_entry(node, struct io_failure_record, rb_node); in get_failrec()
521 struct io_failure_record *rec) in free_io_failure()
653 static int next_mirror(const struct io_failure_record *failrec, int cur_mirror) in next_mirror()
660 static int prev_mirror(const struct io_failure_record *failrec, int cur_mirror) in prev_mirror()
678 struct io_failure_record *failrec; in btrfs_clean_io_failure()
717 struct io_failure_record *failrec; in btrfs_free_io_failure_record()
726 failrec = rb_entry(node, struct io_failure_record, rb_node); in btrfs_free_io_failure_record()
739 static struct io_failure_record *btrfs_get_io_failure_record(struct inode *inode, in btrfs_get_io_failure_record()
745 struct io_failure_record *failrec; in btrfs_get_io_failure_record()
808 struct io_failure_record *failrec; in btrfs_repair_one_sector()