Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dwr.c64 size_t copysz = min_t(size_t, leftlen, n); in memcpy_send_wqe() local
67 memcpy(*seg, src, copysz); in memcpy_send_wqe()
69 n -= copysz; in memcpy_send_wqe()
70 src += copysz; in memcpy_send_wqe()
71 stride = !n ? ALIGN(copysz, 16) : copysz; in memcpy_send_wqe()
117 size_t left, copysz; in set_eth_seg() local
129 copysz = min_t(u64, *cur_edge - (void *)eseg->inline_hdr.start, in set_eth_seg()
131 memcpy(eseg->inline_hdr.start, pdata, copysz); in set_eth_seg()
133 sizeof(eseg->inline_hdr.start) + copysz, 16); in set_eth_seg()
137 if (copysz < left) { in set_eth_seg()
[all …]