Home
last modified time | relevance | path

Searched defs:tree (Results 1 – 25 of 46) sorted by relevance

12

/fs/btrfs/
Dextent-io-tree.h110 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in lock_extent()
137 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end) in unlock_extent()
142 static inline int unlock_extent_cached(struct extent_io_tree *tree, u64 start, in unlock_extent_cached()
149 static inline int unlock_extent_cached_atomic(struct extent_io_tree *tree, in unlock_extent_cached_atomic()
156 static inline int clear_extent_bits(struct extent_io_tree *tree, u64 start, in clear_extent_bits()
176 static inline int set_extent_bits(struct extent_io_tree *tree, u64 start, in set_extent_bits()
183 static inline int clear_extent_uptodate(struct extent_io_tree *tree, u64 start, in clear_extent_uptodate()
190 static inline int set_extent_dirty(struct extent_io_tree *tree, u64 start, in set_extent_dirty()
197 static inline int clear_extent_dirty(struct extent_io_tree *tree, u64 start, in clear_extent_dirty()
209 static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start, in set_extent_delalloc()
[all …]
Dextent_map.c36 void extent_map_tree_init(struct extent_map_tree *tree) in extent_map_tree_init()
235 static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) in try_merge_map()
296 int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len, in unpin_extent_cache()
335 void clear_em_logging(struct extent_map_tree *tree, struct extent_map *em) in clear_em_logging()
342 static inline void setup_extent_mapping(struct extent_map_tree *tree, in setup_extent_mapping()
400 int add_extent_mapping(struct extent_map_tree *tree, in add_extent_mapping()
421 __lookup_extent_mapping(struct extent_map_tree *tree, in __lookup_extent_mapping()
460 struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree, in lookup_extent_mapping()
477 struct extent_map *search_extent_mapping(struct extent_map_tree *tree, in search_extent_mapping()
491 void remove_extent_mapping(struct extent_map_tree *tree, struct extent_map *em) in remove_extent_mapping()
[all …]
Dordered-data.c124 static inline struct rb_node *tree_search(struct btrfs_ordered_inode_tree *tree, in tree_search()
159 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in __btrfs_add_ordered_extent() local
293 struct btrfs_ordered_inode_tree *tree; in btrfs_add_ordered_sum() local
321 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_mark_ordered_io_finished() local
461 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_dec_test_ordered_pending() local
541 struct btrfs_ordered_inode_tree *tree; in btrfs_remove_ordered_extent() local
816 struct btrfs_ordered_inode_tree *tree; in btrfs_lookup_ordered_extent() local
843 struct btrfs_ordered_inode_tree *tree; in btrfs_lookup_ordered_range() local
884 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_get_ordered_extents_for_logging() local
912 struct btrfs_ordered_inode_tree *tree; in btrfs_lookup_first_ordered_extent() local
[all …]
Dextent_io.c108 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument
111 struct extent_io_tree *tree, u64 start, u64 end) in __btrfs_debug_check_extent_io_range()
172 struct extent_io_tree *tree = bio->bi_private; in submit_one_bio() local
289 struct extent_io_tree *tree, unsigned int owner, in extent_io_tree_init()
302 void extent_io_tree_release(struct extent_io_tree *tree) in extent_io_tree_release()
419 static struct rb_node *__etree_search(struct extent_io_tree *tree, u64 offset, in __etree_search()
472 tree_search_for_insert(struct extent_io_tree *tree, in tree_search_for_insert()
486 static inline struct rb_node *tree_search(struct extent_io_tree *tree, in tree_search()
501 static void merge_state(struct extent_io_tree *tree, in merge_state()
556 static int insert_state(struct extent_io_tree *tree, in insert_state()
[all …]
Dordered-data.h12 struct rb_root tree; member
/fs/hfs/
Dbtree.c21 struct hfs_btree *tree; in hfs_btree_open() local
137 void hfs_btree_close(struct hfs_btree *tree) in hfs_btree_close()
160 void hfs_btree_write(struct hfs_btree *tree) in hfs_btree_write()
190 struct hfs_btree *tree = prev->tree; in hfs_bmap_new_bmap() local
224 int hfs_bmap_reserve(struct hfs_btree *tree, int rsvd_nodes) in hfs_bmap_reserve()
247 struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree) in hfs_bmap_alloc()
323 struct hfs_btree *tree; in hfs_bmap_free() local
Dbnode.c63 struct hfs_btree *tree; in hfs_bnode_read_key() local
188 struct hfs_btree *tree; in hfs_bnode_unlink() local
233 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash()
251 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create()
328 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find()
421 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create()
473 struct hfs_btree *tree = node->tree; in hfs_bnode_put() local
Dbrec.c67 struct hfs_btree *tree; in hfs_brec_insert() local
179 struct hfs_btree *tree; in hfs_brec_remove() local
233 struct hfs_btree *tree; in hfs_bnode_split() local
354 struct hfs_btree *tree; in hfs_brec_update_parent() local
458 static int hfs_btree_inc_height(struct hfs_btree *tree) in hfs_btree_inc_height()
Dbfind.c15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init()
109 struct hfs_btree *tree; in hfs_brec_find() local
176 struct hfs_btree *tree; in hfs_brec_goto() local
Dbtree.h54 struct hfs_btree *tree; member
80 struct hfs_btree *tree; member
/fs/hfsplus/
Dbtree.c135 struct hfs_btree *tree; in hfs_btree_open() local
258 void hfs_btree_close(struct hfs_btree *tree) in hfs_btree_close()
282 int hfs_btree_write(struct hfs_btree *tree) in hfs_btree_write()
314 struct hfs_btree *tree = prev->tree; in hfs_bmap_new_bmap() local
346 int hfs_bmap_reserve(struct hfs_btree *tree, int rsvd_nodes) in hfs_bmap_reserve()
373 struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree) in hfs_bmap_alloc()
450 struct hfs_btree *tree; in hfs_bmap_free() local
Dbnode.c61 struct hfs_btree *tree; in hfs_bnode_read_key() local
337 struct hfs_btree *tree; in hfs_bnode_unlink() local
383 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash()
400 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create()
478 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find()
573 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create()
625 struct hfs_btree *tree = node->tree; in hfs_bnode_put() local
657 bool hfs_bnode_need_zeroout(struct hfs_btree *tree) in hfs_bnode_need_zeroout()
Dbrec.c65 struct hfs_btree *tree; in hfs_brec_insert() local
181 struct hfs_btree *tree; in hfs_brec_remove() local
237 struct hfs_btree *tree; in hfs_bnode_split() local
358 struct hfs_btree *tree; in hfs_brec_update_parent() local
462 static int hfs_btree_inc_height(struct hfs_btree *tree) in hfs_btree_inc_height()
Dbfind.c15 int hfs_find_init(struct hfs_btree *tree, struct hfs_find_data *fd) in hfs_find_init()
166 struct hfs_btree *tree; in hfs_brec_find() local
233 struct hfs_btree *tree; in hfs_brec_goto() local
Dsuper.c105 struct hfs_btree *tree = NULL; in hfsplus_system_write_inode() local
Dhfsplus_fs.h104 struct hfs_btree *tree; member
290 struct hfs_btree *tree; member
/fs/unicode/
Dmkutf8data.c345 struct tree { struct
350 struct tree *next; argument
355 int *(*leaf_index)(struct tree *, void *); argument
378 * Example lookup function for a tree. argument
380 static void *lookup(struct tree *tree, const char *key) in lookup()
417 static void tree_walk(struct tree *tree) in tree_walk()
533 static int insert(struct tree *tree, char *key, int keylen, void *leaf) in insert()
654 static void prune(struct tree *tree) in prune()
815 static void mark_nodes(struct tree *tree) in mark_nodes()
942 static int index_nodes(struct tree *tree, int index) in index_nodes()
[all …]
/fs/ext4/
Dextents_status.c174 void ext4_es_init_tree(struct ext4_es_tree *tree) in ext4_es_init_tree()
183 struct ext4_es_tree *tree; in ext4_es_print_tree() local
264 struct ext4_es_tree *tree = NULL; in __es_find_extent_range() local
571 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in ext4_es_try_to_merge_left() local
595 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in ext4_es_try_to_merge_right() local
791 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in __es_insert_extent() local
989 struct ext4_es_tree *tree; in ext4_es_lookup_extent() local
1248 struct ext4_pending_tree *tree = &EXT4_I(inode)->i_pending_tree; in get_rsvd() local
1375 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in __es_remove_extent() local
1774 struct ext4_es_tree *tree = &ei->i_es_tree; in es_do_reclaim_extents() local
[all …]
/fs/ocfs2/
Duptodate.c157 unsigned int tree, to_purge, purged; in ocfs2_metadata_cache_purge() local
350 struct ocfs2_meta_cache_item **tree) in ocfs2_expand_cache()
390 struct ocfs2_meta_cache_item *tree[OCFS2_CACHE_INFO_MAX_ARRAY] = in __ocfs2_set_buffer_uptodate() local
Drefcounttree.c197 struct ocfs2_refcount_tree *tree = NULL; in ocfs2_find_refcount_tree() local
244 static void ocfs2_free_refcount_tree(struct ocfs2_refcount_tree *tree) in ocfs2_free_refcount_tree()
254 struct ocfs2_refcount_tree *tree) in ocfs2_erase_refcount_tree_from_list_no_lock()
262 struct ocfs2_refcount_tree *tree) in ocfs2_erase_refcount_tree_from_list()
271 struct ocfs2_refcount_tree *tree = in ocfs2_kref_remove_refcount_tree() local
278 ocfs2_refcount_tree_get(struct ocfs2_refcount_tree *tree) in ocfs2_refcount_tree_get()
284 ocfs2_refcount_tree_put(struct ocfs2_refcount_tree *tree) in ocfs2_refcount_tree_put()
327 struct ocfs2_refcount_tree *tree, *new = NULL; in ocfs2_get_refcount_tree() local
416 struct ocfs2_refcount_tree *tree, int rw) in __ocfs2_lock_refcount_tree()
449 struct ocfs2_refcount_tree *tree = NULL; in ocfs2_lock_refcount_tree() local
[all …]
/fs/xfs/
Dxfs_dquot.c777 struct radix_tree_root *tree, in xfs_qm_dqget_cache_lookup()
818 struct radix_tree_root *tree, in xfs_qm_dqget_cache_insert()
882 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget() local
971 struct radix_tree_root *tree = xfs_dquot_tree(qi, type); in xfs_qm_dqget_inode() local
/fs/dlm/
Ddebug_fs.c423 struct rb_root *tree; in table_seq_start() local
505 struct rb_root *tree; in table_seq_next() local
/fs/incfs/
Dintegrity.c202 void incfs_free_mtree(struct mtree *tree) in incfs_free_mtree()
/fs/btrfs/tests/
Dextent-io-tests.c435 struct extent_io_tree tree; in test_find_first_clear_extent_bit() local
/fs/cifs/
Dconnect.c3617 const char *tree, struct cifs_tcon *tcon, in CIFSTCon()
4177 struct cifs_sb_info *cifs_sb, char *tree, in __tree_connect_dfs_target()
4276 struct cifs_sb_info *cifs_sb, char *tree, in tree_connect_dfs_target()
4309 char *tree; in cifs_tree_connect() local

12