Add convenience wrappers for common uio usage
authorJorgen Lundman <lundman@lundman.net>
Sun, 14 Jun 2020 17:09:55 +0000 (02:09 +0900)
committerGitHub <noreply@github.com>
Sun, 14 Jun 2020 17:09:55 +0000 (10:09 -0700)
commit883a40fff427d200be41d3faabab1dca9a84b353
treece4521d15b4abcb6712baf0de6a840bfa884fd20
parent4f73576ea15fcf38b344b008eaf355480a08bbff
Add convenience wrappers for common uio usage

The macOS uio struct is opaque and the API must be used, this
makes the smallest changes to the code for all platforms.

Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #10412
15 files changed:
include/os/freebsd/spl/sys/uio.h
include/os/linux/spl/sys/uio.h
lib/libspl/include/os/freebsd/sys/Makefile.am
lib/libspl/include/os/freebsd/sys/uio.h [deleted file]
lib/libspl/include/os/linux/sys/Makefile.am
lib/libspl/include/sys/Makefile.am
lib/libspl/include/sys/uio.h [moved from lib/libspl/include/os/linux/sys/uio.h with 73% similarity]
module/icp/algs/modes/modes.c
module/icp/core/kcf_prov_lib.c
module/icp/io/sha1_mod.c
module/icp/io/sha2_mod.c
module/icp/io/skein_mod.c
module/zfs/dmu.c
module/zfs/sa.c
module/zfs/zfs_sa.c