Lines Matching refs:ptr
42 #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) argument
43 #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) argument
50 #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
51 #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
56 #define __get_user_nocheck(x,ptr,size) \ argument
60 const __typeof__(*(ptr)) __user *__gu_addr = (ptr); \
61 __chk_user_ptr(ptr); \
63 (x) = (__force __typeof__(*(ptr)))__gu_val; \
67 #define __get_user_check(x,ptr,size) \ argument
71 const __typeof__(*(ptr)) *__gu_addr = (ptr); \
74 (x) = (__force __typeof__(*(ptr)))__gu_val; \
78 #define __put_user_nocheck(x,ptr,size) \ argument
81 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
82 __typeof__(*(ptr)) __pu_val = x; \
83 __chk_user_ptr(ptr); \
88 #define __put_user_check(x,ptr,size) \ argument
91 __typeof__(*(ptr)) __user *__pu_addr = (ptr); \
92 __typeof__(*(ptr)) __pu_val = x; \