Lines Matching refs:ubi_device

68 unsigned long long ubi_next_sqnum(struct ubi_device *ubi)  in ubi_next_sqnum()
87 static int ubi_get_compat(const struct ubi_device *ubi, int vol_id) in ubi_get_compat()
207 static struct ubi_ltree_entry *ltree_lookup(struct ubi_device *ubi, int vol_id, in ltree_lookup()
246 static struct ubi_ltree_entry *ltree_add_entry(struct ubi_device *ubi, in ltree_add_entry()
316 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_lock()
333 static void leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_unlock()
358 static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_lock()
380 static int leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_trylock()
409 static void leb_write_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_unlock()
447 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_unmap_leb()
494 static int check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in check_mapping()
566 static int check_mapping(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in check_mapping()
592 int ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_read_leb()
744 int ubi_eba_read_leb_sg(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_read_leb_sg()
807 struct ubi_device *ubi = vol->ubi; in try_recover_peb()
899 static int recover_peb(struct ubi_device *ubi, int pnum, int vol_id, int lnum, in recover_peb()
945 struct ubi_device *ubi = vol->ubi; in try_write_vid_and_data()
1013 int ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in ubi_eba_write_leb()
1116 int ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_write_leb_st()
1194 int ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, in ubi_eba_atomic_leb_change()
1307 int ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, in ubi_eba_copy_leb()
1494 static void print_rsvd_warning(struct ubi_device *ubi, in print_rsvd_warning()
1527 int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap, in self_check_eba()
1624 int ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai) in ubi_eba_init()