Lines Matching refs:ubi_ltree_entry
207 static struct ubi_ltree_entry *ltree_lookup(struct ubi_device *ubi, int vol_id, in ltree_lookup()
214 struct ubi_ltree_entry *le; in ltree_lookup()
216 le = rb_entry(p, struct ubi_ltree_entry, rb); in ltree_lookup()
246 static struct ubi_ltree_entry *ltree_add_entry(struct ubi_device *ubi, in ltree_add_entry()
249 struct ubi_ltree_entry *le, *le1, *le_free; in ltree_add_entry()
251 le = kmalloc(sizeof(struct ubi_ltree_entry), GFP_NOFS); in ltree_add_entry()
282 le1 = rb_entry(parent, struct ubi_ltree_entry, rb); in ltree_add_entry()
318 struct ubi_ltree_entry *le; in leb_read_lock()
335 struct ubi_ltree_entry *le; in leb_read_unlock()
360 struct ubi_ltree_entry *le; in leb_write_lock()
382 struct ubi_ltree_entry *le; in leb_write_trylock()
411 struct ubi_ltree_entry *le; in leb_write_unlock()