host-drivers/base-driver/vca/vop/vop_vringh.c
static inline u32 vop_vringh_iov_consumed(struct vringh_kiov *iov)
{
	int i;
	u32 total = iov->consumed;

	for (i = 0; i < iov->i; i++)
		total += iov->iov[i].iov_len;
	return total;
}
/* Determine the total number of bytes consumed in a VRINGH KVEC */
Determine the total number of bytes consumed in a VRINGH KVEC
Determine the total number of bytes consumed in a VRINGH KVEC
static inline u32 vop_vringh_iov_consumed(struct vringh_kiov *iov)
{
	int i;
	u32 total = iov->consumed;
	for (i = 0; i < iov->i; i++)
		total += iov->iov[i].iov_len;
	return total;
}
static inline u32 vop_vringh_iov_consumed ( struct vringh_kiov * iov ) { int i ; u32 total = iov -> consumed ; for ( i = 0 ; i < iov -> i ; i ++ ) total += iov -> iov [ i ] . iov_len ; return total ; }
Determine the total number of bytes consumed in a VRINGH KVEC
Determine the total number of bytes consumed in a VRINGH KVEC