search for: get_desc_present

Displaying 4 results from an estimated 4 matches for "get_desc_present".

2007 Apr 18
2
[PATCH 16/21] i386 Eliminate duplicate segment macros
...te__((packed)); +#define get_desc_32bit(desc) (((desc)->b >> 22) & 1) +#define get_desc_contents(desc) (((desc)->b >> 10) & 3) +#define get_desc_writable(desc) (((desc)->b >> 9) & 1) +#define get_desc_gran(desc) (((desc)->b >> 23) & 1) +#define get_desc_present(desc) (((desc)->b >> 15) & 1) +#define get_desc_usable(desc) (((desc)->b >> 20) & 1) + static inline struct desc_internal_struct *desc_internal(struct desc_struct *d) { return (struct desc_internal_struct *)d; @@ -123,6 +130,19 @@ static inline void set_ldt_desc(unsign...
2007 Apr 18
2
[PATCH 16/21] i386 Eliminate duplicate segment macros
...te__((packed)); +#define get_desc_32bit(desc) (((desc)->b >> 22) & 1) +#define get_desc_contents(desc) (((desc)->b >> 10) & 3) +#define get_desc_writable(desc) (((desc)->b >> 9) & 1) +#define get_desc_gran(desc) (((desc)->b >> 23) & 1) +#define get_desc_present(desc) (((desc)->b >> 15) & 1) +#define get_desc_usable(desc) (((desc)->b >> 20) & 1) + static inline struct desc_internal_struct *desc_internal(struct desc_struct *d) { return (struct desc_internal_struct *)d; @@ -123,6 +130,19 @@ static inline void set_ldt_desc(unsign...
2007 Apr 18
0
[PATCH 11/14] i386 / Eliminate yet another redundant accessor
...(desc2)->b)) +#define get_desc_32bit(desc) (((desc)->b >> 22) & 1) +#define get_desc_contents(desc) (((desc)->b >> 10) & 3) +#define get_desc_writable(desc) (((desc)->b >> 9) & 1) +#define get_desc_gran(desc) (((desc)->b >> 23) & 1) +#define get_desc_present(desc) (((desc)->b >> 15) & 1) +#define get_desc_usable(desc) (((desc)->b >> 20) & 1) + static inline unsigned long get_desc_base(struct desc_struct *desc) { unsigned long base; @@ -36,6 +43,19 @@ return limit; } +static inline void convert_desc_to_user(struct desc...
2007 Apr 18
0
[PATCH 11/14] i386 / Eliminate yet another redundant accessor
...(desc2)->b)) +#define get_desc_32bit(desc) (((desc)->b >> 22) & 1) +#define get_desc_contents(desc) (((desc)->b >> 10) & 3) +#define get_desc_writable(desc) (((desc)->b >> 9) & 1) +#define get_desc_gran(desc) (((desc)->b >> 23) & 1) +#define get_desc_present(desc) (((desc)->b >> 15) & 1) +#define get_desc_usable(desc) (((desc)->b >> 20) & 1) + static inline unsigned long get_desc_base(struct desc_struct *desc) { unsigned long base; @@ -36,6 +43,19 @@ return limit; } +static inline void convert_desc_to_user(struct desc...