block Struct Reference


Data Fields

struct list_elem list_elem
char name [16]
enum block_type type
block_sector_t size
struct block_operationsops
void * aux
struct lock lock
unsigned long long read_cnt
unsigned long long write_cnt
struct list_elem free_elem

Detailed Description

Definition at line 11 of file block.c.


Field Documentation

struct list_elem block::list_elem [read]

Definition at line 13 of file block.c.

Referenced by block_next(), and block_register().

char block::name[16]

Definition at line 15 of file block.c.

Referenced by block_get_by_name(), block_name(), block_print_stats(), and block_register().

Definition at line 16 of file block.c.

Referenced by block_print_stats(), block_register(), block_type(), block_write(), and fsutil_extract().

Definition at line 17 of file block.c.

Referenced by block_register(), block_size(), calloc(), check_sector(), fsutil_append(), and fsutil_extract().

struct block_operations* block::ops [read]

Definition at line 19 of file block.c.

Referenced by block_read(), block_register(), and block_write().

void* block::aux

Definition at line 20 of file block.c.

Referenced by block_read(), block_register(), and block_write().

struct lock block::lock [read]

Definition at line 22 of file block.c.

Referenced by block_print_stats(), block_read(), block_register(), and block_write().

unsigned long long block::read_cnt

Definition at line 23 of file block.c.

Referenced by block_print_stats(), block_read(), and block_register().

unsigned long long block::write_cnt

Definition at line 24 of file block.c.

Referenced by block_print_stats(), block_register(), and block_write().

struct list_elem block::free_elem [read]

Definition at line 61 of file malloc.c.

Referenced by free(), and malloc().


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

Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6