Changeset f2ec8c8 in mainline for uspace/lib/libfs
- Timestamp:
- 2008-03-11T20:33:53Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 923c39e
- Parents:
- 8ad8e49
- Location:
- uspace/lib/libfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.c
r8ad8e49 rf2ec8c8 135 135 * @param request VFS_LOOKUP request data itself. 136 136 */ 137 void libfs_lookup(libfs_ops_t *ops, int fs_handle, ipc_callid_t rid,137 void libfs_lookup(libfs_ops_t *ops, fs_handle_t fs_handle, ipc_callid_t rid, 138 138 ipc_call_t *request) 139 139 { 140 140 unsigned next = IPC_GET_ARG1(*request); 141 141 unsigned last = IPC_GET_ARG2(*request); 142 int dev_handle = IPC_GET_ARG3(*request);142 dev_handle_t dev_handle = IPC_GET_ARG3(*request); 143 143 int lflag = IPC_GET_ARG4(*request); 144 int index = IPC_GET_ARG5(*request); /* when L_LINK specified */144 fs_index_t index = IPC_GET_ARG5(*request); /* when L_LINK specified */ 145 145 146 146 if (last < next) -
uspace/lib/libfs/libfs.h
r8ad8e49 rf2ec8c8 44 44 typedef struct { 45 45 bool (* match)(void *, void *, const char *); 46 void * (* node_get)( int, int, unsigned long);46 void * (* node_get)(fs_handle_t, dev_handle_t, fs_index_t); 47 47 void * (* create)(int); 48 48 void (* destroy)(void *); 49 49 bool (* link)(void *, void *, const char *); 50 50 int (* unlink)(void *, void *); 51 unsigned long(* index_get)(void *);52 unsigned long(* size_get)(void *);51 fs_index_t (* index_get)(void *); 52 size_t (* size_get)(void *); 53 53 unsigned (* lnkcnt_get)(void *); 54 54 void *(* child_get)(void *); … … 75 75 extern bool node_is_mp(int, unsigned long); 76 76 77 extern void libfs_lookup(libfs_ops_t *, int, ipc_callid_t, ipc_call_t *);77 extern void libfs_lookup(libfs_ops_t *, fs_handle_t, ipc_callid_t, ipc_call_t *); 78 78 79 79 #endif
Note:
See TracChangeset
for help on using the changeset viewer.