Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/hv/
Dring_buffer.c346 u32 packetlen, offset; in hv_ringbuffer_read() local
365 packetlen = (desc->len8 << 3) - offset; in hv_ringbuffer_read()
366 *buffer_actual_len = packetlen; in hv_ringbuffer_read()
369 if (unlikely(packetlen > buflen)) in hv_ringbuffer_read()
373 memcpy(buffer, (const char *)desc + offset, packetlen); in hv_ringbuffer_read()
444 u32 packetlen = desc->len8 << 3; in __hv_pkt_iter_next() local
449 rbi->priv_read_index += packetlen + VMBUS_PKT_TRAILER; in __hv_pkt_iter_next()
Dchannel.c878 u32 packetlen = sizeof(struct vmpacket_descriptor) + bufferlen; in vmbus_sendpacket() local
879 u32 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket()
898 bufferlist[2].iov_len = (packetlen_aligned - packetlen); in vmbus_sendpacket()
919 u32 packetlen; in vmbus_sendpacket_pagebuffer() local
934 packetlen = descsize + bufferlen; in vmbus_sendpacket_pagebuffer()
935 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_pagebuffer()
957 bufferlist[2].iov_len = (packetlen_aligned - packetlen); in vmbus_sendpacket_pagebuffer()
973 u32 packetlen; in vmbus_sendpacket_mpb_desc() local
978 packetlen = desc_size + bufferlen; in vmbus_sendpacket_mpb_desc()
979 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_mpb_desc()
[all …]