Searched refs:ocfs2_refcount_tree (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/fs/ocfs2/
H A Drefcounttree.h20 struct ocfs2_refcount_tree { struct
38 struct ocfs2_refcount_tree **tree,
41 struct ocfs2_refcount_tree *tree,
83 struct ocfs2_refcount_tree *ref_tree,
H A Ddlmglue.h155 struct ocfs2_refcount_tree;
156 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex);
157 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex);
H A Drefcounttree.c56 struct ocfs2_refcount_tree *ref_tree;
74 static inline struct ocfs2_refcount_tree * cache_info_to_refcount()
77 return container_of(ci, struct ocfs2_refcount_tree, rf_ci); cache_info_to_refcount()
150 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); ocfs2_refcount_cache_owner()
158 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); ocfs2_refcount_cache_get_super()
165 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); ocfs2_refcount_cache_lock()
172 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); ocfs2_refcount_cache_unlock()
179 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); ocfs2_refcount_cache_io_lock()
186 struct ocfs2_refcount_tree *rf = cache_info_to_refcount(ci); ocfs2_refcount_cache_io_unlock()
200 static struct ocfs2_refcount_tree * ocfs2_find_refcount_tree()
204 struct ocfs2_refcount_tree *tree = NULL; ocfs2_find_refcount_tree()
207 tree = rb_entry(n, struct ocfs2_refcount_tree, rf_node); ocfs2_find_refcount_tree()
222 struct ocfs2_refcount_tree *new) ocfs2_insert_refcount_tree()
227 struct ocfs2_refcount_tree *tmp; ocfs2_insert_refcount_tree()
232 tmp = rb_entry(parent, struct ocfs2_refcount_tree, ocfs2_insert_refcount_tree()
251 static void ocfs2_free_refcount_tree(struct ocfs2_refcount_tree *tree) ocfs2_free_refcount_tree()
261 struct ocfs2_refcount_tree *tree) ocfs2_erase_refcount_tree_from_list_no_lock()
269 struct ocfs2_refcount_tree *tree) ocfs2_erase_refcount_tree_from_list()
278 struct ocfs2_refcount_tree *tree = ocfs2_kref_remove_refcount_tree()
279 container_of(kref, struct ocfs2_refcount_tree, rf_getcnt); ocfs2_kref_remove_refcount_tree()
285 ocfs2_refcount_tree_get(struct ocfs2_refcount_tree *tree) ocfs2_refcount_tree_get()
291 ocfs2_refcount_tree_put(struct ocfs2_refcount_tree *tree) ocfs2_refcount_tree_put()
296 static inline void ocfs2_init_refcount_tree_ci(struct ocfs2_refcount_tree *new, ocfs2_init_refcount_tree_ci()
306 struct ocfs2_refcount_tree *new, ocfs2_init_refcount_tree_lock()
314 static struct ocfs2_refcount_tree* ocfs2_allocate_refcount_tree()
317 struct ocfs2_refcount_tree *new; ocfs2_allocate_refcount_tree()
319 new = kzalloc(sizeof(struct ocfs2_refcount_tree), GFP_NOFS); ocfs2_allocate_refcount_tree()
331 struct ocfs2_refcount_tree **ret_tree) ocfs2_get_refcount_tree()
334 struct ocfs2_refcount_tree *tree, *new = NULL; ocfs2_get_refcount_tree()
423 struct ocfs2_refcount_tree *tree, int rw) __ocfs2_lock_refcount_tree()
452 struct ocfs2_refcount_tree **ret_tree, ocfs2_lock_refcount_tree()
456 struct ocfs2_refcount_tree *tree = NULL; ocfs2_lock_refcount_tree()
525 struct ocfs2_refcount_tree *tree, int rw) ocfs2_unlock_refcount_tree()
539 struct ocfs2_refcount_tree *tree; ocfs2_purge_refcount_trees()
543 tree = rb_entry(node, struct ocfs2_refcount_tree, rf_node); ocfs2_purge_refcount_trees()
568 struct ocfs2_refcount_tree *new_tree = NULL, *tree = NULL; ocfs2_create_refcount_tree()
709 struct ocfs2_refcount_tree *ref_tree; ocfs2_set_refcount_tree()
773 struct ocfs2_refcount_tree *ref_tree; ocfs2_remove_refcount_tree()
2304 struct ocfs2_refcount_tree *tree; ocfs2_decrease_refcount()
2357 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) { ocfs2_mark_extent_refcounted()
2538 struct ocfs2_refcount_tree *tree; ocfs2_prepare_refcount_change_for_del()
2541 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) { ocfs2_prepare_refcount_change_for_del()
3364 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) { ocfs2_replace_cow()
3419 struct ocfs2_refcount_tree *ref_tree; ocfs2_refcount_cow_hunk()
3625 struct ocfs2_refcount_tree *ref_tree, ocfs2_refcount_cow_xattr()
3801 struct ocfs2_refcount_tree *ref_tree; ocfs2_attach_refcount_tree()
4126 struct ocfs2_refcount_tree *ref_tree; ocfs2_create_reflink_node()
4252 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) ocfs2_reflink()
4413 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) ocfs2_reflink_ioctl()
H A Dmove_extents.c233 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_defrag_extent()
576 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_move_extent()
H A Docfs2.h464 struct ocfs2_refcount_tree *osb_ref_tree_lru;
586 static inline int ocfs2_refcount_tree(struct ocfs2_super *osb) ocfs2_refcount_tree() function
H A Ddlmglue.c326 static inline struct ocfs2_refcount_tree * ocfs2_lock_res_refcount_tree()
329 return container_of(res, struct ocfs2_refcount_tree, rf_lockres); ocfs2_lock_res_refcount_tree()
3796 struct ocfs2_refcount_tree *tree = ocfs2_check_refcount_downconvert()
3805 struct ocfs2_refcount_tree *tree = ocfs2_refcount_convert_worker()
3917 int ocfs2_refcount_lock(struct ocfs2_refcount_tree *ref_tree, int ex) ocfs2_refcount_lock()
3938 void ocfs2_refcount_unlock(struct ocfs2_refcount_tree *ref_tree, int ex) ocfs2_refcount_unlock()
H A Dxattr.c307 struct ocfs2_refcount_tree **ref_tree,
2547 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_xattr_remove()
3523 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_xattr_set()
5750 struct ocfs2_refcount_tree **ref_tree, ocfs2_prepare_refcount_xattr()
7128 struct ocfs2_refcount_tree *ref_tree; ocfs2_reflink_xattrs()
H A Dfile.c2054 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb)) || ocfs2_check_range_for_refcount()
H A Dalloc.c5688 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_remove_btree_range()
7040 struct ocfs2_refcount_tree *ref_tree = NULL; ocfs2_commit_truncate()

Completed in 377 milliseconds