tocopy             55 arch/alpha/boot/tools/objstrip.c     size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0;
tocopy            238 arch/alpha/boot/tools/objstrip.c     tocopy = fil_size;
tocopy            239 arch/alpha/boot/tools/objstrip.c     while (tocopy > 0) {
tocopy            240 arch/alpha/boot/tools/objstrip.c 	n = tocopy;
tocopy            244 arch/alpha/boot/tools/objstrip.c 	tocopy -= n;
tocopy            263 arch/alpha/boot/tools/objstrip.c     tocopy = mem_size - fil_size;
tocopy            264 arch/alpha/boot/tools/objstrip.c     if (tocopy > 0) {
tocopy            267 arch/alpha/boot/tools/objstrip.c 		prog_name, pad, (unsigned long) tocopy);
tocopy            271 arch/alpha/boot/tools/objstrip.c 	    n = tocopy;
tocopy            280 arch/alpha/boot/tools/objstrip.c 	    tocopy -= nwritten;
tocopy            281 arch/alpha/boot/tools/objstrip.c 	} while (tocopy > 0);
tocopy            103 arch/arm/lib/uaccess_with_memcpy.c 		int tocopy;
tocopy            114 arch/arm/lib/uaccess_with_memcpy.c 		tocopy = (~(unsigned long)to & ~PAGE_MASK) + 1;
tocopy            115 arch/arm/lib/uaccess_with_memcpy.c 		if (tocopy > n)
tocopy            116 arch/arm/lib/uaccess_with_memcpy.c 			tocopy = n;
tocopy            119 arch/arm/lib/uaccess_with_memcpy.c 		memcpy((void *)to, from, tocopy);
tocopy            121 arch/arm/lib/uaccess_with_memcpy.c 		to += tocopy;
tocopy            122 arch/arm/lib/uaccess_with_memcpy.c 		from += tocopy;
tocopy            123 arch/arm/lib/uaccess_with_memcpy.c 		n -= tocopy;
tocopy            172 arch/arm/lib/uaccess_with_memcpy.c 		int tocopy;
tocopy            181 arch/arm/lib/uaccess_with_memcpy.c 		tocopy = (~(unsigned long)addr & ~PAGE_MASK) + 1;
tocopy            182 arch/arm/lib/uaccess_with_memcpy.c 		if (tocopy > n)
tocopy            183 arch/arm/lib/uaccess_with_memcpy.c 			tocopy = n;
tocopy            186 arch/arm/lib/uaccess_with_memcpy.c 		memset((void *)addr, 0, tocopy);
tocopy            188 arch/arm/lib/uaccess_with_memcpy.c 		addr += tocopy;
tocopy            189 arch/arm/lib/uaccess_with_memcpy.c 		n -= tocopy;
tocopy            454 crypto/jitterentropy.c 		unsigned int tocopy;
tocopy            459 crypto/jitterentropy.c 			tocopy = (DATA_SIZE_BITS / 8);
tocopy            461 crypto/jitterentropy.c 			tocopy = len;
tocopy            462 crypto/jitterentropy.c 		jent_memcpy(p, &ec->data, tocopy);
tocopy            464 crypto/jitterentropy.c 		len -= tocopy;
tocopy            465 crypto/jitterentropy.c 		p += tocopy;
tocopy           2216 drivers/atm/nicstar.c 			int remaining, tocopy;
tocopy           2293 drivers/atm/nicstar.c 					tocopy =
tocopy           2297 drivers/atm/nicstar.c 								  (hb), tocopy);
tocopy           2298 drivers/atm/nicstar.c 					skb_put(hb, tocopy);
tocopy           2300 drivers/atm/nicstar.c 					remaining -= tocopy;
tocopy            591 drivers/hwtracing/intel_th/msu.c 		size_t tocopy = data_bytes, copied = 0;
tocopy            609 drivers/hwtracing/intel_th/msu.c 			tocopy = DATA_IN_PAGE - data_bytes;
tocopy            613 drivers/hwtracing/intel_th/msu.c 		if (!tocopy)
tocopy            616 drivers/hwtracing/intel_th/msu.c 		tocopy -= iter->block_off;
tocopy            619 drivers/hwtracing/intel_th/msu.c 		if (len < tocopy) {
tocopy            620 drivers/hwtracing/intel_th/msu.c 			tocopy = len;
tocopy            624 drivers/hwtracing/intel_th/msu.c 		remaining = fn(data, src, tocopy);
tocopy            629 drivers/hwtracing/intel_th/msu.c 		copied = tocopy - remaining;
tocopy           1462 drivers/hwtracing/intel_th/msu.c 	unsigned long start = off, tocopy = 0;
tocopy           1467 drivers/hwtracing/intel_th/msu.c 			tocopy = min(rem, size - start);
tocopy           1468 drivers/hwtracing/intel_th/msu.c 			if (copy_to_user(buf, msc->base + start, tocopy))
tocopy           1471 drivers/hwtracing/intel_th/msu.c 			buf += tocopy;
tocopy           1472 drivers/hwtracing/intel_th/msu.c 			rem -= tocopy;
tocopy           1473 drivers/hwtracing/intel_th/msu.c 			start += tocopy;
tocopy           1478 drivers/hwtracing/intel_th/msu.c 			tocopy = min(rem, msc->single_sz - start);
tocopy           1479 drivers/hwtracing/intel_th/msu.c 			if (copy_to_user(buf, msc->base + start, tocopy))
tocopy           1482 drivers/hwtracing/intel_th/msu.c 			rem -= tocopy;
tocopy             70 drivers/misc/cxl/guest.c 	int rc = 0, i, tocopy;
tocopy            130 drivers/misc/cxl/guest.c 					tocopy = len;
tocopy            132 drivers/misc/cxl/guest.c 					tocopy = SG_BUFFER_SIZE;
tocopy            133 drivers/misc/cxl/guest.c 				memcpy(buf, vpd_buf[i], tocopy);
tocopy            134 drivers/misc/cxl/guest.c 				buf += tocopy;
tocopy            135 drivers/misc/cxl/guest.c 				len -= tocopy;
tocopy            504 drivers/misc/genwqe/card_dev.c 	size_t tocopy = 0;
tocopy            547 drivers/misc/genwqe/card_dev.c 		tocopy = min_t(size_t, load->size, FLASH_BLOCK);
tocopy            549 drivers/misc/genwqe/card_dev.c 		rc = copy_from_user(xbuf, buf, tocopy);
tocopy            554 drivers/misc/genwqe/card_dev.c 		crc = genwqe_crc32(xbuf, tocopy, 0xffffffff);
tocopy            558 drivers/misc/genwqe/card_dev.c 			__func__, (unsigned long)dma_addr, crc, tocopy,
tocopy            574 drivers/misc/genwqe/card_dev.c 			*(__be64 *)&req->__asiv[8]  = cpu_to_be64(tocopy);
tocopy            586 drivers/misc/genwqe/card_dev.c 			*(__be32 *)&req->asiv[8]  = cpu_to_be32(tocopy);
tocopy            622 drivers/misc/genwqe/card_dev.c 		load->size  -= tocopy;
tocopy            623 drivers/misc/genwqe/card_dev.c 		flash += tocopy;
tocopy            624 drivers/misc/genwqe/card_dev.c 		buf += tocopy;
tocopy            640 drivers/misc/genwqe/card_dev.c 	size_t tocopy = 0;
tocopy            681 drivers/misc/genwqe/card_dev.c 		tocopy = min_t(size_t, load->size, FLASH_BLOCK);
tocopy            685 drivers/misc/genwqe/card_dev.c 			__func__, (unsigned long)dma_addr, tocopy,
tocopy            700 drivers/misc/genwqe/card_dev.c 			*(__be64 *)&cmd->__asiv[8]  = cpu_to_be64(tocopy);
tocopy            708 drivers/misc/genwqe/card_dev.c 			*(__be32 *)&cmd->asiv[8]  = cpu_to_be32(tocopy);
tocopy            734 drivers/misc/genwqe/card_dev.c 		rc = copy_to_user(buf, xbuf, tocopy);
tocopy            751 drivers/misc/genwqe/card_dev.c 		load->size  -= tocopy;
tocopy            752 drivers/misc/genwqe/card_dev.c 		flash += tocopy;
tocopy            753 drivers/misc/genwqe/card_dev.c 		buf += tocopy;
tocopy           1765 drivers/net/wireless/wl3501_cs.c 	u8 implemented, restricted, keys[100], len_keys, tocopy;
tocopy           1790 drivers/net/wireless/wl3501_cs.c 	tocopy = min_t(u16, len_keys, wrqu->encoding.length);
tocopy           1791 drivers/net/wireless/wl3501_cs.c 	tocopy = min_t(u8, tocopy, 100);
tocopy           1792 drivers/net/wireless/wl3501_cs.c 	wrqu->encoding.length = tocopy;
tocopy           1793 drivers/net/wireless/wl3501_cs.c 	memcpy(extra, keys, tocopy);
tocopy           1499 fs/ext2/super.c 	int tocopy;
tocopy           1511 fs/ext2/super.c 		tocopy = sb->s_blocksize - offset < toread ?
tocopy           1520 fs/ext2/super.c 			memset(data, 0, tocopy);
tocopy           1525 fs/ext2/super.c 			memcpy(data, bh->b_data+offset, tocopy);
tocopy           1529 fs/ext2/super.c 		toread -= tocopy;
tocopy           1530 fs/ext2/super.c 		data += tocopy;
tocopy           1544 fs/ext2/super.c 	int tocopy;
tocopy           1550 fs/ext2/super.c 		tocopy = sb->s_blocksize - offset < towrite ?
tocopy           1558 fs/ext2/super.c 		if (offset || tocopy != EXT2_BLOCK_SIZE(sb))
tocopy           1567 fs/ext2/super.c 		memcpy(bh->b_data+offset, data, tocopy);
tocopy           1574 fs/ext2/super.c 		towrite -= tocopy;
tocopy           1575 fs/ext2/super.c 		data += tocopy;
tocopy           5982 fs/ext4/super.c 	int tocopy;
tocopy           5993 fs/ext4/super.c 		tocopy = sb->s_blocksize - offset < toread ?
tocopy           5999 fs/ext4/super.c 			memset(data, 0, tocopy);
tocopy           6001 fs/ext4/super.c 			memcpy(data, bh->b_data+offset, tocopy);
tocopy           6004 fs/ext4/super.c 		toread -= tocopy;
tocopy           6005 fs/ext4/super.c 		data += tocopy;
tocopy           1769 fs/f2fs/super.c 	int tocopy;
tocopy           1782 fs/f2fs/super.c 		tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
tocopy           1807 fs/f2fs/super.c 		memcpy(data, kaddr + offset, tocopy);
tocopy           1812 fs/f2fs/super.c 		toread -= tocopy;
tocopy           1813 fs/f2fs/super.c 		data += tocopy;
tocopy           1832 fs/f2fs/super.c 	int tocopy;
tocopy           1835 fs/f2fs/super.c 		tocopy = min_t(unsigned long, sb->s_blocksize - offset,
tocopy           1838 fs/f2fs/super.c 		err = a_ops->write_begin(NULL, mapping, off, tocopy, 0,
tocopy           1850 fs/f2fs/super.c 		memcpy(kaddr + offset, data, tocopy);
tocopy           1854 fs/f2fs/super.c 		a_ops->write_end(NULL, mapping, off, tocopy, tocopy,
tocopy           1857 fs/f2fs/super.c 		towrite -= tocopy;
tocopy           1858 fs/f2fs/super.c 		off += tocopy;
tocopy           1859 fs/f2fs/super.c 		data += tocopy;
tocopy            742 fs/jfs/super.c 	int tocopy;
tocopy            754 fs/jfs/super.c 		tocopy = sb->s_blocksize - offset < toread ?
tocopy            763 fs/jfs/super.c 			memset(data, 0, tocopy);
tocopy            768 fs/jfs/super.c 			memcpy(data, bh->b_data+offset, tocopy);
tocopy            772 fs/jfs/super.c 		toread -= tocopy;
tocopy            773 fs/jfs/super.c 		data += tocopy;
tocopy            787 fs/jfs/super.c 	int tocopy;
tocopy            794 fs/jfs/super.c 		tocopy = sb->s_blocksize - offset < towrite ?
tocopy            802 fs/jfs/super.c 		if (offset || tocopy != sb->s_blocksize)
tocopy            811 fs/jfs/super.c 		memcpy(bh->b_data+offset, data, tocopy);
tocopy            818 fs/jfs/super.c 		towrite -= tocopy;
tocopy            819 fs/jfs/super.c 		data += tocopy;
tocopy            177 fs/ocfs2/quota_global.c 	size_t toread, tocopy;
tocopy            186 fs/ocfs2/quota_global.c 		tocopy = min_t(size_t, (sb->s_blocksize - offset), toread);
tocopy            204 fs/ocfs2/quota_global.c 		memcpy(data, bh->b_data + offset, tocopy);
tocopy            207 fs/ocfs2/quota_global.c 		toread -= tocopy;
tocopy            208 fs/ocfs2/quota_global.c 		data += tocopy;
tocopy           2496 fs/reiserfs/super.c 	int err = 0, offset = off & (sb->s_blocksize - 1), tocopy;
tocopy           2507 fs/reiserfs/super.c 		tocopy =
tocopy           2521 fs/reiserfs/super.c 			memset(data, 0, tocopy);
tocopy           2526 fs/reiserfs/super.c 			memcpy(data, bh->b_data + offset, tocopy);
tocopy           2530 fs/reiserfs/super.c 		toread -= tocopy;
tocopy           2531 fs/reiserfs/super.c 		data += tocopy;
tocopy           2546 fs/reiserfs/super.c 	int err = 0, offset = off & (sb->s_blocksize - 1), tocopy;
tocopy           2557 fs/reiserfs/super.c 		tocopy = sb->s_blocksize - offset < towrite ?
tocopy           2565 fs/reiserfs/super.c 		if (offset || tocopy != sb->s_blocksize)
tocopy           2574 fs/reiserfs/super.c 		memcpy(bh->b_data + offset, data, tocopy);
tocopy           2586 fs/reiserfs/super.c 		towrite -= tocopy;
tocopy           2587 fs/reiserfs/super.c 		data += tocopy;
tocopy             82 kernel/capability.c static int cap_validate_magic(cap_user_header_t header, unsigned *tocopy)
tocopy             92 kernel/capability.c 		*tocopy = _LINUX_CAPABILITY_U32S_1;
tocopy             98 kernel/capability.c 		*tocopy = _LINUX_CAPABILITY_U32S_3;
tocopy            152 kernel/capability.c 	unsigned tocopy;
tocopy            155 kernel/capability.c 	ret = cap_validate_magic(header, &tocopy);
tocopy            170 kernel/capability.c 		for (i = 0; i < tocopy; i++) {
tocopy            195 kernel/capability.c 		if (copy_to_user(dataptr, kdata, tocopy
tocopy            225 kernel/capability.c 	unsigned i, tocopy, copybytes;
tocopy            231 kernel/capability.c 	ret = cap_validate_magic(header, &tocopy);
tocopy            242 kernel/capability.c 	copybytes = tocopy * sizeof(struct __user_cap_data_struct);
tocopy            249 kernel/capability.c 	for (i = 0; i < tocopy; i++) {
tocopy            575 security/commoncap.c 	unsigned tocopy, i;
tocopy            607 security/commoncap.c 		tocopy = VFS_CAP_U32_1;
tocopy            612 security/commoncap.c 		tocopy = VFS_CAP_U32_2;
tocopy            617 security/commoncap.c 		tocopy = VFS_CAP_U32_3;
tocopy            631 security/commoncap.c 		if (i >= tocopy)
tocopy            471 sound/pci/asihpi/hpicmn.c 				unsigned int tocopy;
tocopy            494 sound/pci/asihpi/hpicmn.c 				tocopy = pad_string_len - offset;
tocopy            495 sound/pci/asihpi/hpicmn.c 				if (tocopy > sizeof(phr->u.cu.chars8.sz_data))
tocopy            496 sound/pci/asihpi/hpicmn.c 					tocopy = sizeof(phr->u.cu.chars8.
tocopy            500 sound/pci/asihpi/hpicmn.c 					&pad_string[offset], tocopy);
tocopy            503 sound/pci/asihpi/hpicmn.c 					pad_string_len - offset - tocopy;
tocopy             99 sound/usb/bcd2000/bcd2000.c 	unsigned int payload_length, tocopy;
tocopy            117 sound/usb/bcd2000/bcd2000.c 	tocopy = min(payload_length, buf_len-1);
tocopy            120 sound/usb/bcd2000/bcd2000.c 					&buf[1], tocopy);
tocopy            123 sound/usb/bcd2000/bcd2000.c 					&buf[1], tocopy);