Lines Matching refs:__gu_ptr
178 #define __get_user_nocheck(x, __gu_ptr, label) \ argument
181 !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)) { \
188 __get_user_asm("lb", (x), __gu_ptr, label); \
191 __get_user_asm("lh", (x), __gu_ptr, label); \
194 __get_user_asm("lw", (x), __gu_ptr, label); \
197 __get_user_8((x), __gu_ptr, label); \
238 const __typeof__(*(ptr)) __user *__gu_ptr = untagged_addr(ptr); \
242 __chk_user_ptr(__gu_ptr); \
245 __get_user_error(__gu_val, __gu_ptr, __gu_err); \
310 #define __put_user_nocheck(x, __gu_ptr, label) \ argument
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)) { \
321 __put_user_asm("sb", (x), __gu_ptr, label); \
324 __put_user_asm("sh", (x), __gu_ptr, label); \
327 __put_user_asm("sw", (x), __gu_ptr, label); \
330 __put_user_8((x), __gu_ptr, label); \
369 __typeof__(*(ptr)) __user *__gu_ptr = untagged_addr(ptr); \
370 __typeof__(*__gu_ptr) __val = (x); \
373 __chk_user_ptr(__gu_ptr); \
376 __put_user_error(__val, __gu_ptr, __pu_err); \