Lines Matching refs:ubi_ltree_entry
88 static struct ubi_ltree_entry *ltree_lookup(struct ubi_device *ubi, int vol_id, in ltree_lookup()
95 struct ubi_ltree_entry *le; in ltree_lookup()
97 le = rb_entry(p, struct ubi_ltree_entry, rb); in ltree_lookup()
127 static struct ubi_ltree_entry *ltree_add_entry(struct ubi_device *ubi, in ltree_add_entry()
130 struct ubi_ltree_entry *le, *le1, *le_free; in ltree_add_entry()
132 le = kmalloc(sizeof(struct ubi_ltree_entry), GFP_NOFS); in ltree_add_entry()
163 le1 = rb_entry(parent, struct ubi_ltree_entry, rb); in ltree_add_entry()
199 struct ubi_ltree_entry *le; in leb_read_lock()
216 struct ubi_ltree_entry *le; in leb_read_unlock()
241 struct ubi_ltree_entry *le; in leb_write_lock()
263 struct ubi_ltree_entry *le; in leb_write_trylock()
292 struct ubi_ltree_entry *le; in leb_write_unlock()