Searched refs:towrite (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/fs/jfs/ |
D | super.c | 815 size_t towrite = len; in jfs_quota_write() local 820 while (towrite > 0) { in jfs_quota_write() 821 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write() 822 sb->s_blocksize - offset : towrite; in jfs_quota_write() 845 towrite -= tocopy; in jfs_quota_write() 850 if (len == towrite) { in jfs_quota_write() 854 if (inode->i_size < off+len-towrite) in jfs_quota_write() 855 i_size_write(inode, off+len-towrite); in jfs_quota_write() 859 return len - towrite; in jfs_quota_write()
|
/linux-4.19.296/fs/jffs2/ |
D | wbuf.c | 415 uint32_t towrite = (end-start) - ((end-start)%c->wbuf_pagesize); in jffs2_wbuf_recover() local 418 towrite, ofs); in jffs2_wbuf_recover() 425 mtd_write(c->mtd, ofs, towrite, &retlen, brokenbuf); in jffs2_wbuf_recover() 429 ret = mtd_write(c->mtd, ofs, towrite, &retlen, in jffs2_wbuf_recover() 432 if (ret || retlen != towrite || jffs2_verify_write(c, rewrite_buf, ofs)) { in jffs2_wbuf_recover() 444 c->wbuf_len = (end - start) - towrite; in jffs2_wbuf_recover() 445 c->wbuf_ofs = ofs + towrite; in jffs2_wbuf_recover() 446 memmove(c->wbuf, rewrite_buf + towrite, c->wbuf_len); in jffs2_wbuf_recover()
|
/linux-4.19.296/fs/ext2/ |
D | super.c | 1558 size_t towrite = len; in ext2_quota_write() local 1562 while (towrite > 0) { in ext2_quota_write() 1563 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write() 1564 sb->s_blocksize - offset : towrite; in ext2_quota_write() 1587 towrite -= tocopy; in ext2_quota_write() 1592 if (len == towrite) in ext2_quota_write() 1594 if (inode->i_size < off+len-towrite) in ext2_quota_write() 1595 i_size_write(inode, off+len-towrite); in ext2_quota_write() 1599 return len - towrite; in ext2_quota_write()
|
/linux-4.19.296/fs/reiserfs/ |
D | super.c | 2553 size_t towrite = len; in reiserfs_quota_write() local 2561 while (towrite > 0) { in reiserfs_quota_write() 2562 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write() 2563 sb->s_blocksize - offset : towrite; in reiserfs_quota_write() 2591 towrite -= tocopy; in reiserfs_quota_write() 2596 if (len == towrite) in reiserfs_quota_write() 2598 if (inode->i_size < off + len - towrite) in reiserfs_quota_write() 2599 i_size_write(inode, off + len - towrite); in reiserfs_quota_write() 2602 return len - towrite; in reiserfs_quota_write()
|
/linux-4.19.296/fs/f2fs/ |
D | super.c | 1651 size_t towrite = len; in f2fs_quota_write() local 1658 while (towrite > 0) { in f2fs_quota_write() 1660 towrite); in f2fs_quota_write() 1680 towrite -= tocopy; in f2fs_quota_write() 1686 if (len == towrite) in f2fs_quota_write() 1690 return len - towrite; in f2fs_quota_write()
|