Lines Matching refs:ocfs2_refcount_tree

47 	struct ocfs2_refcount_tree *ref_tree;
65 static inline struct ocfs2_refcount_tree *
68 return container_of(ci, struct ocfs2_refcount_tree, rf_ci);
141 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
149 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
157 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
165 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
172 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
179 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci);
193 static struct ocfs2_refcount_tree *
197 struct ocfs2_refcount_tree *tree = NULL;
200 tree = rb_entry(n, struct ocfs2_refcount_tree, rf_node);
215 struct ocfs2_refcount_tree *new)
220 struct ocfs2_refcount_tree *tmp;
225 tmp = rb_entry(parent, struct ocfs2_refcount_tree,
244 static void ocfs2_free_refcount_tree(struct ocfs2_refcount_tree *tree)
254 struct ocfs2_refcount_tree *tree)
262 struct ocfs2_refcount_tree *tree)
271 struct ocfs2_refcount_tree *tree =
272 container_of(kref, struct ocfs2_refcount_tree, rf_getcnt);
278 ocfs2_refcount_tree_get(struct ocfs2_refcount_tree *tree)
284 ocfs2_refcount_tree_put(struct ocfs2_refcount_tree *tree)
289 static inline void ocfs2_init_refcount_tree_ci(struct ocfs2_refcount_tree *new,
299 struct ocfs2_refcount_tree *new,
307 static struct ocfs2_refcount_tree*
310 struct ocfs2_refcount_tree *new;
312 new = kzalloc(sizeof(struct ocfs2_refcount_tree), GFP_NOFS);
324 struct ocfs2_refcount_tree **ret_tree)
327 struct ocfs2_refcount_tree *tree, *new = NULL;
416 struct ocfs2_refcount_tree *tree, int rw)
445 struct ocfs2_refcount_tree **ret_tree,
449 struct ocfs2_refcount_tree *tree = NULL;
517 struct ocfs2_refcount_tree *tree, int rw)
531 struct ocfs2_refcount_tree *tree;
535 tree = rb_entry(node, struct ocfs2_refcount_tree, rf_node);
560 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL;
701 struct ocfs2_refcount_tree *ref_tree;
765 struct ocfs2_refcount_tree *ref_tree;
2295 struct ocfs2_refcount_tree *tree;
2348 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) {
2528 struct ocfs2_refcount_tree *tree;
2531 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) {
3335 if (!ocfs2_refcount_tree(osb)) {
3389 struct ocfs2_refcount_tree *ref_tree;
3595 struct ocfs2_refcount_tree *ref_tree,
3773 struct ocfs2_refcount_tree *ref_tree;
4104 struct ocfs2_refcount_tree *ref_tree;
4230 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)))
4400 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)))
4486 struct ocfs2_refcount_tree *ref_tree;