Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/mlx5/
Dwr.h80 size_t copysz = min_t(size_t, leftlen, n); in mlx5r_memcpy_send_wqe() local
83 memcpy(*seg, src, copysz); in mlx5r_memcpy_send_wqe()
85 n -= copysz; in mlx5r_memcpy_send_wqe()
86 src += copysz; in mlx5r_memcpy_send_wqe()
87 stride = !n ? ALIGN(copysz, 16) : copysz; in mlx5r_memcpy_send_wqe()
Dwr.c67 size_t left, copysz; in set_eth_seg() local
79 copysz = min_t(u64, *cur_edge - (void *)eseg->inline_hdr.start, in set_eth_seg()
81 memcpy(eseg->inline_hdr.start, pdata, copysz); in set_eth_seg()
83 sizeof(eseg->inline_hdr.start) + copysz, 16); in set_eth_seg()
87 if (copysz < left) { in set_eth_seg()
89 left -= copysz; in set_eth_seg()
90 pdata += copysz; in set_eth_seg()
283 size_t copysz; in set_data_inl_seg() local
290 copysz = min_t(size_t, leftlen, len); in set_data_inl_seg()
292 memcpy(*wqe, addr, copysz); in set_data_inl_seg()
[all …]