Subversion Repositories HelenOS

Rev

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

Rev 2544 Rev 2546
Line 90... Line 90...
90
 * A structure like this will be allocated for each registered file system.
90
 * A structure like this will be allocated for each registered file system.
91
 */
91
 */
92
typedef struct {
92
typedef struct {
93
    link_t fs_link;
93
    link_t fs_link;
94
    vfs_info_t vfs_info;
94
    vfs_info_t vfs_info;
-
 
95
    int fs_handle;
-
 
96
    atomic_t phone_futex;   /**< Phone serializing futex. */
95
    ipcarg_t phone;
97
    ipcarg_t phone;
96
} fs_info_t;
98
} fs_info_t;
97
 
99
 
98
/**
100
/**
99
 * Instances of this type represent a file system node (e.g. directory, file).
101
 * Instances of this type represent a file system node (e.g. directory, file).
Line 140... Line 142...
140
 
142
 
141
extern atomic_t plb_futex;  /**< Futex protecting plb and plb_head. */
143
extern atomic_t plb_futex;  /**< Futex protecting plb and plb_head. */
142
extern uint8_t *plb;        /**< Path Lookup Buffer */
144
extern uint8_t *plb;        /**< Path Lookup Buffer */
143
extern link_t plb_head;     /**< List of active PLB entries. */
145
extern link_t plb_head;     /**< List of active PLB entries. */
144
 
146
 
-
 
147
extern int vfs_grab_phone(int);
-
 
148
extern void vfs_release_phone(int);
-
 
149
 
145
extern int vfs_lookup_internal(char *path, size_t len, vfs_node_t *result);
150
extern int vfs_lookup_internal(char *path, size_t len, vfs_node_t *result);
146
 
151
 
147
extern void vfs_register(ipc_callid_t, ipc_call_t *);
152
extern void vfs_register(ipc_callid_t, ipc_call_t *);
148
extern void vfs_mount(ipc_callid_t, ipc_call_t *);
153
extern void vfs_mount(ipc_callid_t, ipc_call_t *);
149
 
154