Changeset 991f645 in mainline for uspace/srv/fs/fat/fat_fat.h


Ignore:
Timestamp:
2010-11-18T17:39:28Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b5a4131
Parents:
51a268f
Message:

Rename dev_handle_t to devmap_handle_t and make it explicitly clear that
dev_handle_t is a handle understood by devmap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_fat.h

    r51a268f r991f645  
    6161#define fat_clusters_get(numc, bs, dh, fc) \
    6262    fat_cluster_walk((bs), (dh), (fc), NULL, (numc), (uint16_t) -1)
    63 extern int fat_cluster_walk(struct fat_bs *, dev_handle_t, fat_cluster_t,
     63extern int fat_cluster_walk(struct fat_bs *, devmap_handle_t, fat_cluster_t,
    6464    fat_cluster_t *, uint16_t *, uint16_t);
    6565
    6666extern int fat_block_get(block_t **, struct fat_bs *, struct fat_node *,
    6767    aoff64_t, int);
    68 extern int _fat_block_get(block_t **, struct fat_bs *, dev_handle_t,
     68extern int _fat_block_get(block_t **, struct fat_bs *, devmap_handle_t,
    6969    fat_cluster_t, fat_cluster_t *, aoff64_t, int);
    7070
     
    7373extern int fat_chop_clusters(struct fat_bs *, struct fat_node *,
    7474    fat_cluster_t);
    75 extern int fat_alloc_clusters(struct fat_bs *, dev_handle_t, unsigned,
     75extern int fat_alloc_clusters(struct fat_bs *, devmap_handle_t, unsigned,
    7676    fat_cluster_t *, fat_cluster_t *);
    77 extern int fat_free_clusters(struct fat_bs *, dev_handle_t, fat_cluster_t);
    78 extern int fat_alloc_shadow_clusters(struct fat_bs *, dev_handle_t,
     77extern int fat_free_clusters(struct fat_bs *, devmap_handle_t, fat_cluster_t);
     78extern int fat_alloc_shadow_clusters(struct fat_bs *, devmap_handle_t,
    7979    fat_cluster_t *, unsigned);
    80 extern int fat_get_cluster(struct fat_bs *, dev_handle_t, unsigned,
     80extern int fat_get_cluster(struct fat_bs *, devmap_handle_t, unsigned,
    8181    fat_cluster_t, fat_cluster_t *);
    82 extern int fat_set_cluster(struct fat_bs *, dev_handle_t, unsigned,
     82extern int fat_set_cluster(struct fat_bs *, devmap_handle_t, unsigned,
    8383    fat_cluster_t, fat_cluster_t);
    8484extern int fat_fill_gap(struct fat_bs *, struct fat_node *, fat_cluster_t,
    8585    aoff64_t);
    86 extern int fat_zero_cluster(struct fat_bs *, dev_handle_t, fat_cluster_t);
    87 extern int fat_sanity_check(struct fat_bs *, dev_handle_t);
     86extern int fat_zero_cluster(struct fat_bs *, devmap_handle_t, fat_cluster_t);
     87extern int fat_sanity_check(struct fat_bs *, devmap_handle_t);
    8888
    8989#endif
Note: See TracChangeset for help on using the changeset viewer.