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

Go to the source code of this file.

Macros

#define __get_user_size(x, ptr, size, retval)
 
#define __put_user_size(x, ptr, size, retval)
 

Functions

long __get_user_asm_b (void *, long)
 
long __get_user_asm_w (void *, long)
 
long __get_user_asm_l (void *, long)
 
long __get_user_asm_q (void *, long)
 
void __get_user_unknown (void)
 
long __put_user_asm_b (void *, long)
 
long __put_user_asm_w (void *, long)
 
long __put_user_asm_l (void *, long)
 
long __put_user_asm_q (void *, long)
 
void __put_user_unknown (void)
 

Macro Definition Documentation

#define __get_user_size (   x,
  ptr,
  size,
  retval 
)
Value:
do { \
retval = 0; \
switch (size) { \
case 1: \
retval = __get_user_asm_b((void *)&x, \
(long)ptr); \
break; \
case 2: \
retval = __get_user_asm_w((void *)&x, \
(long)ptr); \
break; \
case 4: \
retval = __get_user_asm_l((void *)&x, \
(long)ptr); \
break; \
case 8: \
retval = __get_user_asm_q((void *)&x, \
(long)ptr); \
break; \
default: \
__get_user_unknown(); \
break; \
} \
} while (0)

Definition at line 24 of file uaccess_64.h.

#define __put_user_size (   x,
  ptr,
  size,
  retval 
)
Value:
do { \
retval = 0; \
switch (size) { \
case 1: \
retval = __put_user_asm_b((void *)&x, \
(long)ptr); \
break; \
case 2: \
retval = __put_user_asm_w((void *)&x, \
(long)ptr); \
break; \
case 4: \
retval = __put_user_asm_l((void *)&x, \
(long)ptr); \
break; \
case 8: \
retval = __put_user_asm_q((void *)&x, \
(long)ptr); \
break; \
default: \
__put_user_unknown(); \
} \
} while (0)

Definition at line 56 of file uaccess_64.h.

Function Documentation

long __get_user_asm_b ( void ,
long   
)
long __get_user_asm_l ( void ,
long   
)
long __get_user_asm_q ( void ,
long   
)
long __get_user_asm_w ( void ,
long   
)
void __get_user_unknown ( void  )
long __put_user_asm_b ( void ,
long   
)
long __put_user_asm_l ( void ,
long   
)
long __put_user_asm_q ( void ,
long   
)
long __put_user_asm_w ( void ,
long   
)
void __put_user_unknown ( void  )