Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
pat_rbtree.c File Reference
#include <linux/seq_file.h>
#include <linux/debugfs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/rbtree_augmented.h>
#include <linux/sched.h>
#include <linux/gfp.h>
#include <asm/pgtable.h>
#include <asm/pat.h>
#include "pat_internal.h"

Go to the source code of this file.

Functions

 RB_DECLARE_CALLBACKS (static, memtype_rb_augment_cb, struct memtype, rb, u64, subtree_max_end, compute_subtree_max_end)
 
int rbt_memtype_check_insert (struct memtype *new, unsigned long *ret_type)
 
struct memtyperbt_memtype_erase (u64 start, u64 end)
 
struct memtyperbt_memtype_lookup (u64 addr)
 

Function Documentation

RB_DECLARE_CALLBACKS ( static  ,
memtype_rb_augment_cb  ,
struct memtype  ,
rb  ,
u64  ,
subtree_max_end  ,
compute_subtree_max_end   
)

Definition at line 72 of file pat_rbtree.c.

int rbt_memtype_check_insert ( struct memtype new,
unsigned long ret_type 
)

Definition at line 190 of file pat_rbtree.c.

struct memtype* rbt_memtype_erase ( u64  start,
u64  end 
)
read

Definition at line 207 of file pat_rbtree.c.

struct memtype* rbt_memtype_lookup ( u64  addr)
read

Definition at line 220 of file pat_rbtree.c.