Lines Matching refs:ocfs2_refcount_tree

49 	struct ocfs2_refcount_tree *ref_tree;
67 static inline struct ocfs2_refcount_tree *
70 return container_of(ci, struct ocfs2_refcount_tree, rf_ci);
143 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
151 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
159 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
167 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
174 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
181 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
195 static struct ocfs2_refcount_tree *
199 struct ocfs2_refcount_tree *tree = NULL;
202 tree = rb_entry(n, struct ocfs2_refcount_tree, rf_node);
217 struct ocfs2_refcount_tree *new)
222 struct ocfs2_refcount_tree *tmp;
227 tmp = rb_entry(parent, struct ocfs2_refcount_tree,
246 static void ocfs2_free_refcount_tree(struct ocfs2_refcount_tree *tree)
256 struct ocfs2_refcount_tree *tree)
264 struct ocfs2_refcount_tree *tree)
273 struct ocfs2_refcount_tree *tree =
274 container_of(kref, struct ocfs2_refcount_tree, rf_getcnt);
280 ocfs2_refcount_tree_get(struct ocfs2_refcount_tree *tree)
286 ocfs2_refcount_tree_put(struct ocfs2_refcount_tree *tree)
291 static inline void ocfs2_init_refcount_tree_ci(struct ocfs2_refcount_tree *new,
301 struct ocfs2_refcount_tree *new,
309 static struct ocfs2_refcount_tree*
312 struct ocfs2_refcount_tree *new;
314 new = kzalloc(sizeof(struct ocfs2_refcount_tree), GFP_NOFS);
326 struct ocfs2_refcount_tree **ret_tree)
329 struct ocfs2_refcount_tree *tree, *new = NULL;
418 struct ocfs2_refcount_tree *tree, int rw)
447 struct ocfs2_refcount_tree **ret_tree,
451 struct ocfs2_refcount_tree *tree = NULL;
519 struct ocfs2_refcount_tree *tree, int rw)
533 struct ocfs2_refcount_tree *tree;
537 tree = rb_entry(node, struct ocfs2_refcount_tree, rf_node);
562 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL;
703 struct ocfs2_refcount_tree *ref_tree;
767 struct ocfs2_refcount_tree *ref_tree;
2297 struct ocfs2_refcount_tree *tree;
2350 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) {
2530 struct ocfs2_refcount_tree *tree;
2533 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) {
3364 if (!ocfs2_refcount_tree(osb)) {
3418 struct ocfs2_refcount_tree *ref_tree;
3624 struct ocfs2_refcount_tree *ref_tree,
3802 struct ocfs2_refcount_tree *ref_tree;
4133 struct ocfs2_refcount_tree *ref_tree;
4259 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)))
4429 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)))
4515 struct ocfs2_refcount_tree *ref_tree;