block Struct Reference
[Libblock]


Data Fields

fibril_rwlock_t contents_lock
 Readers / Writer lock protecting the contents of the block.
void * data
 Buffer with the block data.
devmap_handle_t devmap_handle
 Handle of the device where the block resides.
bool dirty
 If true, the block needs to be written back to the block device.
link_t free_link
 Link for placing the block into the free block list.
link_t hash_link
 Link for placing the block into the block hash table.
aoff64_t lba
 Logical block address.
fibril_mutex_t lock
 Mutex protecting the reference count.
aoff64_t pba
 Physical block address.
unsigned refcnt
 Number of references to the block_t structure.
size_t size
 Size of the block.
bool toxic
 If true, the blcok does not contain valid data.

Detailed Description

Definition at line 62 of file libblock.h.


The documentation for this struct was generated from the following file:
Generated on Thu Jun 2 07:45:58 2011 for HelenOS/USB by  doxygen 1.4.7