PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
bitmap Struct Reference

From the outside, a bitmap is an array of bits. More...

Data Fields

size_t bit_cnt
 Number of bits. More...
 
elem_typebits
 Elements that represent bits. More...
 

Detailed Description

From the outside, a bitmap is an array of bits.

From the inside, it's an array of elem_type (defined above) that simulates an array of bits.

Definition at line 27 of file bitmap.c.

Field Documentation

◆ bit_cnt

size_t bitmap::bit_cnt

◆ bits

elem_type* bitmap::bits

Elements that represent bits.

Definition at line 30 of file bitmap.c.

Referenced by bitmap_create(), bitmap_create_in_buf(), bitmap_destroy(), bitmap_dump(), bitmap_flip(), bitmap_mark(), bitmap_reset(), and bitmap_test().


The documentation for this struct was generated from the following file: