Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
uaccess-unaligned.h File Reference

Go to the source code of this file.

Macros

#define __get_user_unaligned(x, ptr)
 
#define __put_user_unaligned(x, ptr)
 

Macro Definition Documentation

#define __get_user_unaligned (   x,
  ptr 
)
Value:
({ \
__typeof__ (*(ptr)) __x; \
__copy_from_user(&__x, (ptr), sizeof(*(ptr))) ? -EFAULT : 0; \
(x) = __x; \
})

Definition at line 8 of file uaccess-unaligned.h.

#define __put_user_unaligned (   x,
  ptr 
)
Value:
({ \
__typeof__ (*(ptr)) __x = (x); \
__copy_to_user((ptr), &__x, sizeof(*(ptr))) ? -EFAULT : 0; \
})

Definition at line 20 of file uaccess-unaligned.h.