Home
last modified time | relevance | path

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

/arch/riscv/include/asm/
A Duaccess.h181 !IS_ALIGNED((uintptr_t)__gu_ptr, sizeof(*__gu_ptr))) { \
182 if (__asm_copy_from_user_sum_enabled(&(x), __gu_ptr, sizeof(*__gu_ptr))) \
186 switch (sizeof(*__gu_ptr)) { \
197 __get_user_8((x), __gu_ptr, label); \
242 __chk_user_ptr(__gu_ptr); \
313 !IS_ALIGNED((uintptr_t)__gu_ptr, sizeof(*__gu_ptr))) { \
315 if (__asm_copy_to_user_sum_enabled(__gu_ptr, &(___val), sizeof(*__gu_ptr))) \
319 switch (sizeof(*__gu_ptr)) { \
330 __put_user_8((x), __gu_ptr, label); \
370 __typeof__(*__gu_ptr) __val = (x); \
[all …]
/arch/microblaze/include/asm/
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) \
/arch/nios2/include/asm/
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); \
/arch/mips/include/asm/
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); \
/arch/x86/include/asm/
A Duaccess.h261 const unsigned int __user *__gu_ptr; \
262 __gu_ptr = (const void __user *)(ptr); \
263 __get_user_asm(__gu_low, __gu_ptr, "l", "=r", label); \
264 __get_user_asm(__gu_high, __gu_ptr+1, "l", "=r", label); \
/arch/m68k/include/asm/
A Duaccess.h128 const void *__gu_ptr = (const void __force *)(ptr); \
152 "+a" (__gu_ptr) \

Completed in 10 milliseconds