Lines Matching refs:ocfs2_refcount_tree

48 	struct ocfs2_refcount_tree *ref_tree;
66 static inline struct ocfs2_refcount_tree *
69 return container_of(ci, struct ocfs2_refcount_tree, rf_ci);
142 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
150 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
158 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
166 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
173 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
180 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
194 static struct ocfs2_refcount_tree *
198 struct ocfs2_refcount_tree *tree = NULL;
201 tree = rb_entry(n, struct ocfs2_refcount_tree, rf_node);
216 struct ocfs2_refcount_tree *new)
221 struct ocfs2_refcount_tree *tmp;
226 tmp = rb_entry(parent, struct ocfs2_refcount_tree,
245 static void ocfs2_free_refcount_tree(struct ocfs2_refcount_tree *tree)
255 struct ocfs2_refcount_tree *tree)
263 struct ocfs2_refcount_tree *tree)
272 struct ocfs2_refcount_tree *tree =
273 container_of(kref, struct ocfs2_refcount_tree, rf_getcnt);
279 ocfs2_refcount_tree_get(struct ocfs2_refcount_tree *tree)
285 ocfs2_refcount_tree_put(struct ocfs2_refcount_tree *tree)
290 static inline void ocfs2_init_refcount_tree_ci(struct ocfs2_refcount_tree *new,
300 struct ocfs2_refcount_tree *new,
308 static struct ocfs2_refcount_tree*
311 struct ocfs2_refcount_tree *new;
313 new = kzalloc(sizeof(struct ocfs2_refcount_tree), GFP_NOFS);
325 struct ocfs2_refcount_tree **ret_tree)
328 struct ocfs2_refcount_tree *tree, *new = NULL;
417 struct ocfs2_refcount_tree *tree, int rw)
446 struct ocfs2_refcount_tree **ret_tree,
450 struct ocfs2_refcount_tree *tree = NULL;
518 struct ocfs2_refcount_tree *tree, int rw)
532 struct ocfs2_refcount_tree *tree;
536 tree = rb_entry(node, struct ocfs2_refcount_tree, rf_node);
561 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL;
702 struct ocfs2_refcount_tree *ref_tree;
766 struct ocfs2_refcount_tree *ref_tree;
2289 struct ocfs2_refcount_tree *tree;
2342 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) {
2522 struct ocfs2_refcount_tree *tree;
2525 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) {
3326 if (!ocfs2_refcount_tree(osb)) {
3380 struct ocfs2_refcount_tree *ref_tree;
3586 struct ocfs2_refcount_tree *ref_tree,
3764 struct ocfs2_refcount_tree *ref_tree;
4095 struct ocfs2_refcount_tree *ref_tree;
4242 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)))
4412 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)))
4498 struct ocfs2_refcount_tree *ref_tree;