Lines Matching refs:tocopy
736 int tocopy; in jfs_quota_read() local
748 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
757 memset(data, 0, tocopy); in jfs_quota_read()
762 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
766 toread -= tocopy; in jfs_quota_read()
767 data += tocopy; in jfs_quota_read()
781 int tocopy; in jfs_quota_write() local
788 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
796 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
805 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
812 towrite -= tocopy; in jfs_quota_write()
813 data += tocopy; in jfs_quota_write()