Lines Matching refs:tocopy
743 int tocopy; in jfs_quota_read() local
755 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
764 memset(data, 0, tocopy); in jfs_quota_read()
769 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
773 toread -= tocopy; in jfs_quota_read()
774 data += tocopy; in jfs_quota_read()
788 int tocopy; in jfs_quota_write() local
795 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
803 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
812 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
819 towrite -= tocopy; in jfs_quota_write()
820 data += tocopy; in jfs_quota_write()