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

Go to the source code of this file.

Data Structures

struct  range
 

Macros

#define MAX_RESOURCE   ((resource_size_t)~0)
 

Functions

int add_range (struct range *range, int az, int nr_range, u64 start, u64 end)
 
int add_range_with_merge (struct range *range, int az, int nr_range, u64 start, u64 end)
 
void subtract_range (struct range *range, int az, u64 start, u64 end)
 
int clean_sort_range (struct range *range, int az)
 
void sort_range (struct range *range, int nr_range)
 

Macro Definition Documentation

#define MAX_RESOURCE   ((resource_size_t)~0)

Definition at line 22 of file range.h.

Function Documentation

int add_range ( struct range range,
int  az,
int  nr_range,
u64  start,
u64  end 
)

Definition at line 10 of file range.c.

int add_range_with_merge ( struct range range,
int  az,
int  nr_range,
u64  start,
u64  end 
)

Definition at line 27 of file range.c.

int clean_sort_range ( struct range range,
int  az 
)

Definition at line 120 of file range.c.

void sort_range ( struct range range,
int  nr_range 
)

Definition at line 155 of file range.c.

void subtract_range ( struct range range,
int  az,
u64  start,
u64  end 
)

Definition at line 60 of file range.c.