Searched refs:peb_size (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | io.c | 123 ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); in ubi_io_read() 152 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_read() 232 ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); in ubi_io_write() 270 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_write() 290 len = ubi->peb_size - offset; in ubi_io_write() 323 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase() 324 ei.len = ubi->peb_size; in do_sync_erase() 339 err = ubi_self_check_all_ff(ubi, pnum, 0, ubi->peb_size); in do_sync_erase() 378 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); in torture_peb() 382 err = ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->peb_size); in torture_peb() [all …]
|
D | build.c | 618 ubi->peb_size = ubi->mtd->erasesize; in io_init() 703 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init() 729 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init() 956 ubi->peb_buf = vmalloc(ubi->peb_size); in ubi_attach_mtd_dev() 998 ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size); in ubi_attach_mtd_dev()
|
D | debug.c | 27 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
|
D | ubi.h | 634 int peb_size; member
|
D | wl.c | 1512 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); 2120 ubi->peb_size - ubi->vid_hdr_aloffset);
|