Lines Matching refs:tocopy
769 int tocopy; in jfs_quota_read() local
781 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
790 memset(data, 0, tocopy); in jfs_quota_read()
795 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
799 toread -= tocopy; in jfs_quota_read()
800 data += tocopy; in jfs_quota_read()
814 int tocopy; in jfs_quota_write() local
821 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
829 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
838 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
845 towrite -= tocopy; in jfs_quota_write()
846 data += tocopy; in jfs_quota_write()