Lines Matching defs:sz
149 size_t written = 0, sz = pgsize * 2;
155 err = mtd->write(mtd, addr, sz, &written, buf);
156 if (err || written != sz) {
163 addr += sz;
164 buf += sz;
226 size_t read = 0, sz = pgsize * 2;
232 err = mtd->read(mtd, addr, sz, &read, buf);
236 if (err || read != sz) {
243 addr += sz;
244 buf += sz;