Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
uaccess.h File Reference

Go to the source code of this file.

Macros

#define __put_user_asm(x, addr, err, op)
 
#define __put_user_asm_64(x, addr, err)
 
#define __get_user_asm(x, addr, err, op)
 
#define __get_user_asm_64(x, addr, err)
 
#define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_1(to, from, ret)
 
#define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_2(to, from, ret)   __asm_copy_from_user_2x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_3(to, from, ret)
 
#define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_4(to, from, ret)   __asm_copy_from_user_4x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_5(to, from, ret)
 
#define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_6(to, from, ret)   __asm_copy_from_user_6x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_7(to, from, ret)
 
#define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_8(to, from, ret)   __asm_copy_from_user_8x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_9(to, from, ret)
 
#define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_10(to, from, ret)   __asm_copy_from_user_10x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_11(to, from, ret)
 
#define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_12(to, from, ret)   __asm_copy_from_user_12x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_13(to, from, ret)
 
#define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_14(to, from, ret)   __asm_copy_from_user_14x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_15(to, from, ret)
 
#define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_16(to, from, ret)   __asm_copy_from_user_16x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_20(to, from, ret)   __asm_copy_from_user_20x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_from_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_from_user_24(to, from, ret)   __asm_copy_from_user_24x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_1(to, from, ret)
 
#define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_2(to, from, ret)   __asm_copy_to_user_2x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_3(to, from, ret)
 
#define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_4(to, from, ret)   __asm_copy_to_user_4x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_5(to, from, ret)
 
#define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_6(to, from, ret)   __asm_copy_to_user_6x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_7(to, from, ret)
 
#define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_8(to, from, ret)   __asm_copy_to_user_8x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_9(to, from, ret)
 
#define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_10(to, from, ret)   __asm_copy_to_user_10x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_11(to, from, ret)
 
#define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_12(to, from, ret)   __asm_copy_to_user_12x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_13(to, from, ret)
 
#define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_14(to, from, ret)   __asm_copy_to_user_14x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_15(to, from, ret)
 
#define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_16(to, from, ret)   __asm_copy_to_user_16x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_20(to, from, ret)   __asm_copy_to_user_20x_cont(to, from, ret, "", "", "")
 
#define __asm_copy_to_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY)
 
#define __asm_copy_to_user_24(to, from, ret)   __asm_copy_to_user_24x_cont(to, from, ret, "", "", "")
 
#define __asm_clear(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_1(to, ret)
 
#define __asm_clear_2(to, ret)
 
#define __asm_clear_3(to, ret)
 
#define __asm_clear_4x_cont(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_4(to, ret)   __asm_clear_4x_cont(to, ret, "", "", "")
 
#define __asm_clear_8x_cont(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_8(to, ret)   __asm_clear_8x_cont(to, ret, "", "", "")
 
#define __asm_clear_12x_cont(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_12(to, ret)   __asm_clear_12x_cont(to, ret, "", "", "")
 
#define __asm_clear_16x_cont(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_16(to, ret)   __asm_clear_16x_cont(to, ret, "", "", "")
 
#define __asm_clear_20x_cont(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_20(to, ret)   __asm_clear_20x_cont(to, ret, "", "", "")
 
#define __asm_clear_24x_cont(to, ret, CLEAR, FIXUP, TENTRY)
 
#define __asm_clear_24(to, ret)   __asm_clear_24x_cont(to, ret, "", "", "")
 

Macro Definition Documentation

#define __asm_clear (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
__asm__ __volatile__ ( \
"1:\n" \
" .section .fixup,\"ax\"\n" \
FIXUP \
" .previous\n" \
" .section __ex_table,\"a\"\n" \
TENTRY \
" .previous" \
: "=b" (to), "=r" (ret) \
: "0" (to), "1" (ret) \
: "memory")

Definition at line 579 of file uaccess.h.

#define __asm_clear_1 (   to,
  ret 
)
Value:
"2: clear.b [%0+]\n", \
"3: jump 1b\n" \
" addq 1,%1\n", \
" .dword 2b,3b\n")

Definition at line 593 of file uaccess.h.

#define __asm_clear_12 (   to,
  ret 
)    __asm_clear_12x_cont(to, ret, "", "", "")

Definition at line 651 of file uaccess.h.

#define __asm_clear_12x_cont (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
"6: clear.d [%0+]\n", \
FIXUP \
"7: addq 4,%1\n", \
TENTRY \
" .dword 6b,7b\n")

Definition at line 642 of file uaccess.h.

#define __asm_clear_16 (   to,
  ret 
)    __asm_clear_16x_cont(to, ret, "", "", "")

Definition at line 663 of file uaccess.h.

#define __asm_clear_16x_cont (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
"8: clear.d [%0+]\n", \
FIXUP \
"9: addq 4,%1\n", \
TENTRY \
" .dword 8b,9b\n")

Definition at line 654 of file uaccess.h.

#define __asm_clear_2 (   to,
  ret 
)
Value:
"2: clear.w [%0+]\n", \
"3: jump 1b\n" \
" addq 2,%1\n", \
" .dword 2b,3b\n")

Definition at line 600 of file uaccess.h.

#define __asm_clear_20 (   to,
  ret 
)    __asm_clear_20x_cont(to, ret, "", "", "")

Definition at line 675 of file uaccess.h.

#define __asm_clear_20x_cont (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
"10: clear.d [%0+]\n", \
FIXUP \
"11: addq 4,%1\n", \
TENTRY \
" .dword 10b,11b\n")

Definition at line 666 of file uaccess.h.

#define __asm_clear_24 (   to,
  ret 
)    __asm_clear_24x_cont(to, ret, "", "", "")

Definition at line 687 of file uaccess.h.

#define __asm_clear_24x_cont (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
"12: clear.d [%0+]\n", \
FIXUP \
"13: addq 4,%1\n", \
TENTRY \
" .dword 12b,13b\n")

Definition at line 678 of file uaccess.h.

#define __asm_clear_3 (   to,
  ret 
)
Value:
"2: clear.w [%0+]\n" \
"3: clear.b [%0+]\n", \
"4: addq 2,%1\n" \
"5: jump 1b\n" \
" addq 1,%1\n", \
" .dword 2b,4b\n" \
" .dword 3b,5b\n")

Definition at line 607 of file uaccess.h.

#define __asm_clear_4 (   to,
  ret 
)    __asm_clear_4x_cont(to, ret, "", "", "")

Definition at line 627 of file uaccess.h.

#define __asm_clear_4x_cont (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
"2: clear.d [%0+]\n", \
FIXUP \
"3: jump 1b\n" \
" addq 4,%1\n", \
TENTRY \
" .dword 2b,3b\n")

Definition at line 617 of file uaccess.h.

#define __asm_clear_8 (   to,
  ret 
)    __asm_clear_8x_cont(to, ret, "", "", "")

Definition at line 639 of file uaccess.h.

#define __asm_clear_8x_cont (   to,
  ret,
  CLEAR,
  FIXUP,
  TENTRY 
)
Value:
"4: clear.d [%0+]\n", \
FIXUP \
"5: addq 4,%1\n", \
TENTRY \
" .dword 4b,5b\n")

Definition at line 630 of file uaccess.h.

#define __asm_copy_from_user_1 (   to,
  from,
  ret 
)
Value:
"2: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"3: addq 1,%2\n" \
" jump 1b\n" \
" clear.b [%0+]\n", \
" .dword 2b,3b\n")

Definition at line 176 of file uaccess.h.

#define __asm_copy_from_user_10 (   to,
  from,
  ret 
)    __asm_copy_from_user_10x_cont(to, from, ret, "", "", "")

Definition at line 286 of file uaccess.h.

#define __asm_copy_from_user_10x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"6: move.w [%1+],$acr\n" \
" move.w $acr,[%0+]\n", \
FIXUP \
"7: addq 2,%2\n" \
" clear.w [%0+]\n", \
TENTRY \
" .dword 6b,7b\n")

Definition at line 275 of file uaccess.h.

#define __asm_copy_from_user_11 (   to,
  from,
  ret 
)
Value:
"8: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"9: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 8b,9b\n")

Definition at line 289 of file uaccess.h.

#define __asm_copy_from_user_12 (   to,
  from,
  ret 
)    __asm_copy_from_user_12x_cont(to, from, ret, "", "", "")

Definition at line 308 of file uaccess.h.

#define __asm_copy_from_user_12x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"6: move.d [%1+],$acr\n" \
" move.d $acr,[%0+]\n", \
FIXUP \
"7: addq 4,%2\n" \
" clear.d [%0+]\n", \
TENTRY \
" .dword 6b,7b\n")

Definition at line 297 of file uaccess.h.

#define __asm_copy_from_user_13 (   to,
  from,
  ret 
)
Value:
"8: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"9: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 8b,9b\n")

Definition at line 311 of file uaccess.h.

#define __asm_copy_from_user_14 (   to,
  from,
  ret 
)    __asm_copy_from_user_14x_cont(to, from, ret, "", "", "")

Definition at line 330 of file uaccess.h.

#define __asm_copy_from_user_14x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"8: move.w [%1+],$acr\n" \
" move.w $acr,[%0+]\n", \
FIXUP \
"9: addq 2,%2\n" \
" clear.w [%0+]\n", \
TENTRY \
" .dword 8b,9b\n")

Definition at line 319 of file uaccess.h.

#define __asm_copy_from_user_15 (   to,
  from,
  ret 
)
Value:
"10: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"11: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 10b,11b\n")

Definition at line 333 of file uaccess.h.

#define __asm_copy_from_user_16 (   to,
  from,
  ret 
)    __asm_copy_from_user_16x_cont(to, from, ret, "", "", "")

Definition at line 352 of file uaccess.h.

#define __asm_copy_from_user_16x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"8: move.d [%1+],$acr\n" \
" move.d $acr,[%0+]\n", \
FIXUP \
"9: addq 4,%2\n" \
" clear.d [%0+]\n", \
TENTRY \
" .dword 8b,9b\n")

Definition at line 341 of file uaccess.h.

#define __asm_copy_from_user_2 (   to,
  from,
  ret 
)    __asm_copy_from_user_2x_cont(to, from, ret, "", "", "")

Definition at line 197 of file uaccess.h.

#define __asm_copy_from_user_20 (   to,
  from,
  ret 
)    __asm_copy_from_user_20x_cont(to, from, ret, "", "", "")

Definition at line 366 of file uaccess.h.

#define __asm_copy_from_user_20x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"10: move.d [%1+],$acr\n" \
" move.d $acr,[%0+]\n", \
FIXUP \
"11: addq 4,%2\n" \
" clear.d [%0+]\n", \
TENTRY \
" .dword 10b,11b\n")

Definition at line 355 of file uaccess.h.

#define __asm_copy_from_user_24 (   to,
  from,
  ret 
)    __asm_copy_from_user_24x_cont(to, from, ret, "", "", "")

Definition at line 380 of file uaccess.h.

#define __asm_copy_from_user_24x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"12: move.d [%1+],$acr\n" \
" move.d $acr,[%0+]\n", \
FIXUP \
"13: addq 4,%2\n" \
" clear.d [%0+]\n", \
TENTRY \
" .dword 12b,13b\n")

Definition at line 369 of file uaccess.h.

#define __asm_copy_from_user_2x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"2: move.w [%1+],$acr\n" \
" move.w $acr,[%0+]\n", \
FIXUP \
"3: addq 2,%2\n" \
" jump 1b\n" \
" clear.w [%0+]\n", \
TENTRY \
" .dword 2b,3b\n")

Definition at line 185 of file uaccess.h.

#define __asm_copy_from_user_3 (   to,
  from,
  ret 
)
Value:
"4: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"5: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 4b,5b\n")

Definition at line 200 of file uaccess.h.

#define __asm_copy_from_user_4 (   to,
  from,
  ret 
)    __asm_copy_from_user_4x_cont(to, from, ret, "", "", "")

Definition at line 220 of file uaccess.h.

#define __asm_copy_from_user_4x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"2: move.d [%1+],$acr\n" \
" move.d $acr,[%0+]\n", \
FIXUP \
"3: addq 4,%2\n" \
" jump 1b\n" \
" clear.d [%0+]\n", \
TENTRY \
" .dword 2b,3b\n")

Definition at line 208 of file uaccess.h.

#define __asm_copy_from_user_5 (   to,
  from,
  ret 
)
Value:
"4: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"5: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 4b,5b\n")

Definition at line 223 of file uaccess.h.

#define __asm_copy_from_user_6 (   to,
  from,
  ret 
)    __asm_copy_from_user_6x_cont(to, from, ret, "", "", "")

Definition at line 242 of file uaccess.h.

#define __asm_copy_from_user_6x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"4: move.w [%1+],$acr\n" \
" move.w $acr,[%0+]\n", \
FIXUP \
"5: addq 2,%2\n" \
" clear.w [%0+]\n", \
TENTRY \
" .dword 4b,5b\n")

Definition at line 231 of file uaccess.h.

#define __asm_copy_from_user_7 (   to,
  from,
  ret 
)
Value:
"6: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"7: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 6b,7b\n")

Definition at line 245 of file uaccess.h.

#define __asm_copy_from_user_8 (   to,
  from,
  ret 
)    __asm_copy_from_user_8x_cont(to, from, ret, "", "", "")

Definition at line 264 of file uaccess.h.

#define __asm_copy_from_user_8x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
"4: move.d [%1+],$acr\n" \
" move.d $acr,[%0+]\n", \
FIXUP \
"5: addq 4,%2\n" \
" clear.d [%0+]\n", \
TENTRY \
" .dword 4b,5b\n")

Definition at line 253 of file uaccess.h.

#define __asm_copy_from_user_9 (   to,
  from,
  ret 
)
Value:
"6: move.b [%1+],$acr\n" \
" move.b $acr,[%0+]\n", \
"7: addq 1,%2\n" \
" clear.b [%0+]\n", \
" .dword 6b,7b\n")

Definition at line 267 of file uaccess.h.

#define __asm_copy_to_user_1 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"2: move.b $acr,[%0+]\n", \
"3: jump 1b\n" \
" addq 1,%2\n", \
" .dword 2b,3b\n")

Definition at line 385 of file uaccess.h.

#define __asm_copy_to_user_10 (   to,
  from,
  ret 
)    __asm_copy_to_user_10x_cont(to, from, ret, "", "", "")

Definition at line 485 of file uaccess.h.

#define __asm_copy_to_user_10x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.w [%1+],$acr\n" \
"6: move.w $acr,[%0+]\n", \
FIXUP \
"7: addq 2,%2\n", \
TENTRY \
" .dword 6b,7b\n")

Definition at line 475 of file uaccess.h.

#define __asm_copy_to_user_11 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"8: move.b $acr,[%0+]\n", \
"9: addq 1,%2\n", \
" .dword 8b,9b\n")

Definition at line 488 of file uaccess.h.

#define __asm_copy_to_user_12 (   to,
  from,
  ret 
)    __asm_copy_to_user_12x_cont(to, from, ret, "", "", "")

Definition at line 505 of file uaccess.h.

#define __asm_copy_to_user_12x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.d [%1+],$acr\n" \
"6: move.d $acr,[%0+]\n", \
FIXUP \
"7: addq 4,%2\n", \
TENTRY \
" .dword 6b,7b\n")

Definition at line 495 of file uaccess.h.

#define __asm_copy_to_user_13 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"8: move.b $acr,[%0+]\n", \
"9: addq 1,%2\n", \
" .dword 8b,9b\n")

Definition at line 508 of file uaccess.h.

#define __asm_copy_to_user_14 (   to,
  from,
  ret 
)    __asm_copy_to_user_14x_cont(to, from, ret, "", "", "")

Definition at line 525 of file uaccess.h.

#define __asm_copy_to_user_14x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.w [%1+],$acr\n" \
"8: move.w $acr,[%0+]\n", \
FIXUP \
"9: addq 2,%2\n", \
TENTRY \
" .dword 8b,9b\n")

Definition at line 515 of file uaccess.h.

#define __asm_copy_to_user_15 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"10: move.b $acr,[%0+]\n", \
"11: addq 1,%2\n", \
" .dword 10b,11b\n")

Definition at line 528 of file uaccess.h.

#define __asm_copy_to_user_16 (   to,
  from,
  ret 
)    __asm_copy_to_user_16x_cont(to, from, ret, "", "", "")

Definition at line 545 of file uaccess.h.

#define __asm_copy_to_user_16x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.d [%1+],$acr\n" \
"8: move.d $acr,[%0+]\n", \
FIXUP \
"9: addq 4,%2\n", \
TENTRY \
" .dword 8b,9b\n")

Definition at line 535 of file uaccess.h.

#define __asm_copy_to_user_2 (   to,
  from,
  ret 
)    __asm_copy_to_user_2x_cont(to, from, ret, "", "", "")

Definition at line 404 of file uaccess.h.

#define __asm_copy_to_user_20 (   to,
  from,
  ret 
)    __asm_copy_to_user_20x_cont(to, from, ret, "", "", "")

Definition at line 558 of file uaccess.h.

#define __asm_copy_to_user_20x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.d [%1+],$acr\n" \
"10: move.d $acr,[%0+]\n", \
FIXUP \
"11: addq 4,%2\n", \
TENTRY \
" .dword 10b,11b\n")

Definition at line 548 of file uaccess.h.

#define __asm_copy_to_user_24 (   to,
  from,
  ret 
)    __asm_copy_to_user_24x_cont(to, from, ret, "", "", "")

Definition at line 571 of file uaccess.h.

#define __asm_copy_to_user_24x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.d [%1+],$acr\n" \
"12: move.d $acr,[%0+]\n", \
FIXUP \
"13: addq 4,%2\n", \
TENTRY \
" .dword 12b,13b\n")

Definition at line 561 of file uaccess.h.

#define __asm_copy_to_user_2x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.w [%1+],$acr\n" \
"2: move.w $acr,[%0+]\n", \
FIXUP \
"3: jump 1b\n" \
" addq 2,%2\n", \
TENTRY \
" .dword 2b,3b\n")

Definition at line 393 of file uaccess.h.

#define __asm_copy_to_user_3 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"4: move.b $acr,[%0+]\n", \
"5: addq 1,%2\n", \
" .dword 4b,5b\n")

Definition at line 407 of file uaccess.h.

#define __asm_copy_to_user_4 (   to,
  from,
  ret 
)    __asm_copy_to_user_4x_cont(to, from, ret, "", "", "")

Definition at line 425 of file uaccess.h.

#define __asm_copy_to_user_4x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.d [%1+],$acr\n" \
"2: move.d $acr,[%0+]\n", \
FIXUP \
"3: jump 1b\n" \
" addq 4,%2\n", \
TENTRY \
" .dword 2b,3b\n")

Definition at line 414 of file uaccess.h.

#define __asm_copy_to_user_5 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"4: move.b $acr,[%0+]\n", \
"5: addq 1,%2\n", \
" .dword 4b,5b\n")

Definition at line 428 of file uaccess.h.

#define __asm_copy_to_user_6 (   to,
  from,
  ret 
)    __asm_copy_to_user_6x_cont(to, from, ret, "", "", "")

Definition at line 445 of file uaccess.h.

#define __asm_copy_to_user_6x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.w [%1+],$acr\n" \
"4: move.w $acr,[%0+]\n", \
FIXUP \
"5: addq 2,%2\n", \
TENTRY \
" .dword 4b,5b\n")

Definition at line 435 of file uaccess.h.

#define __asm_copy_to_user_7 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"6: move.b $acr,[%0+]\n", \
"7: addq 1,%2\n", \
" .dword 6b,7b\n")

Definition at line 448 of file uaccess.h.

#define __asm_copy_to_user_8 (   to,
  from,
  ret 
)    __asm_copy_to_user_8x_cont(to, from, ret, "", "", "")

Definition at line 465 of file uaccess.h.

#define __asm_copy_to_user_8x_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
COPY \
" move.d [%1+],$acr\n" \
"4: move.d $acr,[%0+]\n", \
FIXUP \
"5: addq 4,%2\n", \
TENTRY \
" .dword 4b,5b\n")

Definition at line 455 of file uaccess.h.

#define __asm_copy_to_user_9 (   to,
  from,
  ret 
)
Value:
" move.b [%1+],$acr\n" \
"6: move.b $acr,[%0+]\n", \
"7: addq 1,%2\n", \
" .dword 6b,7b\n")

Definition at line 468 of file uaccess.h.

#define __asm_copy_user_cont (   to,
  from,
  ret,
  COPY,
  FIXUP,
  TENTRY 
)
Value:
__asm__ __volatile__ ( \
COPY \
"1:\n" \
" .section .fixup,\"ax\"\n" \
FIXUP \
" .previous\n" \
" .section __ex_table,\"a\"\n" \
TENTRY \
" .previous\n" \
: "=b" (to), "=b" (from), "=r" (ret) \
: "0" (to), "1" (from), "2" (ret) \
: "acr", "memory")

Definition at line 162 of file uaccess.h.

#define __get_user_asm (   x,
  addr,
  err,
  op 
)
Value:
__asm__ __volatile__( \
"2: "op" [%2],%1\n" \
"4:\n" \
" .section .fixup,\"ax\"\n" \
"3: move.d %3,%0\n" \
" jump 4b\n" \
" moveq 0,%1\n" \
" .previous\n" \
" .section __ex_table,\"a\"\n" \
" .dword 2b,3b\n" \
" .previous\n" \
: "=r" (err), "=r" (x) \
: "r" (addr), "g" (-EFAULT), "0" (err))

Definition at line 52 of file uaccess.h.

#define __get_user_asm_64 (   x,
  addr,
  err 
)
Value:
do { \
int dummy_for_get_user_asm_64_; \
__asm__ __volatile__( \
"2: move.d [%2+],%M1\n" \
"4: move.d [%2],%H1\n" \
"5:\n" \
" .section .fixup,\"ax\"\n" \
"3: move.d %4,%0\n" \
" jump 5b\n" \
" moveq 0,%1\n" \
" .previous\n" \
" .section __ex_table,\"a\"\n" \
" .dword 2b,3b\n" \
" .dword 4b,3b\n" \
" .previous\n" \
: "=r" (err), "=r" (x), \
"=b" (dummy_for_get_user_asm_64_) \
: "2" (addr), "g" (-EFAULT), "0" (err));\
} while (0)

Definition at line 67 of file uaccess.h.

#define __put_user_asm (   x,
  addr,
  err,
  op 
)
Value:
__asm__ __volatile__( \
"2: "op" %1,[%2]\n" \
"4:\n" \
" .section .fixup,\"ax\"\n" \
"3: move.d %3,%0\n" \
" jump 4b\n" \
" nop\n" \
" .previous\n" \
" .section __ex_table,\"a\"\n" \
" .dword 2b,3b\n" \
" .previous\n" \
: "=r" (err) \
: "r" (x), "r" (addr), "g" (-EFAULT), "0" (err))

Definition at line 16 of file uaccess.h.

#define __put_user_asm_64 (   x,
  addr,
  err 
)
Value:
do { \
int dummy_for_put_user_asm_64_; \
__asm__ __volatile__( \
"2: move.d %M2,[%1+]\n" \
"4: move.d %H2,[%1]\n" \
"5:\n" \
" .section .fixup,\"ax\"\n" \
"3: move.d %4,%0\n" \
" jump 5b\n" \
" .previous\n" \
" .section __ex_table,\"a\"\n" \
" .dword 2b,3b\n" \
" .dword 4b,3b\n" \
" .previous\n" \
: "=r" (err), "=b" (dummy_for_put_user_asm_64_) \
: "r" (x), "1" (addr), "g" (-EFAULT), \
"0" (err)); \
} while (0)

Definition at line 31 of file uaccess.h.