Home
last modified time | relevance | path

Searched refs:to_copy (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c351 size_t to_copy; in qp_memcpy_to_queue_iter() local
361 to_copy = PAGE_SIZE - page_offset; in qp_memcpy_to_queue_iter()
363 to_copy = size - bytes_copied; in qp_memcpy_to_queue_iter()
365 if (!copy_from_iter_full((u8 *)va + page_offset, to_copy, in qp_memcpy_to_queue_iter()
371 bytes_copied += to_copy; in qp_memcpy_to_queue_iter()
398 size_t to_copy; in qp_memcpy_from_queue_iter() local
409 to_copy = PAGE_SIZE - page_offset; in qp_memcpy_from_queue_iter()
411 to_copy = size - bytes_copied; in qp_memcpy_from_queue_iter()
413 err = copy_to_iter((u8 *)va + page_offset, to_copy, to); in qp_memcpy_from_queue_iter()
414 if (err != to_copy) { in qp_memcpy_from_queue_iter()
[all …]
/linux-4.19.296/drivers/isdn/hardware/eicon/
Ddebug.c733 int to_copy; in diva_get_driver_info() local
756 if ((to_copy = min(strlen(clients[id].drvName), (size_t)(data_length - 1)))) { in diva_get_driver_info()
757 memcpy(p, clients[id].drvName, to_copy); in diva_get_driver_info()
758 p += to_copy; in diva_get_driver_info()
759 data_length -= to_copy; in diva_get_driver_info()
763 if ((to_copy = min(strlen(clients[id].hDbg->drvTag), (size_t)(data_length - 2)))) { in diva_get_driver_info()
764 memcpy(p, clients[id].hDbg->drvTag, to_copy); in diva_get_driver_info()
765 p += to_copy; in diva_get_driver_info()
766 data_length -= to_copy; in diva_get_driver_info()
/linux-4.19.296/fs/cifs/
Dsmbdirect.c1958 int to_copy, to_read, data_read, offset; in smbd_recv_buf() local
2019 to_copy = min_t(int, data_length - offset, to_read); in smbd_recv_buf()
2023 to_copy); in smbd_recv_buf()
2026 if (to_copy == data_length - offset) { in smbd_recv_buf()
2048 offset += to_copy; in smbd_recv_buf()
2050 to_read -= to_copy; in smbd_recv_buf()
2051 data_read += to_copy; in smbd_recv_buf()
2056 to_copy, data_length - offset, in smbd_recv_buf()
/linux-4.19.296/include/linux/
Dskbuff.h3387 struct sk_buff *pskb_extract(struct sk_buff *skb, int off, int to_copy,