Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
compat.h File Reference
#include <linux/types.h>
#include <linux/sched.h>
#include <asm/processor.h>
#include <asm/user32.h>
#include <asm/unistd.h>

Go to the source code of this file.

Data Structures

struct  compat_timespec
 
struct  compat_timeval
 
struct  compat_stat
 
struct  compat_flock
 
struct  compat_flock64
 
struct  compat_statfs
 
union  compat_sigval
 
struct  compat_siginfo
 
struct  compat_ipc64_perm
 
struct  compat_semid64_ds
 
struct  compat_msqid64_ds
 
struct  compat_shmid64_ds
 

Macros

#define COMPAT_USER_HZ   100
 
#define COMPAT_UTS_MACHINE   "i686\0\0"
 
#define F_GETLK64   12 /* using 'struct flock64' */
 
#define F_SETLK64   13
 
#define F_SETLKW64   14
 
#define COMPAT_RLIM_OLD_INFINITY   0x7fffffff
 
#define COMPAT_RLIM_INFINITY   0xffffffff
 
#define _COMPAT_NSIG   64
 
#define _COMPAT_NSIG_BPW   32
 
#define COMPAT_OFF_T_MAX   0x7fffffff
 
#define COMPAT_LOFF_T_MAX   0x7fffffffffffffffL
 

Typedefs

typedef u32 compat_size_t
 
typedef s32 compat_ssize_t
 
typedef s32 compat_time_t
 
typedef s32 compat_clock_t
 
typedef s32 compat_pid_t
 
typedef u16 __compat_uid_t
 
typedef u16 __compat_gid_t
 
typedef u32 __compat_uid32_t
 
typedef u32 __compat_gid32_t
 
typedef u16 compat_mode_t
 
typedef u32 compat_ino_t
 
typedef u16 compat_dev_t
 
typedef s32 compat_off_t
 
typedef s64 compat_loff_t
 
typedef u16 compat_nlink_t
 
typedef u16 compat_ipc_pid_t
 
typedef s32 compat_daddr_t
 
typedef u32 compat_caddr_t
 
typedef __kernel_fsid_t compat_fsid_t
 
typedef s32 compat_timer_t
 
typedef s32 compat_key_t
 
typedef s32 compat_int_t
 
typedef s32 compat_long_t
 
typedef s64 __attribute__ ((aligned(4))) compat_s64
 
typedef u32 compat_uint_t
 
typedef u32 compat_ulong_t
 
typedef u32 compat_uptr_t
 
typedef u32 compat_old_sigset_t
 
typedef u32 compat_sigset_word
 
typedef union compat_sigval compat_sigval_t
 
typedef struct compat_siginfo compat_siginfo_t
 
typedef struct user_regs_struct32 compat_elf_gregset_t
 

Functions

struct compat_flock64 __attribute__ ((packed))
 

Variables

short l_type
 
short l_whence
 
compat_loff_t l_start
 
compat_loff_t l_len
 
compat_pid_t l_pid
 

Macro Definition Documentation

#define _COMPAT_NSIG   64

Definition at line 123 of file compat.h.

#define _COMPAT_NSIG_BPW   32

Definition at line 124 of file compat.h.

#define COMPAT_LOFF_T_MAX   0x7fffffffffffffffL

Definition at line 201 of file compat.h.

#define COMPAT_OFF_T_MAX   0x7fffffff

Definition at line 200 of file compat.h.

#define COMPAT_RLIM_INFINITY   0xffffffff

Definition at line 119 of file compat.h.

#define COMPAT_RLIM_OLD_INFINITY   0x7fffffff

Definition at line 118 of file compat.h.

#define COMPAT_USER_HZ   100

Definition at line 13 of file compat.h.

#define COMPAT_UTS_MACHINE   "i686\0\0"

Definition at line 14 of file compat.h.

#define F_GETLK64   12 /* using 'struct flock64' */

Definition at line 87 of file compat.h.

#define F_SETLK64   13

Definition at line 88 of file compat.h.

#define F_SETLKW64   14

Definition at line 89 of file compat.h.

Typedef Documentation

Definition at line 40 of file compat.h.

Definition at line 24 of file compat.h.

Definition at line 22 of file compat.h.

Definition at line 23 of file compat.h.

Definition at line 21 of file compat.h.

Definition at line 33 of file compat.h.

Definition at line 19 of file compat.h.

Definition at line 32 of file compat.h.

typedef u16 compat_dev_t

Definition at line 27 of file compat.h.

Definition at line 276 of file compat.h.

Definition at line 34 of file compat.h.

typedef u32 compat_ino_t

Definition at line 26 of file compat.h.

typedef s32 compat_int_t

Definition at line 38 of file compat.h.

Definition at line 31 of file compat.h.

typedef s32 compat_key_t

Definition at line 36 of file compat.h.

typedef s64 compat_loff_t

Definition at line 29 of file compat.h.

typedef s32 compat_long_t

Definition at line 39 of file compat.h.

typedef u16 compat_mode_t

Definition at line 25 of file compat.h.

Definition at line 30 of file compat.h.

typedef s32 compat_off_t

Definition at line 28 of file compat.h.

Definition at line 121 of file compat.h.

typedef s32 compat_pid_t

Definition at line 20 of file compat.h.

Definition at line 126 of file compat.h.

typedef u32 compat_size_t

Definition at line 16 of file compat.h.

Definition at line 17 of file compat.h.

typedef s32 compat_time_t

Definition at line 18 of file compat.h.

Definition at line 35 of file compat.h.

typedef u32 compat_uint_t

Definition at line 41 of file compat.h.

Definition at line 42 of file compat.h.

typedef u32 compat_uptr_t

Definition at line 44 of file compat.h.

Function Documentation

struct compat_flock64 __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 105 of file compat.h.

compat_pid_t l_pid

Definition at line 106 of file compat.h.

compat_loff_t l_start

Definition at line 104 of file compat.h.

short l_type

Definition at line 102 of file compat.h.

short l_whence

Definition at line 103 of file compat.h.