Lines Matching refs:tocopy
742 int tocopy; in jfs_quota_read() local
754 tocopy = sb->s_blocksize - offset < toread ? in jfs_quota_read()
763 memset(data, 0, tocopy); in jfs_quota_read()
768 memcpy(data, bh->b_data+offset, tocopy); in jfs_quota_read()
772 toread -= tocopy; in jfs_quota_read()
773 data += tocopy; in jfs_quota_read()
787 int tocopy; in jfs_quota_write() local
794 tocopy = sb->s_blocksize - offset < towrite ? in jfs_quota_write()
802 if (offset || tocopy != sb->s_blocksize) in jfs_quota_write()
811 memcpy(bh->b_data+offset, data, tocopy); in jfs_quota_write()
818 towrite -= tocopy; in jfs_quota_write()
819 data += tocopy; in jfs_quota_write()