Lines Matching refs:tocopy
741 int tocopy; in jfs_quota_read() local
753 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
762 memset(data, 0, tocopy); in jfs_quota_read()
767 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
771 toread -= tocopy; in jfs_quota_read()
772 data += tocopy; in jfs_quota_read()
786 int tocopy; in jfs_quota_write() local
793 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
801 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
810 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
817 towrite -= tocopy; in jfs_quota_write()
818 data += tocopy; in jfs_quota_write()