Changeset 8ff0bd2 in mainline for uspace/srv/fs/exfat/exfat_bitmap.h
- Timestamp:
- 2011-09-04T11:30:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 03bc76a
- Parents:
- d2c67e7 (diff), deac215e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_bitmap.h
rd2c67e7 r8ff0bd2 1 1 /* 2 * Copyright (c) 20 09 Martin Decky2 * Copyright (c) 2011 Oleg Romanenko 3 3 * All rights reserved. 4 4 * … … 31 31 */ 32 32 33 #ifndef DEVFS_DEVFS_OPS_H_34 #define DEVFS_DEVFS_OPS_H_33 #ifndef EXFAT_EXFAT_BITMAP_H_ 34 #define EXFAT_EXFAT_BITMAP_H_ 35 35 36 #include <ipc/common.h> 37 #include <bool.h> 36 #include <stdint.h> 37 #include "exfat.h" 38 #include "exfat_fat.h" 38 39 39 extern bool devfs_init(void); 40 /* forward declarations */ 41 struct exfat_node; 42 struct exfat_bs; 40 43 41 extern void devfs_mounted(ipc_callid_t, ipc_call_t *); 42 extern void devfs_mount(ipc_callid_t, ipc_call_t *); 43 extern void devfs_unmounted(ipc_callid_t, ipc_call_t *); 44 extern void devfs_unmount(ipc_callid_t, ipc_call_t *); 45 extern void devfs_lookup(ipc_callid_t, ipc_call_t *); 46 extern void devfs_open_node(ipc_callid_t, ipc_call_t *); 47 extern void devfs_stat(ipc_callid_t, ipc_call_t *); 48 extern void devfs_sync(ipc_callid_t, ipc_call_t *); 49 extern void devfs_read(ipc_callid_t, ipc_call_t *); 50 extern void devfs_write(ipc_callid_t, ipc_call_t *); 51 extern void devfs_truncate(ipc_callid_t, ipc_call_t *); 52 extern void devfs_close(ipc_callid_t, ipc_call_t *); 53 extern void devfs_destroy(ipc_callid_t, ipc_call_t *); 44 extern int bitmap_alloc_clusters(struct exfat_bs *, service_id_t, 45 exfat_cluster_t *, exfat_cluster_t); 46 extern int bitmap_append_clusters(struct exfat_bs *, struct exfat_node *, 47 exfat_cluster_t); 48 extern int bitmap_free_clusters(struct exfat_bs *, struct exfat_node *, 49 exfat_cluster_t); 50 extern int bitmap_replicate_clusters(struct exfat_bs *, struct exfat_node *); 51 52 extern int bitmap_is_free(struct exfat_bs *, service_id_t, exfat_cluster_t); 53 extern int bitmap_set_cluster(struct exfat_bs *, service_id_t, exfat_cluster_t); 54 extern int bitmap_clear_cluster(struct exfat_bs *, service_id_t, 55 exfat_cluster_t); 56 57 extern int bitmap_set_clusters(struct exfat_bs *, service_id_t, 58 exfat_cluster_t, exfat_cluster_t); 59 extern int bitmap_clear_clusters(struct exfat_bs *, service_id_t, 60 exfat_cluster_t, exfat_cluster_t); 61 54 62 55 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.