Searched refs:towrite (Results 1 – 5 of 5) sorted by relevance
/fs/jfs/ |
D | super.c | 782 size_t towrite = len; in jfs_quota_write() local 787 while (towrite > 0) { in jfs_quota_write() 788 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write() 789 sb->s_blocksize - offset : towrite; in jfs_quota_write() 812 towrite -= tocopy; in jfs_quota_write() 817 if (len == towrite) { in jfs_quota_write() 821 if (inode->i_size < off+len-towrite) in jfs_quota_write() 822 i_size_write(inode, off+len-towrite); in jfs_quota_write() 826 return len - towrite; in jfs_quota_write()
|
/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()
|
/fs/ext2/ |
D | super.c | 1537 size_t towrite = len; in ext2_quota_write() local 1541 while (towrite > 0) { in ext2_quota_write() 1542 tocopy = min_t(size_t, sb->s_blocksize - offset, towrite); in ext2_quota_write() 1565 towrite -= tocopy; in ext2_quota_write() 1570 if (len == towrite) in ext2_quota_write() 1572 if (inode->i_size < off+len-towrite) in ext2_quota_write() 1573 i_size_write(inode, off+len-towrite); in ext2_quota_write() 1577 return len - towrite; in ext2_quota_write()
|
/fs/reiserfs/ |
D | super.c | 2544 size_t towrite = len; in reiserfs_quota_write() local 2552 while (towrite > 0) { in reiserfs_quota_write() 2553 tocopy = min_t(unsigned long, sb->s_blocksize - offset, towrite); in reiserfs_quota_write() 2581 towrite -= tocopy; in reiserfs_quota_write() 2586 if (len == towrite) in reiserfs_quota_write() 2588 if (inode->i_size < off + len - towrite) in reiserfs_quota_write() 2589 i_size_write(inode, off + len - towrite); in reiserfs_quota_write() 2592 return len - towrite; in reiserfs_quota_write()
|
/fs/f2fs/ |
D | super.c | 2652 size_t towrite = len; in f2fs_quota_write() local 2658 while (towrite > 0) { in f2fs_quota_write() 2660 towrite); in f2fs_quota_write() 2678 towrite -= tocopy; in f2fs_quota_write() 2684 if (len == towrite) in f2fs_quota_write() 2688 return len - towrite; in f2fs_quota_write()
|