Changes in uspace/srv/fs/tmpfs/tmpfs.h [ffa2c8ef:852b801] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs.h
rffa2c8ef r852b801 29 29 /** @addtogroup fs 30 30 * @{ 31 */ 31 */ 32 32 33 33 #ifndef TMPFS_TMPFS_H_ 34 34 #define TMPFS_TMPFS_H_ 35 35 36 #include <ipc/ipc.h> 36 37 #include <libfs.h> 37 38 #include <atomic.h> … … 39 40 #include <bool.h> 40 41 #include <adt/hash_table.h> 42 43 #ifndef dprintf 44 #define dprintf(...) printf(__VA_ARGS__) 45 #endif 41 46 42 47 #define TMPFS_NODE(node) ((node) ? (tmpfs_node_t *)(node)->data : NULL) … … 61 66 fs_node_t *bp; /**< Back pointer to the FS node. */ 62 67 fs_index_t index; /**< TMPFS node index. */ 63 dev map_handle_t devmap_handle;/**< Device handle. */68 dev_handle_t dev_handle;/**< Device handle. */ 64 69 link_t nh_link; /**< Nodes hash table link. */ 65 70 tmpfs_dentry_type_t type; … … 78 83 extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *); 79 84 extern void tmpfs_mount(ipc_callid_t, ipc_call_t *); 80 extern void tmpfs_unmounted(ipc_callid_t, ipc_call_t *);81 extern void tmpfs_unmount(ipc_callid_t, ipc_call_t *);82 85 extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); 83 86 extern void tmpfs_read(ipc_callid_t, ipc_call_t *); … … 90 93 extern void tmpfs_sync(ipc_callid_t, ipc_call_t *); 91 94 92 extern bool tmpfs_restore(dev map_handle_t);95 extern bool tmpfs_restore(dev_handle_t); 93 96 94 97 #endif
Note:
See TracChangeset
for help on using the changeset viewer.