Home
last modified time | relevance | path

Searched refs:rb_entry (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/include/linux/
H A Drbtree_augmented.h46 rbstruct *node = rb_entry(rb, rbstruct, rbfield); \
57 rbstruct *old = rb_entry(rb_old, rbstruct, rbfield); \
58 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \
64 rbstruct *old = rb_entry(rb_old, rbstruct, rbfield); \
65 rbstruct *new = rb_entry(rb_new, rbstruct, rbfield); \
H A Drbtree.h39 #define rb_entry(ptr, type, member) container_of(ptr, type, member) macro
79 ____ptr ? rb_entry(____ptr, type, member) : NULL; \
/openbmc/u-boot/fs/btrfs/
H A Dchunk-map.c40 this = rb_entry(*new, struct chunk_map_item, node); in add_chunk_mapping()
77 item = rb_entry(node, struct chunk_map_item, node); in btrfs_map_logical_to_physical()
100 item = rb_entry(now, struct chunk_map_item, node); in btrfs_chunk_map_exit()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dwl.c153 e1 = rb_entry(parent, struct ubi_wl_entry, u.rb); in wl_tree_add()
249 e1 = rb_entry(p, struct ubi_wl_entry, u.rb); in in_wl_tree()
309 e = rb_entry(rb_first(root), struct ubi_wl_entry, u.rb); in find_wl_entry()
316 e1 = rb_entry(p, struct ubi_wl_entry, u.rb); in find_wl_entry()
350 first = rb_entry(rb_first(root), struct ubi_wl_entry, u.rb); in find_mean_wl_entry()
351 last = rb_entry(rb_last(root), struct ubi_wl_entry, u.rb); in find_mean_wl_entry()
354 e = rb_entry(root->rb_node, struct ubi_wl_entry, u.rb); in find_mean_wl_entry()
736 e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb);
757 e1 = rb_entry(rb_first(&ubi->scrub), struct ubi_wl_entry, u.rb);
1007 e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb);
[all …]
H A Dattach.c265 av = rb_entry(parent, struct ubi_ainf_volume, rb); in add_volume()
476 aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); in ubi_add_to_av()
607 av = rb_entry(p, struct ubi_ainf_volume, rb); in ubi_find_av()
634 aeb = rb_entry(rb, struct ubi_ainf_peb, u.rb); in ubi_remove_av()
1143 aeb = rb_entry(this, struct ubi_ainf_peb, u.rb); in destroy_av()
1193 av = rb_entry(rb, struct ubi_ainf_volume, rb); in destroy_ai()
H A Dfastmap.c192 av = rb_entry(parent, struct ubi_ainf_volume, rb); in add_vol()
243 tmp_aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); in assign_aeb_to_av()
282 aeb = rb_entry(parent, struct ubi_ainf_peb, u.rb); in update_vol()
386 tmp_av = rb_entry(parent, struct ubi_ainf_volume, rb); in process_pool_aeb()
426 av = rb_entry(node, struct ubi_ainf_volume, rb); in unmap_peb()
430 aeb = rb_entry(node2, struct ubi_ainf_peb, u.rb); in unmap_peb()
H A Dfastmap-wl.c391 e = rb_entry(rb_next(root->rb_node), in may_reserve_for_fm()
H A Deba.c97 le = rb_entry(p, struct ubi_ltree_entry, rb); in ltree_lookup()
163 le1 = rb_entry(parent, struct ubi_ltree_entry, rb); in ltree_add_entry()
/openbmc/u-boot/fs/ubifs/
H A Dlog.c41 bud = rb_entry(p, struct ubifs_bud, rb); in ubifs_search_bud()
74 bud = rb_entry(p, struct ubifs_bud, rb); in ubifs_get_wbuf()
125 b = rb_entry(parent, struct ubifs_bud, rb); in ubifs_add_bud()
305 bud = rb_entry(p1, struct ubifs_bud, rb); in remove_buds()
550 dr = rb_entry(parent, struct done_ref, rb); in done_already()
H A Dorphan.c74 o = rb_entry(parent, struct ubifs_orphan, rb); in ubifs_add_orphan()
112 o = rb_entry(p, struct ubifs_orphan, rb); in ubifs_delete_orphan()
514 o = rb_entry(parent, struct ubifs_orphan, rb); in insert_dead_orphan()
744 o = rb_entry(p, struct ubifs_orphan, rb); in dbg_find_orphan()
771 o = rb_entry(parent, struct check_orphan, rb); in dbg_ins_check_orphan()
793 o = rb_entry(p, struct check_orphan, rb); in dbg_find_check_orphan()
H A Drecovery.c1269 e = rb_entry(parent, struct size_entry, rb); in add_ino()
1302 e = rb_entry(p, struct size_entry, rb); in find_ino()
1488 e = rb_entry(this, struct size_entry, rb); in ubifs_recover_size()
H A Ddebug.c625 bud = rb_entry(rb, struct ubifs_bud, rb); in ubifs_dump_budg()
718 bud = rb_entry(rb, struct ubifs_bud, rb); in ubifs_dump_lprop()
1851 fscki = rb_entry(parent, struct fsck_inode, rb); in add_inode()
1929 fscki = rb_entry(p, struct fsck_inode, rb); in search_inode()
2198 fscki = rb_entry(this, struct fsck_inode, rb); in check_inodes()
H A Dtnc.c85 o = rb_entry(parent, struct ubifs_old_idx, rb); in insert_old_idx()