Searched refs:writecount (Results 1 – 3 of 3) sorted by relevance
723 ssize_t writecount = 0; in usblp_write() local732 while (writecount < count) { in usblp_write()736 if ((transfer_length = count - writecount) > USBLP_BUF_SIZE) in usblp_write()746 buffer + writecount, transfer_length)) { in usblp_write()773 writecount += transfer_length; in usblp_write()779 writecount += transfer_length; in usblp_write()793 writecount += usblp->wstatus; in usblp_write()797 return writecount; in usblp_write()808 return writecount ? writecount : rv; in usblp_write()
684 int writecount; in broadsheet_write_spiflash() local701 writecount = min(bytecount, maxlen); in broadsheet_write_spiflash()704 cur_addr, writecount, wfm + offset); in broadsheet_write_spiflash()708 offset += writecount; in broadsheet_write_spiflash()709 bytecount -= writecount; in broadsheet_write_spiflash()
3493 int writecount; in f2fs_release_compress_blocks() local3512 writecount = atomic_read(&inode->i_writecount); in f2fs_release_compress_blocks()3513 if ((filp->f_mode & FMODE_WRITE && writecount != 1) || in f2fs_release_compress_blocks()3514 (!(filp->f_mode & FMODE_WRITE) && writecount)) { in f2fs_release_compress_blocks()