Rev 3386 | Rev 4581 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3386 | Rev 4327 | ||
---|---|---|---|
Line 50... | Line 50... | ||
50 | TMPFS_DIRECTORY |
50 | TMPFS_DIRECTORY |
51 | } tmpfs_dentry_type_t; |
51 | } tmpfs_dentry_type_t; |
52 | 52 | ||
53 | typedef struct tmpfs_dentry { |
53 | typedef struct tmpfs_dentry { |
54 | fs_index_t index; /**< TMPFS node index. */ |
54 | fs_index_t index; /**< TMPFS node index. */ |
- | 55 | dev_handle_t dev_handle;/**< Device handle. */ |
|
55 | link_t dh_link; /**< Dentries hash table link. */ |
56 | link_t dh_link; /**< Dentries hash table link. */ |
56 | struct tmpfs_dentry *sibling; |
57 | struct tmpfs_dentry *sibling; |
57 | struct tmpfs_dentry *child; |
58 | struct tmpfs_dentry *child; |
58 | hash_table_t names; /**< All names linking to this TMPFS node. */ |
59 | hash_table_t names; /**< All names linking to this TMPFS node. */ |
59 | tmpfs_dentry_type_t type; |
60 | tmpfs_dentry_type_t type; |
Line 64... | Line 65... | ||
64 | 65 | ||
65 | extern fs_reg_t tmpfs_reg; |
66 | extern fs_reg_t tmpfs_reg; |
66 | 67 | ||
67 | extern libfs_ops_t tmpfs_libfs_ops; |
68 | extern libfs_ops_t tmpfs_libfs_ops; |
68 | 69 | ||
- | 70 | extern bool tmpfs_init(void); |
|
- | 71 | ||
69 | extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *); |
72 | extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *); |
70 | extern void tmpfs_mount(ipc_callid_t, ipc_call_t *); |
73 | extern void tmpfs_mount(ipc_callid_t, ipc_call_t *); |
71 | extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); |
74 | extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); |
72 | extern void tmpfs_read(ipc_callid_t, ipc_call_t *); |
75 | extern void tmpfs_read(ipc_callid_t, ipc_call_t *); |
73 | extern void tmpfs_write(ipc_callid_t, ipc_call_t *); |
76 | extern void tmpfs_write(ipc_callid_t, ipc_call_t *); |