diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2026-05-13 13:52:09 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-05-20 01:21:03 +0200 |
| commit | a804574bc42c73915944b38ef638f667067bbf8c (patch) | |
| tree | 9b6a8611059110c2d91ba75b608c1cceb21f51ad /test/lib/git: | |
| parent | bcc3d37a6e010b9340d085482f98caab21833776 (diff) | |
| download | passt-a804574bc42c73915944b38ef638f667067bbf8c.tar passt-a804574bc42c73915944b38ef638f667067bbf8c.tar.gz passt-a804574bc42c73915944b38ef638f667067bbf8c.tar.bz2 passt-a804574bc42c73915944b38ef638f667067bbf8c.tar.lz passt-a804574bc42c73915944b38ef638f667067bbf8c.tar.xz passt-a804574bc42c73915944b38ef638f667067bbf8c.tar.zst passt-a804574bc42c73915944b38ef638f667067bbf8c.zip | |
iov: Introduce iov_memset()
Add a helper to set a range of bytes across an IO vector to a given
value, similar to memset() but operating over scatter-gather buffers.
It skips to the given offset and fills across iovec entries up to the
requested length.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/git:')
0 files changed, 0 insertions, 0 deletions
