Lines Matching refs:written
132 int written = 0; in bcm47xxsflash_write_st() local
151 written++; in bcm47xxsflash_write_st()
161 written++; in bcm47xxsflash_write_st()
170 return written; in bcm47xxsflash_write_st()
180 int written = 0; in bcm47xxsflash_write_at() local
206 written++; in bcm47xxsflash_write_at()
213 return written; in bcm47xxsflash_write_at()
220 int written; in bcm47xxsflash_write() local
228 written = bcm47xxsflash_write_st(mtd, to, len, buf); in bcm47xxsflash_write()
231 written = bcm47xxsflash_write_at(mtd, to, len, buf); in bcm47xxsflash_write()
236 if (written < 0) { in bcm47xxsflash_write()
238 return written; in bcm47xxsflash_write()
240 to += (loff_t)written; in bcm47xxsflash_write()
241 len -= written; in bcm47xxsflash_write()
242 *retlen += written; in bcm47xxsflash_write()
243 buf += written; in bcm47xxsflash_write()