BattFsSuper Struct Reference
Context used to describe a disk. More...
#include <battfs.h>
Data Fields | |
| KBlock * | dev |
| Block device context (physical disk). | |
| pgaddr_t | data_size |
| Size of space usable for data in a disk page, in bytes. The rest is used by the page header. | |
| pgcnt_t * | page_array |
| Page allocation array. | |
| pgcnt_t | free_page_start |
| Lowest address, in page array, for free pages. | |
| disk_size_t | disk_size |
| Size of the disk, in bytes (page_count * page_size). | |
| disk_size_t | free_bytes |
| Free space on the disk. | |
| List | file_opened_list |
| List used to keep trace of open files. | |
Detailed Description
Context used to describe a disk.
This context structure will be used to access disk. Must be initialized by hw memory driver.
Field Documentation
The documentation for this struct was generated from the following file:
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)