Lines Matching +full:non +full:- +full:zero
1 // SPDX-License-Identifier: GPL-2.0-or-later
15 * copy_to_user_fromio - copy data from mmio-space to user-space
16 * @dst: the destination pointer on user-space
20 * Copies the data from mmio-space to user-space.
22 * Return: Zero if successful, or non-zero on failure.
29 return -EFAULT; in copy_to_user_fromio()
35 * copy_to_iter_fromio - copy data from mmio-space to iov_iter
40 * Copies the data from mmio-space to iov_iter.
42 * Return: Zero if successful, or non-zero on failure.
48 return copy_to_iter((const void __force *)src, count, dst) == count ? 0 : -EFAULT; in copy_to_iter_fromio()
57 return -EFAULT; in copy_to_iter_fromio()
58 count -= c; in copy_to_iter_fromio()
67 * copy_from_user_toio - copy data from user-space to mmio-space
68 * @dst: the destination pointer on mmio-space
69 * @src: the source pointer on user-space
72 * Copies the data from user-space to mmio-space.
74 * Return: Zero if successful, or non-zero on failure.
81 return -EFAULT; in copy_from_user_toio()
87 * copy_from_iter_toio - copy data from iov_iter to mmio-space
88 * @dst: the destination pointer on mmio-space
92 * Copies the data from iov_iter to mmio-space.
94 * Return: Zero if successful, or non-zero on failure.
99 return copy_from_iter((void __force *)dst, count, src) == count ? 0 : -EFAULT; in copy_from_iter_toio()
107 return -EFAULT; in copy_from_iter_toio()
109 count -= c; in copy_from_iter_toio()