Subversion Repositories HelenOS

Rev

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

Rev 4555 Rev 4566
Line 144... Line 144...
144
    off_t pos;
144
    off_t pos;
145
} vfs_file_t;
145
} vfs_file_t;
146
 
146
 
147
extern fibril_mutex_t nodes_mutex;
147
extern fibril_mutex_t nodes_mutex;
148
 
148
 
-
 
149
extern fibril_condvar_t fs_head_cv;
-
 
150
extern fibril_mutex_t fs_head_lock;
149
extern link_t fs_head;      /**< List of registered file systems. */
151
extern link_t fs_head;      /**< List of registered file systems. */
150
 
152
 
151
extern vfs_pair_t rootfs;   /**< Root file system. */
153
extern vfs_pair_t rootfs;   /**< Root file system. */
152
 
154
 
153
/** Each instance of this type describes one path lookup in progress. */
155
/** Each instance of this type describes one path lookup in progress. */
Line 167... Line 169...
167
extern fibril_rwlock_t namespace_rwlock;
169
extern fibril_rwlock_t namespace_rwlock;
168
 
170
 
169
extern int vfs_grab_phone(fs_handle_t);
171
extern int vfs_grab_phone(fs_handle_t);
170
extern void vfs_release_phone(int);
172
extern void vfs_release_phone(int);
171
 
173
 
172
extern fibril_mutex_t fs_head_lock;
-
 
173
extern bool pending_new_fs;
-
 
174
extern fibril_condvar_t pending_cv;
-
 
175
 
-
 
176
extern fs_handle_t fs_name_to_handle(char *, bool);
174
extern fs_handle_t fs_name_to_handle(char *, bool);
177
 
175
 
178
extern int vfs_lookup_internal(char *, int, vfs_lookup_res_t *,
176
extern int vfs_lookup_internal(char *, int, vfs_lookup_res_t *,
179
    vfs_pair_t *, ...);
177
    vfs_pair_t *, ...);
180
extern int vfs_open_node_internal(vfs_lookup_res_t *);
178
extern int vfs_open_node_internal(vfs_lookup_res_t *);
Line 194... Line 192...
194
extern void vfs_file_delref(vfs_file_t *);
192
extern void vfs_file_delref(vfs_file_t *);
195
 
193
 
196
extern void vfs_node_addref(vfs_node_t *);
194
extern void vfs_node_addref(vfs_node_t *);
197
extern void vfs_node_delref(vfs_node_t *);
195
extern void vfs_node_delref(vfs_node_t *);
198
 
196
 
199
extern void vfs_process_pending_mount(void);
-
 
200
extern void vfs_register(ipc_callid_t, ipc_call_t *);
197
extern void vfs_register(ipc_callid_t, ipc_call_t *);
201
extern void vfs_mount(ipc_callid_t, ipc_call_t *);
198
extern void vfs_mount(ipc_callid_t, ipc_call_t *);
202
extern void vfs_open(ipc_callid_t, ipc_call_t *);
199
extern void vfs_open(ipc_callid_t, ipc_call_t *);
203
extern void vfs_open_node(ipc_callid_t, ipc_call_t *);
200
extern void vfs_open_node(ipc_callid_t, ipc_call_t *);
204
extern void vfs_device(ipc_callid_t, ipc_call_t *);
201
extern void vfs_device(ipc_callid_t, ipc_call_t *);