mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 01:20:52 +07:00
0fc9655ec6
Currently there are two separate versions of read and write. One for dealing with user buffers and the other for dealing with kernel buffers. There is a tremendous amount of code duplication in the otherwise identical versions of these functions. This patch adds an additional user buffer parameter to read and write and conditionalizes handling of the buffer on whether the kernel buffer or the user buffer is populated. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com> |
||
---|---|---|
.. | ||
client.c | ||
conv.c | ||
error.c | ||
fcprint.c | ||
Kconfig | ||
Makefile | ||
mod.c | ||
trans_fd.c | ||
trans_virtio.c | ||
util.c |