Lines Matching +full:a +full:- +full:9
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
25 * copy a null terminated string from userspace.
48 ".section __ex_table, \"a\" \n" \
55 : "5"(-EFAULT), "0"(count), "1"(count), \
61 * __strncpy_from_user: - Copy a NUL terminated string from userspace,
68 * Copies a NUL-terminated string from userspace to kernel space.
75 * If access to userspace fails, returns -EFAULT (some data may have been
91 * strncpy_from_user: - Copy a NUL terminated string from userspace.
97 * Copies a NUL-terminated string from userspace to kernel space.
102 * If access to userspace fails, returns -EFAULT (some data may have been
110 long res = -EFAULT; in strncpy_from_user()
119 * strlen_user: - Get the size of a string in user space.
123 * Get the size of a NUL-terminated string in user space.
127 * If the string is too long, returns a value greater than @n.
152 ".section __ex_table, \"a\" \n" in strnlen_user()
197 "9: bf 7f \n" \
202 ".section __ex_table,\"a\" \n" \
204 ".long 8b, 9b \n" \
205 ".long 10b, 9b \n" \
206 ".long 11b, 9b \n" \
207 ".long 12b, 9b \n" \
208 ".long 13b, 9b \n" \
209 ".long 14b, 9b \n" \
210 ".long 15b, 9b \n" \
211 ".long 16b, 9b \n" \
212 ".long 4b, 9b \n" \
213 ".long 6b, 9b \n" \
223 * clear_user: - Zero a block of memory in user space.
227 * Zero a block of memory in user space.
242 * __clear_user: - Zero a block of memory in user space, with less checking.
246 * Zero a block of memory in user space. Caller must check