|
Flash Translation Layer
1.0
|
bluedbm module's header file More...


Go to the source code of this file.
Data Structures | |
| struct | bluedbm_dma_t |
| structure for manage the dma More... | |
| struct | bluedbm |
| structure for manage the bluedbm device More... | |
Macros | |
| #define | BLUEDBM_NR_BLOCKS (4096) |
Functions | |
| int | bluedbm_open (struct device *, const char *name, int flags) |
| open the bluedbm based device More... | |
| ssize_t | bluedbm_write (struct device *, struct device_request *) |
| write to the flash board More... | |
| ssize_t | bluedbm_read (struct device *, struct device_request *) |
| read from the flash board More... | |
| int | bluedbm_erase (struct device *, struct device_request *) |
| erase a segment More... | |
| int | bluedbm_close (struct device *) |
| close the bluedbm More... | |
| int | bluedbm_device_init (struct device *, uint64_t flags) |
| initialize the device and bluedbm module More... | |
| int | bluedbm_device_exit (struct device *) |
| deallocate the device module More... | |
bluedbm module's header file
| #define BLUEDBM_NR_BLOCKS (4096) |
number of blocks(segments) in the flash board
| int bluedbm_close | ( | struct device * | dev | ) |
close the bluedbm
| dev | pointer of the device structure |
| int bluedbm_device_exit | ( | struct device * | dev | ) |
deallocate the device module
| dev | pointer of the device structure |

| int bluedbm_device_init | ( | struct device * | dev, |
| uint64_t | flags | ||
| ) |
initialize the device and bluedbm module
| dev | pointer of the device structure |
| flags | flags for bluedbm and device |

| int bluedbm_erase | ( | struct device * | dev, |
| struct device_request * | request | ||
| ) |
erase a segment
| dev | pointer of the device structure |
| request | pointer of the device request structure |

| int bluedbm_open | ( | struct device * | dev, |
| const char * | name, | ||
| int | flags | ||
| ) |
open the bluedbm based device
| dev | pointer of the device structure |
| name | this does not use in this module |
| flags | open flags for this module |

| ssize_t bluedbm_read | ( | struct device * | dev, |
| struct device_request * | request | ||
| ) |
read from the flash board
| dev | pointer of the device structure |
| request | pointer of the device request structure |

| ssize_t bluedbm_write | ( | struct device * | dev, |
| struct device_request * | request | ||
| ) |
write to the flash board
| dev | pointer of the device structure |
| request | pointer of the device request structure |

1.8.13