Changeset 6c8d267 in mainline for uspace/srv/fs/fat/fat_fat.h
- Timestamp:
- 2008-11-09T14:12:20Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 913a821c
- Parents:
- 24d6efc
- File:
-
- 1 edited
-
uspace/srv/fs/fat/fat_fat.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_fat.h
r24d6efc r6c8d267 36 36 #include "../../vfs/vfs.h" 37 37 #include <stdint.h> 38 #include <libblock.h> 38 39 39 40 #define FAT1 0 … … 59 60 60 61 #define fat_clusters_get(bs, dh, fc) \ 61 fat_cluster_walk((bs), (dh), (fc), NULL, NULL, (uint16_t) -1) 62 #define fat_block_get(bs, np, off) \ 63 _fat_block_get((bs), (np)->idx->dev_handle, (np)->firstc, (off)) 62 fat_cluster_walk((bs), (dh), (fc), NULL, (uint16_t) -1) 63 extern uint16_t fat_cluster_walk(struct fat_bs *, dev_handle_t, fat_cluster_t, 64 fat_cluster_t *, uint16_t); 65 66 #define fat_block_get(bs, np, bn) \ 67 _fat_block_get((bs), (np)->idx->dev_handle, (np)->firstc, (bn)) 64 68 65 69 extern struct block *_fat_block_get(struct fat_bs *, dev_handle_t, 66 fat_cluster_t, off_t); 67 extern uint16_t fat_cluster_walk(struct fat_bs *, dev_handle_t, fat_cluster_t, 68 fat_cluster_t *, fat_cluster_t *, uint16_t); 70 fat_cluster_t, bn_t); 69 71 70 72 extern void fat_append_clusters(struct fat_bs *, struct fat_node *,
Note:
See TracChangeset
for help on using the changeset viewer.
