• Home
  • Raw
  • Download

Lines Matching refs:refs

45 	refcount_set(&delayed_node->refs, 0);  in btrfs_init_delayed_node()
74 refcount_inc(&node->refs); in btrfs_get_delayed_node()
83 refcount_inc(&node->refs); /* can be accessed */ in btrfs_get_delayed_node()
105 if (refcount_inc_not_zero(&node->refs)) { in btrfs_get_delayed_node()
106 refcount_inc(&node->refs); in btrfs_get_delayed_node()
140 refcount_set(&node->refs, 2); in btrfs_get_or_create_delayed_node()
181 refcount_inc(&node->refs); /* inserted into list */ in btrfs_queue_delayed_node()
195 refcount_dec(&node->refs); /* not in the list */ in btrfs_dequeue_delayed_node()
216 refcount_inc(&node->refs); in btrfs_first_delayed_node()
243 refcount_inc(&next->refs); in btrfs_next_delayed_node()
268 if (refcount_dec_and_test(&delayed_node->refs)) { in __btrfs_release_delayed_node()
276 ASSERT(refcount_read(&delayed_node->refs) == 0); in __btrfs_release_delayed_node()
302 refcount_inc(&node->refs); in btrfs_first_prepared_delayed_node()
324 refcount_set(&item->refs, 1); in btrfs_alloc_delayed_item()
502 if (refcount_dec_and_test(&item->refs)) in btrfs_release_delayed_item()
1598 refcount_inc(&item->refs); in btrfs_readdir_get_delayed_items()
1605 refcount_inc(&item->refs); in btrfs_readdir_get_delayed_items()
1619 refcount_dec(&delayed_node->refs); in btrfs_readdir_get_delayed_items()
1632 if (refcount_dec_and_test(&curr->refs)) in btrfs_readdir_put_delayed_items()
1638 if (refcount_dec_and_test(&curr->refs)) in btrfs_readdir_put_delayed_items()
1693 if (refcount_dec_and_test(&curr->refs)) in btrfs_readdir_delayed_dir_index()
1710 if (refcount_dec_and_test(&curr->refs)) in btrfs_readdir_delayed_dir_index()
1957 if (!refcount_inc_not_zero(&delayed_nodes[i]->refs)) in btrfs_kill_all_delayed_nodes()