Home
last modified time | relevance | path

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

12345

/Linux-v6.1/fs/btrfs/
Dextent-io-tree.c54 #define btrfs_debug_check_extent_io_range(tree, start, end) \ argument
57 struct extent_io_tree *tree, in __btrfs_debug_check_extent_io_range()
96 struct extent_io_tree *tree, unsigned int owner, in extent_io_tree_init()
108 void extent_io_tree_release(struct extent_io_tree *tree) in extent_io_tree_release()
233 static inline struct extent_state *tree_search_for_insert(struct extent_io_tree *tree, in tree_search_for_insert()
279 static struct extent_state *tree_search_prev_next(struct extent_io_tree *tree, in tree_search_prev_next()
319 static inline struct extent_state *tree_search(struct extent_io_tree *tree, u64 offset) in tree_search()
324 static void extent_io_tree_panic(struct extent_io_tree *tree, int err) in extent_io_tree_panic()
339 static void merge_state(struct extent_io_tree *tree, struct extent_state *state) in merge_state()
370 static void set_state_bits(struct extent_io_tree *tree, in set_state_bits()
[all …]
Dextent-io-tree.h127 static inline int clear_extent_bit(struct extent_io_tree *tree, u64 start, in clear_extent_bit()
135 static inline int unlock_extent(struct extent_io_tree *tree, u64 start, u64 end, in unlock_extent()
142 static inline int unlock_extent_atomic(struct extent_io_tree *tree, u64 start, in unlock_extent_atomic()
149 static inline int clear_extent_bits(struct extent_io_tree *tree, u64 start, in clear_extent_bits()
160 static inline int set_extent_bits_nowait(struct extent_io_tree *tree, u64 start, in set_extent_bits_nowait()
166 static inline int set_extent_bits(struct extent_io_tree *tree, u64 start, in set_extent_bits()
172 static inline int clear_extent_uptodate(struct extent_io_tree *tree, u64 start, in clear_extent_uptodate()
179 static inline int set_extent_dirty(struct extent_io_tree *tree, u64 start, in set_extent_dirty()
185 static inline int clear_extent_dirty(struct extent_io_tree *tree, u64 start, in clear_extent_dirty()
197 static inline int set_extent_delalloc(struct extent_io_tree *tree, u64 start, in set_extent_delalloc()
[all …]
Dextent_map.c37 void extent_map_tree_init(struct extent_map_tree *tree) in extent_map_tree_init()
239 static void try_merge_map(struct extent_map_tree *tree, struct extent_map *em) in try_merge_map()
302 int unpin_extent_cache(struct extent_map_tree *tree, u64 start, u64 len, in unpin_extent_cache()
341 void clear_em_logging(struct extent_map_tree *tree, struct extent_map *em) in clear_em_logging()
350 static inline void setup_extent_mapping(struct extent_map_tree *tree, in setup_extent_mapping()
408 int add_extent_mapping(struct extent_map_tree *tree, in add_extent_mapping()
429 __lookup_extent_mapping(struct extent_map_tree *tree, in __lookup_extent_mapping()
465 struct extent_map *lookup_extent_mapping(struct extent_map_tree *tree, in lookup_extent_mapping()
482 struct extent_map *search_extent_mapping(struct extent_map_tree *tree, in search_extent_mapping()
496 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()
171 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_add_ordered_extent() local
267 struct btrfs_ordered_inode_tree *tree; in btrfs_add_ordered_sum() local
300 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_mark_ordered_io_finished() local
441 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_dec_test_ordered_pending() local
522 struct btrfs_ordered_inode_tree *tree; in btrfs_remove_ordered_extent() local
824 struct btrfs_ordered_inode_tree *tree; in btrfs_lookup_ordered_extent() local
853 struct btrfs_ordered_inode_tree *tree; in btrfs_lookup_ordered_range() local
896 struct btrfs_ordered_inode_tree *tree = &inode->ordered_tree; in btrfs_get_ordered_extents_for_logging() local
925 struct btrfs_ordered_inode_tree *tree; in btrfs_lookup_first_ordered_extent() local
[all …]
/Linux-v6.1/fs/hfs/
Dbtree.c21 struct hfs_btree *tree; in hfs_btree_open() local
139 void hfs_btree_close(struct hfs_btree *tree) in hfs_btree_close()
162 void hfs_btree_write(struct hfs_btree *tree) in hfs_btree_write()
193 struct hfs_btree *tree = prev->tree; in hfs_bmap_new_bmap() local
227 int hfs_bmap_reserve(struct hfs_btree *tree, int rsvd_nodes) in hfs_bmap_reserve()
250 struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree) in hfs_bmap_alloc()
326 struct hfs_btree *tree; in hfs_bmap_free() local
Dbnode.c60 struct hfs_btree *tree; in hfs_bnode_read_key() local
181 struct hfs_btree *tree; in hfs_bnode_unlink() local
226 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash()
244 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create()
316 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find()
410 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create()
460 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
/Linux-v6.1/fs/hfsplus/
Dbtree.c135 struct hfs_btree *tree; in hfs_btree_open() local
259 void hfs_btree_close(struct hfs_btree *tree) in hfs_btree_close()
283 int hfs_btree_write(struct hfs_btree *tree) in hfs_btree_write()
315 struct hfs_btree *tree = prev->tree; in hfs_bmap_new_bmap() local
347 int hfs_bmap_reserve(struct hfs_btree *tree, int rsvd_nodes) in hfs_bmap_reserve()
374 struct hfs_bnode *hfs_bmap_alloc(struct hfs_btree *tree) in hfs_bmap_alloc()
451 struct hfs_btree *tree; in hfs_bmap_free() local
Dbnode.c59 struct hfs_btree *tree; in hfs_bnode_read_key() local
330 struct hfs_btree *tree; in hfs_bnode_unlink() local
376 struct hfs_bnode *hfs_bnode_findhash(struct hfs_btree *tree, u32 cnid) in hfs_bnode_findhash()
393 static struct hfs_bnode *__hfs_bnode_create(struct hfs_btree *tree, u32 cnid) in __hfs_bnode_create()
467 struct hfs_bnode *hfs_bnode_find(struct hfs_btree *tree, u32 num) in hfs_bnode_find()
562 struct hfs_bnode *hfs_bnode_create(struct hfs_btree *tree, u32 num) in hfs_bnode_create()
612 struct hfs_btree *tree = node->tree; in hfs_bnode_put() local
644 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
/Linux-v6.1/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 …]
/Linux-v6.1/kernel/
Daudit_tree.c95 struct audit_tree *tree; in alloc_tree() local
111 static inline void get_tree(struct audit_tree *tree) in get_tree()
116 static inline void put_tree(struct audit_tree *tree) in put_tree()
123 const char *audit_tree_path(struct audit_tree *tree) in audit_tree_path()
261 bool audit_tree_match(struct audit_chunk *chunk, struct audit_tree *tree) in audit_tree_match()
397 static int create_chunk(struct inode *inode, struct audit_tree *tree) in create_chunk()
458 static int tag_chunk(struct inode *inode, struct audit_tree *tree) in tag_chunk()
542 static void kill_rules(struct audit_context *context, struct audit_tree *tree) in kill_rules()
609 static void trim_marked(struct audit_tree *tree) in trim_marked()
649 struct audit_tree *tree; in audit_remove_tree_rule() local
[all …]
/Linux-v6.1/lib/zlib_deflate/
Ddeftree.c150 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument
154 # define send_code(s, c, tree) \ argument
296 #define pqremove(s, tree, top) \ argument
307 #define smaller(tree, n, m, depth) \ argument
319 ct_data *tree, /* the tree to restore */ in pqdownheap()
358 ct_data *tree = desc->dyn_tree; in gen_bitlen() local
442 ct_data *tree, /* the tree to decorate */ in gen_codes()
489 ct_data *tree = desc->dyn_tree; in build_tree() local
574 ct_data *tree, /* the tree to be scanned */ in scan_tree()
620 ct_data *tree, /* the tree to be scanned */ in send_tree()
/Linux-v6.1/fs/ext4/
Dextents_status.c171 void ext4_es_init_tree(struct ext4_es_tree *tree) in ext4_es_init_tree()
180 struct ext4_es_tree *tree; in ext4_es_print_tree() local
261 struct ext4_es_tree *tree = NULL; in __es_find_extent_range() local
540 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in ext4_es_try_to_merge_left() local
564 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in ext4_es_try_to_merge_right() local
758 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in __es_insert_extent() local
919 struct ext4_es_tree *tree; in ext4_es_lookup_extent() local
1180 struct ext4_pending_tree *tree = &EXT4_I(inode)->i_pending_tree; in get_rsvd() local
1305 struct ext4_es_tree *tree = &EXT4_I(inode)->i_es_tree; in __es_remove_extent() local
1694 struct ext4_es_tree *tree = &ei->i_es_tree; in es_do_reclaim_extents() local
[all …]
/Linux-v6.1/include/linux/
Drbtree.h165 rb_add_cached(struct rb_node *node, struct rb_root_cached *tree, in rb_add_cached()
195 rb_add(struct rb_node *node, struct rb_root *tree, in rb_add()
223 rb_find_add(struct rb_node *node, struct rb_root *tree, in rb_find_add()
256 rb_find(const void *key, const struct rb_root *tree, in rb_find()
284 rb_find_first(const void *key, const struct rb_root *tree, in rb_find_first()
330 #define rb_for_each(node, key, tree, cmp) \ argument
/Linux-v6.1/net/sched/
Dematch.c162 static inline struct tcf_ematch *tcf_em_get_match(struct tcf_ematch_tree *tree, in tcf_em_get_match()
304 struct tcf_ematch_tree *tree) in tcf_em_tree_validate()
398 void tcf_em_tree_destroy(struct tcf_ematch_tree *tree) in tcf_em_tree_destroy()
435 int tcf_em_tree_dump(struct sk_buff *skb, struct tcf_ematch_tree *tree, int tlv) in tcf_em_tree_dump()
498 int __tcf_em_tree_match(struct sk_buff *skb, struct tcf_ematch_tree *tree, in __tcf_em_tree_match()
/Linux-v6.1/tools/include/linux/
Drbtree.h178 rb_add_cached(struct rb_node *node, struct rb_root_cached *tree, in rb_add_cached()
206 rb_add(struct rb_node *node, struct rb_root *tree, in rb_add()
234 rb_find_add(struct rb_node *node, struct rb_root *tree, in rb_find_add()
267 rb_find(const void *key, const struct rb_root *tree, in rb_find()
295 rb_find_first(const void *key, const struct rb_root *tree, in rb_find_first()
341 #define rb_for_each(node, key, tree, cmp) \ argument
/Linux-v6.1/kernel/module/
Dtree_lookup.c64 static noinline void __mod_tree_insert(struct mod_tree_node *node, struct mod_tree_root *tree) in __mod_tree_insert()
69 static void __mod_tree_remove(struct mod_tree_node *node, struct mod_tree_root *tree) in __mod_tree_remove()
108 struct module *mod_find(unsigned long addr, struct mod_tree_root *tree) in mod_find()
/Linux-v6.1/scripts/dtc/
Dfstree.c16 struct node *tree; in read_fstree() local
70 struct node *tree; in dt_from_fs() local
Dlivetree.c399 struct node *tree, uint32_t boot_cpuid_phys) in build_dt_info()
447 struct property *get_property_by_label(struct node *tree, const char *label, in get_property_by_label()
473 struct marker *get_marker_label(struct node *tree, const char *label, in get_marker_label()
512 struct node *get_node_by_path(struct node *tree, const char *path) in get_node_by_path()
538 struct node *get_node_by_label(struct node *tree, const char *label) in get_node_by_label()
558 struct node *get_node_by_phandle(struct node *tree, cell_t phandle) in get_node_by_phandle()
582 struct node *get_node_by_ref(struct node *tree, const char *ref) in get_node_by_ref()
623 uint32_t guess_boot_cpuid(struct node *tree) in guess_boot_cpuid()
/Linux-v6.1/tools/testing/radix-tree/
Dtag_check.c14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks()
131 static void gang_check(struct radix_tree_root *tree, in gang_check()
157 static void do_thrash(struct radix_tree_root *tree, char *thrash_state, int tag) in do_thrash()
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_mpc.c127 struct mpcc *mpc1_get_mpcc_for_dpp(struct mpc_tree *tree, int dpp_id) in mpc1_get_mpcc_for_dpp()
197 struct mpc_tree *tree, in mpc1_insert_plane()
288 struct mpc_tree *tree, in mpc1_remove_mpcc()
413 struct mpc_tree *tree) in mpc1_init_mpcc_list_from_hw()
/Linux-v6.1/tools/perf/util/
Dsrcline.c776 void srcline__tree_insert(struct rb_root_cached *tree, u64 addr, char *srcline) in srcline__tree_insert()
806 char *srcline__tree_find(struct rb_root_cached *tree, u64 addr) in srcline__tree_find()
825 void srcline__tree_delete(struct rb_root_cached *tree) in srcline__tree_delete()
867 void inlines__tree_insert(struct rb_root_cached *tree, in inlines__tree_insert()
890 struct inline_node *inlines__tree_find(struct rb_root_cached *tree, u64 addr) in inlines__tree_find()
909 void inlines__tree_delete(struct rb_root_cached *tree) in inlines__tree_delete()

12345