Searched refs:peb_size (Results 1 – 5 of 5) sorted by relevance
/drivers/mtd/ubi/ |
D | io.c | 136 ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); in ubi_io_read() 165 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_read() 244 ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); in ubi_io_write() 282 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_write() 302 len = ubi->peb_size - offset; in ubi_io_write() 350 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase() 351 ei.len = ubi->peb_size; in do_sync_erase() 386 err = ubi_self_check_all_ff(ubi, pnum, 0, ubi->peb_size); in do_sync_erase() 425 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); in torture_peb() 429 err = ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->peb_size); in torture_peb() [all …]
|
D | build.c | 663 ubi->peb_size = ubi->mtd->erasesize; in io_init() 748 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init() 774 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init() 978 ubi->peb_buf = vmalloc(ubi->peb_size); in ubi_attach_mtd_dev() 1019 ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size); in ubi_attach_mtd_dev()
|
D | debug.c | 39 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
|
D | ubi.h | 561 int peb_size; member
|
D | wl.c | 692 ubi->peb_size - ubi->vid_hdr_aloffset); in ubi_wl_get_peb()
|