Home
last modified time | relevance | path

Searched refs:__pu_addr (Results 1 – 2 of 2) sorted by relevance

/external/kernel-headers/original/asm-arm/
Duaccess.h295 unsigned long __pu_addr = (unsigned long)(ptr); \
299 case 1: __put_user_asm_byte(__pu_val,__pu_addr,err); break; \
300 case 2: __put_user_asm_half(__pu_val,__pu_addr,err); break; \
301 case 4: __put_user_asm_word(__pu_val,__pu_addr,err); break; \
302 case 8: __put_user_asm_dword(__pu_val,__pu_addr,err); break; \
307 #define __put_user_asm_byte(x,__pu_addr,err) \ argument
321 : "r" (x), "r" (__pu_addr), "i" (-EFAULT) \
325 #define __put_user_asm_half(x,__pu_addr,err) \ argument
328 __put_user_asm_byte(__temp, __pu_addr, err); \
329 __put_user_asm_byte(__temp >> 8, __pu_addr + 1, err); \
[all …]
/external/kernel-headers/original/asm-mips/
Duaccess.h322 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
326 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \
328 case 1: __put_user_asm("sb", __pu_addr); break; \
329 case 2: __put_user_asm("sh", __pu_addr); break; \
330 case 4: __put_user_asm("sw", __pu_addr); break; \
331 case 8: __PUT_USER_DW(__pu_addr); break; \