Subversion Repositories HelenOS

Rev

Rev 2683 | Rev 2687 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2683 Rev 2684
Line 133... Line 133...
133
 */
133
 */
134
typedef struct {
134
typedef struct {
135
    VFS_TRIPLET;        /**< Identity of the node. */
135
    VFS_TRIPLET;        /**< Identity of the node. */
136
    unsigned refcnt;    /**< Usage counter. */
136
    unsigned refcnt;    /**< Usage counter. */
137
    link_t nh_link;     /**< Node hash-table link. */
137
    link_t nh_link;     /**< Node hash-table link. */
-
 
138
    size_t size;        /**< Cached size of the file. */
138
 
139
 
139
    /**
140
    /**
140
     * Holding this rwlock prevents modifications of the node's contents.
141
     * Holding this rwlock prevents modifications of the node's contents.
141
     */
142
     */
142
    rwlock_t contents_rwlock;
143
    rwlock_t contents_rwlock;
Line 208... Line 209...
208
extern void vfs_register(ipc_callid_t, ipc_call_t *);
209
extern void vfs_register(ipc_callid_t, ipc_call_t *);
209
extern void vfs_mount(ipc_callid_t, ipc_call_t *);
210
extern void vfs_mount(ipc_callid_t, ipc_call_t *);
210
extern void vfs_open(ipc_callid_t, ipc_call_t *);
211
extern void vfs_open(ipc_callid_t, ipc_call_t *);
211
extern void vfs_read(ipc_callid_t, ipc_call_t *);
212
extern void vfs_read(ipc_callid_t, ipc_call_t *);
212
extern void vfs_write(ipc_callid_t, ipc_call_t *);
213
extern void vfs_write(ipc_callid_t, ipc_call_t *);
-
 
214
extern void vfs_seek(ipc_callid_t, ipc_call_t *);
213
 
215
 
214
#endif
216
#endif
215
 
217
 
216
/**
218
/**
217
 * @}
219
 * @}