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

Go to the source code of this file.

Data Structures

struct  mm_segment_t
 

Macros

#define USER_DATA   (1)
 
#define __USER_DS   (USER_DATA)
 
#define USER_PROGRAM   (2)
 
#define SUPER_DATA   (3)
 
#define __KERNEL_DS   (SUPER_DATA)
 
#define SUPER_PROGRAM   (4)
 
#define MAKE_MM_SEG(s)   ((mm_segment_t) { (s) })
 
#define USER_DS   MAKE_MM_SEG(__USER_DS)
 
#define KERNEL_DS   MAKE_MM_SEG(__KERNEL_DS)
 
#define segment_eq(a, b)   ((a).seg == (b).seg)
 

Variables

typedef __attribute__
 

Macro Definition Documentation

#define __KERNEL_DS   (SUPER_DATA)

Definition at line 12 of file segment.h.

#define __USER_DS   (USER_DATA)

Definition at line 7 of file segment.h.

#define KERNEL_DS   MAKE_MM_SEG(__KERNEL_DS)

Definition at line 24 of file segment.h.

#define MAKE_MM_SEG (   s)    ((mm_segment_t) { (s) })

Definition at line 22 of file segment.h.

#define segment_eq (   a,
  b 
)    ((a).seg == (b).seg)

Definition at line 45 of file segment.h.

#define SUPER_DATA   (3)

Definition at line 10 of file segment.h.

#define SUPER_PROGRAM   (4)

Definition at line 14 of file segment.h.

#define USER_DATA   (1)

Definition at line 5 of file segment.h.

#define USER_DS   MAKE_MM_SEG(__USER_DS)

Definition at line 23 of file segment.h.

#define USER_PROGRAM   (2)

Definition at line 9 of file segment.h.

Variable Documentation

typedef __attribute__