Lines Matching refs:btrfs_delayed_ref_head
317 static struct btrfs_delayed_ref_head *htree_insert(struct rb_root_cached *root, in htree_insert()
322 struct btrfs_delayed_ref_head *entry; in htree_insert()
323 struct btrfs_delayed_ref_head *ins; in htree_insert()
327 ins = rb_entry(node, struct btrfs_delayed_ref_head, href_node); in htree_insert()
331 entry = rb_entry(parent_node, struct btrfs_delayed_ref_head, in htree_insert()
380 static struct btrfs_delayed_ref_head *find_first_ref_head( in find_first_ref_head()
384 struct btrfs_delayed_ref_head *entry; in find_first_ref_head()
390 entry = rb_entry(n, struct btrfs_delayed_ref_head, href_node); in find_first_ref_head()
400 static struct btrfs_delayed_ref_head *find_ref_head( in find_ref_head()
406 struct btrfs_delayed_ref_head *entry; in find_ref_head()
411 entry = rb_entry(n, struct btrfs_delayed_ref_head, href_node); in find_ref_head()
425 entry = rb_entry(n, struct btrfs_delayed_ref_head, in find_ref_head()
434 struct btrfs_delayed_ref_head *head) in btrfs_delayed_ref_lock()
456 struct btrfs_delayed_ref_head *head, in drop_delayed_ref()
471 struct btrfs_delayed_ref_head *head, in merge_ref()
518 struct btrfs_delayed_ref_head *head) in btrfs_merge_delayed_refs()
560 struct btrfs_delayed_ref_head *btrfs_select_ref_head( in btrfs_select_ref_head()
563 struct btrfs_delayed_ref_head *head; in btrfs_select_ref_head()
586 head = rb_entry(node, struct btrfs_delayed_ref_head, in btrfs_select_ref_head()
599 struct btrfs_delayed_ref_head *head) in btrfs_delete_ref_head()
620 struct btrfs_delayed_ref_head *href, in insert_delayed_ref()
673 struct btrfs_delayed_ref_head *existing, in update_existing_head_ref()
674 struct btrfs_delayed_ref_head *update) in update_existing_head_ref()
763 static void init_delayed_ref_head(struct btrfs_delayed_ref_head *head_ref, in init_delayed_ref_head()
846 static noinline struct btrfs_delayed_ref_head *
848 struct btrfs_delayed_ref_head *head_ref, in add_delayed_ref_head()
853 struct btrfs_delayed_ref_head *existing; in add_delayed_ref_head()
1007 struct btrfs_delayed_ref_head *head_ref; in add_delayed_ref()
1008 struct btrfs_delayed_ref_head *new_head_ref; in add_delayed_ref()
1116 struct btrfs_delayed_ref_head *head_ref; in btrfs_add_delayed_extent_op()
1117 struct btrfs_delayed_ref_head *head_ref_ret; in btrfs_add_delayed_extent_op()
1166 struct btrfs_delayed_ref_head *
1207 bool btrfs_find_delayed_tree_ref(struct btrfs_delayed_ref_head *head, in btrfs_find_delayed_tree_ref()
1250 btrfs_delayed_ref_head_cachep = KMEM_CACHE(btrfs_delayed_ref_head, 0); in btrfs_delayed_ref_init()