Searched refs:writecount (Results 1 – 5 of 5) sorted by relevance
123 int writecount; in hmdfs_update_inode_size() local135 writecount = atomic_read(&inode->i_writecount); in hmdfs_update_inode_size()137 if (writecount > 0) { in hmdfs_update_inode_size()148 if (writecount == 0) { in hmdfs_update_inode_size()
246 int writecount; in hmdfs_update_inode_size() local258 writecount = atomic_read(&inode->i_writecount); in hmdfs_update_inode_size()260 if (writecount > 0) { in hmdfs_update_inode_size()271 if (writecount == 0) { in hmdfs_update_inode_size()
748 ssize_t writecount = 0; in usblp_write() local757 while (writecount < count) { in usblp_write()761 if ((transfer_length = count - writecount) > USBLP_BUF_SIZE) in usblp_write()771 buffer + writecount, transfer_length)) { in usblp_write()798 writecount += transfer_length; in usblp_write()804 writecount += transfer_length; in usblp_write()818 writecount += usblp->wstatus; in usblp_write()822 return writecount; in usblp_write()833 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()
3543 int writecount; in f2fs_release_compress_blocks() local3562 writecount = atomic_read(&inode->i_writecount); in f2fs_release_compress_blocks()3563 if ((filp->f_mode & FMODE_WRITE && writecount != 1) || in f2fs_release_compress_blocks()3564 (!(filp->f_mode & FMODE_WRITE) && writecount)) { in f2fs_release_compress_blocks()