2010-06-17 Chris Johns <chrisj@rtems.org>

libfs/src/rfs/rtems-rfs-bitmaps.h,
        libfs/src/rfs/rtems-rfs-block-pos.h,
        libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
This commit is contained in:
Chris Johns
2010-06-17 03:09:00 +00:00
parent dc57290798
commit b177ebb788
4 changed files with 12 additions and 6 deletions

View File

@@ -1,3 +1,9 @@
2010-06-17 Chris Johns <chrisj@rtems.org>
libfs/src/rfs/rtems-rfs-bitmaps.h,
libfs/src/rfs/rtems-rfs-block-pos.h,
libfs/src/rfs/rtems-rfs-block.h: PR 1556. Struct clean up.
2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org> 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes. * libfs/src/rfs/rtems-rfs-bitmaps-ut.c: Various 64bit fixes.

View File

@@ -99,7 +99,7 @@ typedef rtems_rfs_bitmap_element* rtems_rfs_bitmap_map;
/** /**
* The bitmap control is a simple way to manage the various parts of a bitmap. * The bitmap control is a simple way to manage the various parts of a bitmap.
*/ */
typedef struct _rtems_rfs_bitmap_control typedef struct rtems_rfs_bitmap_control_s
{ {
rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit rtems_rfs_buffer_handle* buffer; //< Handle the to buffer with the bit
//map. //map.

View File

@@ -47,7 +47,7 @@ typedef uint32_t rtems_rfs_block_off;
* block field can be used hold a block number for the position as a look up * block field can be used hold a block number for the position as a look up
* cache. * cache.
*/ */
typedef struct _rtems_rfs_block_pos typedef struct rtems_rfs_block_pos_s
{ {
/** /**
* The block index in the map. Range is from 0 to the maps block count minus * The block index in the map. Range is from 0 to the maps block count minus
@@ -110,8 +110,8 @@ void rtems_rfs_block_get_bpos (rtems_rfs_file_system* fs,
* @param bpos Pointer to the block position to fill in. * @param bpos Pointer to the block position to fill in.
* @return rtems_rfs_pos The absolute offset. * @return rtems_rfs_pos The absolute offset.
*/ */
rtems_rfs_pos rtems_rfs_block_get_pos (rtems_rfs_file_system* fs, rtems_rfs_pos rtems_rfs_block_get_pos (rtems_rfs_file_system* fs,
rtems_rfs_block_pos* bpos); rtems_rfs_block_pos* bpos);
/** /**
* Add the relative position to the block position. The relative position is * Add the relative position to the block position. The relative position is
@@ -136,7 +136,7 @@ rtems_rfs_block_add_pos (rtems_rfs_file_system* fs,
* A block size is the number of blocks less one plus the offset where the * A block size is the number of blocks less one plus the offset where the
* offset must be less than the block size. * offset must be less than the block size.
*/ */
typedef struct _rtems_rfs_block_size typedef struct rtems_rfs_block_size_s
{ {
/** /**
* The count of blocks in a map. A 0 means no blocks and a zero length and * The count of blocks in a map. A 0 means no blocks and a zero length and

View File

@@ -86,7 +86,7 @@
* @li 2,684,354,560 bytes for a 2048 byte block size, and * @li 2,684,354,560 bytes for a 2048 byte block size, and
* @li 21,474,836,480 bytes for a 4096 byte block size. * @li 21,474,836,480 bytes for a 4096 byte block size.
*/ */
typedef struct rtems_rfs_block_map_t typedef struct rtems_rfs_block_map_s
{ {
/** /**
* Is the map dirty ? * Is the map dirty ?