Searched refs:io_failure_tree (Results 1 – 3 of 3) sorted by relevance
99 struct rb_root io_failure_tree; member
500 exist = rb_simple_insert(&inode->io_failure_tree, failrec->bytenr, in insert_failrec()513 node = rb_simple_search(&inode->io_failure_tree, start); in get_failrec()524 rb_erase(&rec->rb_node, &inode->io_failure_tree); in free_io_failure()720 if (RB_EMPTY_ROOT(&inode->io_failure_tree)) in btrfs_free_io_failure_record()724 node = rb_simple_search_first(&inode->io_failure_tree, start); in btrfs_free_io_failure_record()731 rb_erase(&failrec->rb_node, &inode->io_failure_tree); in btrfs_free_io_failure_record()
8790 ei->io_failure_tree = RB_ROOT; in btrfs_alloc_inode()