Searched refs:copy_length (Results 1 – 3 of 3) sorted by relevance
303 unsigned int copy_length = 0; in mod_stats_update_event() local316 copy_length = length; in mod_stats_update_event()318 copy_length = MOD_STATS_EVENT_STRING_MAX; in mod_stats_update_event()320 memcpy(&events[index].event_string, event_string, copy_length); in mod_stats_update_event()321 events[index].event_string[copy_length - 1] = '\0'; in mod_stats_update_event()
116 u16 copy_length; in asix_rx_fixup_internal() local164 copy_length = skb->len - offset; in asix_rx_fixup_internal()165 rx->remaining -= copy_length; in asix_rx_fixup_internal()167 copy_length = rx->remaining; in asix_rx_fixup_internal()173 copy_length); in asix_rx_fixup_internal()180 offset += (copy_length + 1) & 0xfffe; in asix_rx_fixup_internal()
144 size_t copy_length; in mlx5_ib_read_user_wqe_common() local150 copy_length = min_t(u32, buflen, wq_end - offset); in mlx5_ib_read_user_wqe_common()151 copy_length = min_t(u32, copy_length, bcnt); in mlx5_ib_read_user_wqe_common()153 ret = ib_umem_copy_from(buffer, umem, offset, copy_length); in mlx5_ib_read_user_wqe_common()158 *bytes_copied = copy_length; in mlx5_ib_read_user_wqe_common()