Searched refs:tocopy (Results 1 – 4 of 4) sorted by relevance
/drivers/misc/genwqe/ |
D | card_dev.c | 514 size_t tocopy = 0; in do_flash_update() local 557 tocopy = min_t(size_t, load->size, FLASH_BLOCK); in do_flash_update() 559 rc = copy_from_user(xbuf, buf, tocopy); in do_flash_update() 564 crc = genwqe_crc32(xbuf, tocopy, 0xffffffff); in do_flash_update() 568 __func__, (unsigned long)dma_addr, crc, tocopy, in do_flash_update() 584 *(__be64 *)&req->__asiv[8] = cpu_to_be64(tocopy); in do_flash_update() 596 *(__be32 *)&req->asiv[8] = cpu_to_be32(tocopy); in do_flash_update() 632 load->size -= tocopy; in do_flash_update() 633 flash += tocopy; in do_flash_update() 634 buf += tocopy; in do_flash_update() [all …]
|
/drivers/hwtracing/intel_th/ |
D | msu.c | 396 size_t tocopy = data_bytes, copied = 0; in msc_buffer_iterate() local 414 tocopy = DATA_IN_PAGE - data_bytes; in msc_buffer_iterate() 418 if (!tocopy) in msc_buffer_iterate() 421 tocopy -= iter->block_off; in msc_buffer_iterate() 424 if (len < tocopy) { in msc_buffer_iterate() 425 tocopy = len; in msc_buffer_iterate() 429 remaining = fn(data, src, tocopy); in msc_buffer_iterate() 434 copied = tocopy - remaining; in msc_buffer_iterate() 1089 unsigned long start = off, tocopy = 0; in msc_single_to_user() local 1094 tocopy = min(rem, size - start); in msc_single_to_user() [all …]
|
/drivers/net/wireless/ |
D | wl3501_cs.c | 1760 u8 implemented, restricted, keys[100], len_keys, tocopy; in wl3501_get_encode() local 1785 tocopy = min_t(u16, len_keys, wrqu->encoding.length); in wl3501_get_encode() 1786 tocopy = min_t(u8, tocopy, 100); in wl3501_get_encode() 1787 wrqu->encoding.length = tocopy; in wl3501_get_encode() 1788 memcpy(extra, keys, tocopy); in wl3501_get_encode()
|
/drivers/atm/ |
D | nicstar.c | 2218 int remaining, tocopy; in dequeue_rx() local 2295 tocopy = in dequeue_rx() 2299 (hb), tocopy); in dequeue_rx() 2300 skb_put(hb, tocopy); in dequeue_rx() 2302 remaining -= tocopy; in dequeue_rx()
|