Rev 3103 | Rev 4306 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3103 | Rev 3109 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | #include <atomic.h> |
38 | #include <atomic.h> |
39 | #include <sys/types.h> |
39 | #include <sys/types.h> |
40 | #include <bool.h> |
40 | #include <bool.h> |
41 | #include <libadt/hash_table.h> |
41 | #include <libadt/hash_table.h> |
42 | 42 | ||
- | 43 | #ifndef dprintf |
|
43 | #define dprintf(...) printf(__VA_ARGS__) |
44 | #define dprintf(...) printf(__VA_ARGS__) |
- | 45 | #endif |
|
44 | 46 | ||
45 | typedef struct tmpfs_dentry { |
47 | typedef struct tmpfs_dentry { |
46 | fs_index_t index; /**< TMPFS node index. */ |
48 | fs_index_t index; /**< TMPFS node index. */ |
47 | link_t dh_link; /**< Dentries hash table link. */ |
49 | link_t dh_link; /**< Dentries hash table link. */ |
48 | struct tmpfs_dentry *sibling; |
50 | struct tmpfs_dentry *sibling; |
Line 60... | Line 62... | ||
60 | 62 | ||
61 | extern fs_reg_t tmpfs_reg; |
63 | extern fs_reg_t tmpfs_reg; |
62 | 64 | ||
63 | extern libfs_ops_t tmpfs_libfs_ops; |
65 | extern libfs_ops_t tmpfs_libfs_ops; |
64 | 66 | ||
- | 67 | extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *); |
|
65 | extern void tmpfs_mount(ipc_callid_t, ipc_call_t *); |
68 | extern void tmpfs_mount(ipc_callid_t, ipc_call_t *); |
66 | extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); |
69 | extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); |
67 | extern void tmpfs_read(ipc_callid_t, ipc_call_t *); |
70 | extern void tmpfs_read(ipc_callid_t, ipc_call_t *); |
68 | extern void tmpfs_write(ipc_callid_t, ipc_call_t *); |
71 | extern void tmpfs_write(ipc_callid_t, ipc_call_t *); |
69 | extern void tmpfs_truncate(ipc_callid_t, ipc_call_t *); |
72 | extern void tmpfs_truncate(ipc_callid_t, ipc_call_t *); |