Lines Matching +full:- +full:section

1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 * -__clear_user( ) called multiple times during elf load was byte loop
10 * -Hand crafted constant propagation for "constant" copy sizes
11 * -stock kernel shrunk by 33K at -O3
14 * -Added option to (UN)inline copy_(to|from)_user to reduce code sz
15 * -kernel shrunk by 200K even at -O3 (gcc 4.2.1)
16 * -Enabled when doing -Os
32 * where TASK_SIZE could either be retrieved from thread_info->addr_limit or
39 * non-ngeative, which implies that buffer start will be within limit too.
42 * compile time constant, causing first sub-expression to be compile time
45 * The second part would generate weird large LIMMs e.g. (0x6000_0000 - 0x10),
51 ((addr) <= (get_fs() - (sz))))
70 * Returns 0 on success, -EFAULT if not.
71 * @ret already contains 0 - given that errors will be less likely
73 * In case of error, fixup code will make it -EFAULT
79 " .section .fixup, \"ax\"\n" \
81 "3: # return -EFAULT\n" \
87 " .section __ex_table, \"a\"\n" \
93 : "r" (src), "ir" (-EFAULT))
100 " .section .fixup, \"ax\"\n" \
102 "3: # return -EFAULT\n" \
109 " .section __ex_table, \"a\"\n" \
116 : "r" (src), "ir" (-EFAULT))
134 " .section .fixup, \"ax\"\n" \
139 " .section __ex_table, \"a\"\n" \
145 : "r" (src), "r" (dst), "ir" (-EFAULT))
152 " .section .fixup, \"ax\"\n" \
157 " .section __ex_table, \"a\"\n" \
164 : "r" (src), "r" (dst), "ir" (-EFAULT))
190 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
194 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
213 * Hand-crafted constant propagation to reduce code sz of the in raw_copy_from_user()
235 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
239 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
261 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
265 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
283 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
287 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
303 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
307 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
321 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
325 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
369 " .section .fixup, \"ax\" \n" in raw_copy_from_user()
373 " .section __ex_table, \"a\" \n" in raw_copy_from_user()
417 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
421 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
457 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
461 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
483 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
487 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
505 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
509 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
525 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
529 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
543 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
547 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
591 " .section .fixup, \"ax\" \n" in raw_copy_to_user()
595 " .section __ex_table, \"a\" \n" in raw_copy_to_user()
639 " .section .fixup, \"ax\" \n" in __arc_clear_user()
643 " .section __ex_table, \"a\" \n" in __arc_clear_user()
675 " .section .fixup, \"ax\" \n" in __arc_strncpy_from_user()
677 "4: mov %0, %4 # sets @res as -EFAULT \n" in __arc_strncpy_from_user()
680 " .section __ex_table, \"a\" \n" in __arc_strncpy_from_user()
685 : "g"(-EFAULT), "r"(count) in __arc_strncpy_from_user()
705 " .section .fixup, \"ax\" \n" in __arc_strnlen_user()
710 " .section __ex_table, \"a\" \n" in __arc_strnlen_user()
743 #include <asm-generic/uaccess.h>