nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
zone.h
Go to the documentation of this file.
1 enum zone_type {
7 };
8 
12 struct zone {
13  struct list_head head;
15  struct node *node;
17  enum zone_type type;
19 
22 };
23 
24 extern int create_zone(struct node *node,
25  enum zone_type zone, off_t base, size_t size);
26 
27 extern struct zone *find_zone(enum zone_type zone);
28 extern struct zone *find_zone_by_addr(void *pma);
29 
30 extern int destroy_zone(struct zone *zone);
31