Lines Matching refs:tocopy
748 int tocopy; in jfs_quota_read() local
760 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
769 memset(data, 0, tocopy); in jfs_quota_read()
774 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
778 toread -= tocopy; in jfs_quota_read()
779 data += tocopy; in jfs_quota_read()
793 int tocopy; in jfs_quota_write() local
800 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
808 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
817 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
824 towrite -= tocopy; in jfs_quota_write()
825 data += tocopy; in jfs_quota_write()