Home
last modified time | relevance | path

Searched refs:peb_size (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/drivers/mtd/ubi/
Dio.c136 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()
245 ubi_assert(offset >= 0 && offset + len <= ubi->peb_size); in ubi_io_write()
283 addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_io_write()
303 len = ubi->peb_size - offset; in ubi_io_write()
351 ei.addr = (loff_t)pnum * ubi->peb_size; in do_sync_erase()
352 ei.len = ubi->peb_size; in do_sync_erase()
388 err = ubi_self_check_all_ff(ubi, pnum, 0, ubi->peb_size); in do_sync_erase()
427 err = ubi_io_read(ubi, ubi->peb_buf, pnum, 0, ubi->peb_size); in torture_peb()
431 err = ubi_check_pattern(ubi->peb_buf, 0xFF, ubi->peb_size); in torture_peb()
[all …]
Dbuild.c648 ubi->peb_size = ubi->mtd->erasesize; in io_init()
733 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
759 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init()
967 ubi->peb_buf = vmalloc(ubi->peb_size); in ubi_attach_mtd_dev()
1009 ubi->peb_size, ubi->peb_size >> 10, ubi->leb_size); in ubi_attach_mtd_dev()
Ddebug.c39 loff_t addr = (loff_t)pnum * ubi->peb_size + offset; in ubi_dump_flash()
Dubi.h601 int peb_size; member
Dwl.c1840 ubi->peb_size - ubi->vid_hdr_aloffset);