OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:__put_user_asm_byte
(Results
1 - 6
of
6
) sorted by null
/bionic/libc/kernel/arch-arm/asm/
uaccess.h
54
#define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeof__(*(ptr)) __pu_val = (x); __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1:
__put_user_asm_byte
(__pu_val,__pu_addr,err); break; case 2: __put_user_asm_half(__pu_val,__pu_addr,err); break; case 4: __put_user_asm_word(__pu_val,__pu_addr,err); break; case 8: __put_user_asm_dword(__pu_val,__pu_addr,err); break; default: __put_user_bad(); } } while (0)
55
#define
__put_user_asm_byte
(x,__pu_addr,err) __asm__ __volatile__( "1: strbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err) : "r" (x), "r" (__pu_addr), "i" (-EFAULT) : "cc")
macro
57
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp, __pu_addr, err);
__put_user_asm_byte
(__temp >> 8, __pu_addr + 1, err); })
59
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp >> 8, __pu_addr, err);
__put_user_asm_byte
(__temp, __pu_addr + 1, err); })
/ndk/build/platforms/android-3/arch-arm/usr/include/asm/
uaccess.h
54
#define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeof__(*(ptr)) __pu_val = (x); __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1:
__put_user_asm_byte
(__pu_val,__pu_addr,err); break; case 2: __put_user_asm_half(__pu_val,__pu_addr,err); break; case 4: __put_user_asm_word(__pu_val,__pu_addr,err); break; case 8: __put_user_asm_dword(__pu_val,__pu_addr,err); break; default: __put_user_bad(); } } while (0)
55
#define
__put_user_asm_byte
(x,__pu_addr,err) __asm__ __volatile__( "1: strbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err) : "r" (x), "r" (__pu_addr), "i" (-EFAULT) : "cc")
macro
57
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp, __pu_addr, err);
__put_user_asm_byte
(__temp >> 8, __pu_addr + 1, err); })
59
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp >> 8, __pu_addr, err);
__put_user_asm_byte
(__temp, __pu_addr + 1, err); })
/ndk/build/platforms/android-4/arch-arm/usr/include/asm/
uaccess.h
54
#define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeof__(*(ptr)) __pu_val = (x); __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1:
__put_user_asm_byte
(__pu_val,__pu_addr,err); break; case 2: __put_user_asm_half(__pu_val,__pu_addr,err); break; case 4: __put_user_asm_word(__pu_val,__pu_addr,err); break; case 8: __put_user_asm_dword(__pu_val,__pu_addr,err); break; default: __put_user_bad(); } } while (0)
55
#define
__put_user_asm_byte
(x,__pu_addr,err) __asm__ __volatile__( "1: strbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err) : "r" (x), "r" (__pu_addr), "i" (-EFAULT) : "cc")
macro
57
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp, __pu_addr, err);
__put_user_asm_byte
(__temp >> 8, __pu_addr + 1, err); })
59
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp >> 8, __pu_addr, err);
__put_user_asm_byte
(__temp, __pu_addr + 1, err); })
/ndk/build/platforms/android-5/arch-arm/usr/include/asm/
uaccess.h
54
#define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeof__(*(ptr)) __pu_val = (x); __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1:
__put_user_asm_byte
(__pu_val,__pu_addr,err); break; case 2: __put_user_asm_half(__pu_val,__pu_addr,err); break; case 4: __put_user_asm_word(__pu_val,__pu_addr,err); break; case 8: __put_user_asm_dword(__pu_val,__pu_addr,err); break; default: __put_user_bad(); } } while (0)
55
#define
__put_user_asm_byte
(x,__pu_addr,err) __asm__ __volatile__( "1: strbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err) : "r" (x), "r" (__pu_addr), "i" (-EFAULT) : "cc")
macro
57
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp, __pu_addr, err);
__put_user_asm_byte
(__temp >> 8, __pu_addr + 1, err); })
59
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp >> 8, __pu_addr, err);
__put_user_asm_byte
(__temp, __pu_addr + 1, err); })
/ndk/build/platforms/android-8/arch-arm/usr/include/asm/
uaccess.h
54
#define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeof__(*(ptr)) __pu_val = (x); __chk_user_ptr(ptr); switch (sizeof(*(ptr))) { case 1:
__put_user_asm_byte
(__pu_val,__pu_addr,err); break; case 2: __put_user_asm_half(__pu_val,__pu_addr,err); break; case 4: __put_user_asm_word(__pu_val,__pu_addr,err); break; case 8: __put_user_asm_dword(__pu_val,__pu_addr,err); break; default: __put_user_bad(); } } while (0)
55
#define
__put_user_asm_byte
(x,__pu_addr,err) __asm__ __volatile__( "1: strbt %1,[%2],#0\n" "2:\n" " .section .fixup,\"ax\"\n" " .align 2\n" "3: mov %0, %3\n" " b 2b\n" " .previous\n" " .section __ex_table,\"a\"\n" " .align 3\n" " .long 1b, 3b\n" " .previous" : "+r" (err) : "r" (x), "r" (__pu_addr), "i" (-EFAULT) : "cc")
macro
57
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp, __pu_addr, err);
__put_user_asm_byte
(__temp >> 8, __pu_addr + 1, err); })
59
#define __put_user_asm_half(x,__pu_addr,err) ({ unsigned long __temp = (unsigned long)(x);
__put_user_asm_byte
(__temp >> 8, __pu_addr, err);
__put_user_asm_byte
(__temp, __pu_addr + 1, err); })
/external/kernel-headers/original/asm-arm/
uaccess.h
299
case 1:
__put_user_asm_byte
(__pu_val,__pu_addr,err); break; \
307
#define
__put_user_asm_byte
(x,__pu_addr,err) \
macro
328
__put_user_asm_byte
(__temp, __pu_addr, err); \
329
__put_user_asm_byte
(__temp >> 8, __pu_addr + 1, err); \
335
__put_user_asm_byte
(__temp >> 8, __pu_addr, err); \
336
__put_user_asm_byte
(__temp, __pu_addr + 1, err); \
Completed in 6970 milliseconds