Changeset 8ff0bd2 in mainline for uspace/srv/fs/tmpfs/tmpfs.h
- Timestamp:
- 2011-09-04T11:30:58Z (13 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 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs.h
rd2c67e7 r8ff0bd2 61 61 fs_node_t *bp; /**< Back pointer to the FS node. */ 62 62 fs_index_t index; /**< TMPFS node index. */ 63 devmap_handle_t devmap_handle;/**< Device handle. */63 service_id_t service_id;/**< Service ID of block device. */ 64 64 link_t nh_link; /**< Nodes hash table link. */ 65 65 tmpfs_dentry_type_t type; … … 67 67 size_t size; /**< File size if type is TMPFS_FILE. */ 68 68 void *data; /**< File content's if type is TMPFS_FILE. */ 69 li nk_t cs_head; /**< Head of child's siblings list. */69 list_t cs_list; /**< Child's siblings list. */ 70 70 } tmpfs_node_t; 71 71 72 extern fs_reg_t tmpfs_reg; 73 72 extern vfs_out_ops_t tmpfs_ops; 74 73 extern libfs_ops_t tmpfs_libfs_ops; 75 74 76 75 extern bool tmpfs_init(void); 77 78 extern void tmpfs_mounted(ipc_callid_t, ipc_call_t *); 79 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 extern void tmpfs_lookup(ipc_callid_t, ipc_call_t *); 83 extern void tmpfs_read(ipc_callid_t, ipc_call_t *); 84 extern void tmpfs_write(ipc_callid_t, ipc_call_t *); 85 extern void tmpfs_truncate(ipc_callid_t, ipc_call_t *); 86 extern void tmpfs_stat(ipc_callid_t, ipc_call_t *); 87 extern void tmpfs_close(ipc_callid_t, ipc_call_t *); 88 extern void tmpfs_destroy(ipc_callid_t, ipc_call_t *); 89 extern void tmpfs_open_node(ipc_callid_t, ipc_call_t *); 90 extern void tmpfs_sync(ipc_callid_t, ipc_call_t *); 91 92 extern bool tmpfs_restore(devmap_handle_t); 76 extern bool tmpfs_restore(service_id_t); 93 77 94 78 #endif
Note:
See TracChangeset
for help on using the changeset viewer.