Go to the documentation of this file.
12 #include <asm/uaccess.h>
33 #define __do_strncpy_from_user(dst, src, count, res) \
53 " .section .fixup,\"ax\"\n" \
58 " .section __ex_table,\"a\"\n" \
63 :"=&r"(res), "=r"(count), "=&r"(w) \
64 :"i"(-EFAULT), "1"(count), "a"(src), "a"(dst) \
89 #define __do_clear_user(addr, size) \
96 "0: movbu %1,(%3,%2)\n" \
103 ".section .fixup,\"ax\"\n" \
106 ".section __ex_table,\"a\"\n" \
110 : "+r"(size), "=&r"(w) \
111 : "a"(addr), "d"(0) \
137 unsigned long res,
w;
148 "1: movbu (%0,%3),%1\n"
155 ".section .fixup,\"ax\"\n"
158 ".section __ex_table,\"a\"\n"
163 :
"0"(0),
"a"(s),
"r"(
n)