zone_t Struct Reference
[generic]


Public Member Functions

 SPINLOCK_DECLARE (lock)

Data Fields

pfn_t base
count_t count
frame_tframes
count_t free_count
count_t busy_count
buddy_system_tbuddy_system
int flags

Detailed Description

Definition at line 77 of file frame.c.


Member Function Documentation

SPINLOCK_DECLARE lock   ) 
 

this lock protects everything below


Field Documentation

pfn_t base
 

frame_no of the first frame in the frames array

Definition at line 79 of file frame.c.

Referenced by _zone_merge(), find_zone_and_lock(), frame_alloc_generic(), frame_free(), frame_get_parent(), frame_index_abs(), frame_mark_unavailable(), frame_reference_add(), frame_set_parent(), return_config_frames(), zone_construct(), zone_merge(), zone_print_list(), and zones_add_zone().

buddy_system_t* buddy_system
 

buddy system for the zone

Definition at line 86 of file frame.c.

Referenced by _zone_merge(), zone_can_alloc(), zone_construct(), zone_frame_alloc(), zone_frame_free(), and zone_mark_unavailable().

count_t busy_count
 

number of busy frame_t structures

Definition at line 84 of file frame.c.

Referenced by _zone_merge(), return_config_frames(), zone_construct(), zone_frame_alloc(), zone_frame_free(), zone_merge(), and zone_print_list().

count_t count
 

Size of zone

Definition at line 80 of file frame.c.

Referenced by _zone_merge(), find_zone_and_lock(), frame_index_valid(), return_config_frames(), zone_construct(), zone_merge(), and zones_add_zone().

int flags
 

Definition at line 87 of file frame.c.

Referenced by _zone_merge(), and zone_construct().

frame_t* frames
 

array of frame_t structures in this zone

Definition at line 82 of file frame.c.

Referenced by frame_index(), frame_index_abs(), frame_reference_add(), make_frame_index(), return_config_frames(), zone_buddy_find_block(), zone_buddy_find_buddy(), zone_frame_free(), zone_get_frame(), and zone_reduce_region().

count_t free_count
 

number of free frame_t structures

Definition at line 83 of file frame.c.

Referenced by _zone_merge(), zone_construct(), zone_frame_alloc(), zone_frame_free(), zone_mark_unavailable(), and zone_print_list().


Generated on Sun Jun 18 17:30:31 2006 for HelenOS Kernel (ppc64) by  doxygen 1.4.6