mirror_zfs/include/os/linux/spl/sys
Matthew Macy 3d40b65540 Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD
The zfs_fsync, zfs_read, and zfs_write function are almost identical
between Linux and FreeBSD.  With a little refactoring they can be
moved to the common code which is what is done by this commit.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #11078
2020-12-23 14:34:59 -08:00
..
acl.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
atomic.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
byteorder.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
callb.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
callo.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
cmn_err.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
condvar.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
console.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
cred.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
ctype.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
debug.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
disp.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
dkio.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
errno.h Move platform dependent errno aliases 2019-10-25 13:40:50 -07:00
fcntl.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
file.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
inttypes.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
isa_defs.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
kmem_cache.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
kmem.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
kstat.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
list.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
Makefile.am Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
mod_os.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
mutex.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
param.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
proc.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
processor.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
procfs_list.h FreeBSD: Add support for procfs_list 2020-10-01 12:18:56 -07:00
random.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
rwlock.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
shrinker.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
sid.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
signal.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
simd.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
stat.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
strings.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
sunddi.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
sysmacros.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
systeminfo.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
taskq.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
thread.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
time.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
timer.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
trace_spl.h Add tracepoints for taskq entry lifetime events 2019-11-01 13:14:54 -07:00
trace_taskq.h Add tracepoints for taskq entry lifetime events 2019-11-01 13:14:54 -07:00
trace.h Add prototypes 2020-06-18 12:21:32 -07:00
tsd.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
types32.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
types.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
uio.h Share zfs_fsync, zfs_read, zfs_write, et al between Linux and FreeBSD 2020-12-23 14:34:59 -08:00
user.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
vfs.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
vmem.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
vmsystm.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
vnode.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
wait.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
zmod.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00
zone.h Replace ZFS on Linux references with OpenZFS 2020-10-16 13:01:24 -07:00