Lines Matching refs:tocopy
745 int tocopy; in jfs_quota_read() local
757 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
766 memset(data, 0, tocopy); in jfs_quota_read()
771 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
775 toread -= tocopy; in jfs_quota_read()
776 data += tocopy; in jfs_quota_read()
790 int tocopy; in jfs_quota_write() local
797 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
805 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
814 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
821 towrite -= tocopy; in jfs_quota_write()
822 data += tocopy; in jfs_quota_write()