Home
last modified time | relevance | path

Searched refs:__gu_ptr (Results 1 – 5 of 5) sorted by relevance

/linux/arch/riscv/include/asm/
H A Duaccess.h91 #define __get_user_nocheck(x, __gu_ptr, __gu_err) \ argument
93 switch (sizeof(*__gu_ptr)) { \
95 __get_user_asm("lb", (x), __gu_ptr, __gu_err); \
98 __get_user_asm("lh", (x), __gu_ptr, __gu_err); \
101 __get_user_asm("lw", (x), __gu_ptr, __gu_err); \
104 __get_user_8((x), __gu_ptr, __gu_err); \
133 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \
136 __chk_user_ptr(__gu_ptr); \
139 __get_user_nocheck(x, __gu_ptr, __gu_err); \
206 #define __put_user_nocheck(x, __gu_ptr, __pu_err) \ argument
[all …]
/linux/arch/microblaze/include/asm/
H A Duaccess.h59 #define __get_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument
73 : "r"(__gu_ptr), "i"(-EFAULT) \
96 const typeof(*(ptr)) __user *__gu_ptr = (ptr); \
97 access_ok(__gu_ptr, sizeof(*__gu_ptr)) ? \
98 __get_user(x, __gu_ptr) : -EFAULT; \
128 #define __put_user_asm(insn, __gu_ptr, __gu_val, __gu_err) \ argument
142 : "r"(__gu_val), "r"(__gu_ptr), "i"(-EFAULT) \
146 #define __put_user_asm_8(__gu_ptr, __gu_val, __gu_err) \ argument
162 : "r"(&__gu_val), "r"(__gu_ptr), "i"(-EFAULT) \
/linux/arch/nios2/include/asm/
H A Duaccess.h120 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \
121 __get_user_common(x, sizeof(*(ptr)), __gu_ptr, __gu_err); \
128 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \
129 if (access_ok( __gu_ptr, sizeof(*__gu_ptr))) \
130 __get_user_common(x, sizeof(*__gu_ptr), \
131 __gu_ptr, __gu_err); \
/linux/arch/mips/include/asm/
H A Duaccess.h171 const __typeof__(*(ptr)) __user *__gu_ptr = (ptr); \
174 __chk_user_ptr(__gu_ptr); \
175 switch (sizeof(*__gu_ptr)) { \
177 __get_data_asm((x), user_lb, __gu_ptr); \
180 __get_data_asm((x), user_lh, __gu_ptr); \
183 __get_data_asm((x), user_lw, __gu_ptr); \
186 __GET_DW((x), user_ld, __gu_ptr); \
/linux/arch/m68k/include/asm/
H A Duaccess.h128 const void *__gu_ptr = (const void __force *)(ptr); \
152 "+a" (__gu_ptr) \