Searched refs:peb_size (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/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() 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() 335 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase() 336 ei.len = ubi->peb_size; in do_sync_erase() 351 err = ubi_self_check_all_ff(ubi, pnum, 0, ubi->peb_size); in do_sync_erase() 390 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); in torture_peb() 394 err = ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->peb_size); in torture_peb() [all …]
|
D | build.c | 627 ubi->peb_size = ubi->mtd->erasesize; in io_init() 725 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init() 751 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init() 994 ubi->peb_buf = vmalloc(ubi->peb_size); in ubi_attach_mtd_dev() 1036 ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size); in ubi_attach_mtd_dev()
|
D | debug.c | 57 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in FAIL_ACTION()
|
D | ubi.h | 630 int peb_size; member
|
D | wl.c | 1553 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); 2161 ubi->peb_size - ubi->vid_hdr_aloffset);
|