Changeset c84146d3 in mainline for uspace/srv/fs/mfs/mfs_ops.c


Ignore:
Timestamp:
2013-07-15T21:47:50Z (12 years ago)
Author:
Manuele Conti <conti.ma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2f706e
Parents:
b86a32e
Message:

Replace name operations from total_block and free_block to total_block_count and
free_block_count

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/mfs/mfs_ops.c

    rb86a32e rc84146d3  
    6565static bool is_power_of_two(uint32_t n);
    6666static uint32_t mfs_size_block(service_id_t service_id);
    67 static uint64_t mfs_total_block(service_id_t service_id);
    68 static uint64_t mfs_free_block(service_id_t service_id);
     67static uint64_t mfs_total_block_count(service_id_t service_id);
     68static uint64_t mfs_free_block_count(service_id_t service_id);
    6969
    7070static hash_table_t open_nodes;
     
    8989        .lnkcnt_get = mfs_lnkcnt_get,
    9090        .size_block = mfs_size_block,
    91         .total_block = mfs_total_block,
    92         .free_block = mfs_free_block
     91        .total_block_count = mfs_total_block_count,
     92        .free_block_count = mfs_free_block_count
    9393};
    9494
     
    11531153
    11541154static uint64_t
    1155 mfs_total_block(service_id_t service_id)
     1155mfs_total_block_count(service_id_t service_id)
    11561156{
    11571157        uint64_t block_total;
     
    11711171
    11721172static uint64_t
    1173 mfs_free_block(service_id_t service_id)
     1173mfs_free_block_count(service_id_t service_id)
    11741174{
    11751175        uint32_t block_free;
Note: See TracChangeset for help on using the changeset viewer.