Searched refs:towrite (Results 1 – 4 of 4) sorted by relevance
/fs/jfs/ |
D | super.c | 700 size_t towrite = len; in jfs_quota_write() local 705 while (towrite > 0) { in jfs_quota_write() 706 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write() 707 sb->s_blocksize - offset : towrite; in jfs_quota_write() 730 towrite -= tocopy; in jfs_quota_write() 735 if (len == towrite) { in jfs_quota_write() 739 if (inode->i_size < off+len-towrite) in jfs_quota_write() 740 i_size_write(inode, off+len-towrite); in jfs_quota_write() 745 return len - towrite; in jfs_quota_write()
|
/fs/ext2/ |
D | super.c | 1440 size_t towrite = len; in ext2_quota_write() local 1445 while (towrite > 0) { in ext2_quota_write() 1446 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write() 1447 sb->s_blocksize - offset : towrite; in ext2_quota_write() 1469 towrite -= tocopy; in ext2_quota_write() 1474 if (len == towrite) { in ext2_quota_write() 1478 if (inode->i_size < off+len-towrite) in ext2_quota_write() 1479 i_size_write(inode, off+len-towrite); in ext2_quota_write() 1484 return len - towrite; in ext2_quota_write()
|
/fs/jffs2/ |
D | wbuf.c | 414 uint32_t towrite = (end-start) - ((end-start)%c->wbuf_pagesize); in jffs2_wbuf_recover() local 417 towrite, ofs); in jffs2_wbuf_recover() 424 mtd_write(c->mtd, ofs, towrite, &retlen, brokenbuf); in jffs2_wbuf_recover() 428 ret = mtd_write(c->mtd, ofs, towrite, &retlen, in jffs2_wbuf_recover() 431 if (ret || retlen != towrite || jffs2_verify_write(c, rewrite_buf, ofs)) { in jffs2_wbuf_recover() 443 c->wbuf_len = (end - start) - towrite; in jffs2_wbuf_recover() 444 c->wbuf_ofs = ofs + towrite; in jffs2_wbuf_recover() 445 memmove(c->wbuf, rewrite_buf + towrite, c->wbuf_len); in jffs2_wbuf_recover()
|
/fs/reiserfs/ |
D | super.c | 2292 size_t towrite = len; in reiserfs_quota_write() local 2302 while (towrite > 0) { in reiserfs_quota_write() 2303 tocopy = sb->s_blocksize - offset < towrite ? in reiserfs_quota_write() 2304 sb->s_blocksize - offset : towrite; in reiserfs_quota_write() 2332 towrite -= tocopy; in reiserfs_quota_write() 2337 if (len == towrite) { in reiserfs_quota_write() 2341 if (inode->i_size < off + len - towrite) in reiserfs_quota_write() 2342 i_size_write(inode, off + len - towrite); in reiserfs_quota_write() 2347 return len - towrite; in reiserfs_quota_write()
|