Searched refs:packetlen (Results 1 – 2 of 2) sorted by relevance
415 u32 packetlen, offset; in hv_ringbuffer_read() local434 packetlen = (desc->len8 << 3) - offset; in hv_ringbuffer_read()435 *buffer_actual_len = packetlen; in hv_ringbuffer_read()438 if (unlikely(packetlen > buflen)) in hv_ringbuffer_read()442 memcpy(buffer, (const char *)desc + offset, packetlen); in hv_ringbuffer_read()548 u32 packetlen = desc->len8 << 3; in __hv_pkt_iter_next() local553 rbi->priv_read_index += packetlen + VMBUS_PKT_TRAILER; in __hv_pkt_iter_next()
1047 u32 packetlen = sizeof(struct vmpacket_descriptor) + bufferlen; in vmbus_sendpacket_getid() local1048 u32 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_getid()1067 bufferlist[2].iov_len = (packetlen_aligned - packetlen); in vmbus_sendpacket_getid()1112 u32 packetlen; in vmbus_sendpacket_pagebuffer() local1127 packetlen = descsize + bufferlen; in vmbus_sendpacket_pagebuffer()1128 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_pagebuffer()1150 bufferlist[2].iov_len = (packetlen_aligned - packetlen); in vmbus_sendpacket_pagebuffer()1166 u32 packetlen; in vmbus_sendpacket_mpb_desc() local1171 packetlen = desc_size + bufferlen; in vmbus_sendpacket_mpb_desc()1172 packetlen_aligned = ALIGN(packetlen, sizeof(u64)); in vmbus_sendpacket_mpb_desc()[all …]