/drivers/mtd/ubi/ |
D | eba.c | 107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() 211 int lnum) in ltree_lookup() 250 int vol_id, int lnum) in ltree_add_entry() 319 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_lock() 336 static void leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_read_unlock() 361 static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_lock() 383 static int leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_trylock() 412 static void leb_write_unlock(struct ubi_device *ubi, int vol_id, int lnum) in leb_write_unlock() 435 bool ubi_eba_is_mapped(struct ubi_volume *vol, int lnum) in ubi_eba_is_mapped() 451 int lnum) in ubi_eba_unmap_leb() [all …]
|
D | kapi.c | 368 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check() 422 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read() 462 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg() 513 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_write() 558 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, in ubi_leb_change() 599 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum) in ubi_leb_erase() 660 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum) in ubi_leb_unmap() 696 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum) in ubi_leb_map() 735 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum) in ubi_is_mapped() 785 int ubi_flush(int ubi_num, int vol_id, int lnum) in ubi_flush()
|
D | cdev.c | 177 int err, lnum, off, len, tbuf_size; in vol_cdev_read() local 254 int lnum, off, len, tbuf_size, err = 0; in vol_cdev_direct_write() local 465 int32_t lnum; in vol_cdev_ioctl() local 510 int32_t lnum; in vol_cdev_ioctl() local 524 int32_t lnum; in vol_cdev_ioctl() local
|
D | wl.c | 584 int vol_id, int lnum, int torture, bool nested) in schedule_erase() 621 int vol_id, int lnum, int torture) in do_sync_erase() 651 int erase = 0, keep = 0, vol_id = -1, lnum = -1; local 1081 int lnum = wl_wrk->lnum; local 1238 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum, 1407 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum)
|
D | gluebi.c | 156 int err = 0, lnum, offs, bytes_left; in gluebi_read() local 196 int err = 0, lnum, offs, bytes_left; in gluebi_write() local 236 int err, i, lnum, count; in gluebi_erase() local
|
D | upd.c | 219 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb() 268 int lnum, offs, err = 0, len, to_write = count; in ubi_more_update_data() local
|
D | attach.c | 230 int lnum, int ec, int to_head, struct list_head *list) in add_to_list() 566 int err, vol_id, lnum; in ubi_add_to_av() local 1135 int lnum = be32_to_cpu(vidh->lnum); in scan_peb() local
|
D | ubi.h | 204 int lnum; member 278 int lnum; member 679 int lnum; member 807 int lnum; member 869 static inline bool ubi_leb_valid(struct ubi_volume *vol, int lnum) in ubi_leb_valid()
|
D | fastmap-wl.c | 364 int lnum, int torture) in ubi_wl_put_fm_peb()
|
D | io.c | 845 int lnum = be32_to_cpu(vid_hdr->lnum); in validate_vid_hdr() local
|
D | ubi-media.h | 275 __be32 lnum; member
|