Changeset 4797132 in mainline for uspace/srv/fs/fat/fat.h


Ignore:
Timestamp:
2008-05-08T19:23:36Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4573a79
Parents:
9a5ccfb3
Message:

Need a way to locate the FAT index structure by VFS index. Also fix code that
locates the FAT index structure by position in the file system namespace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat.h

    r9a5ccfb3 r4797132  
    176176 */
    177177typedef struct {
    178         /** Used indices hash table link. */
    179         link_t          uh_link;
     178        /** Used indices (position) hash table link. */
     179        link_t          uph_link;
     180        /** Used indices (index) hash table link. */
     181        link_t          uih_link;
    180182
    181183        dev_handle_t    dev_handle;
     
    218220extern void fat_lookup(ipc_callid_t, ipc_call_t *);
    219221
    220 extern fat_idx_t *fat_idx_map(dev_handle_t, fat_cluster_t, unsigned);
     222extern fat_idx_t *fat_idx_get_by_pos(dev_handle_t, fat_cluster_t, unsigned);
     223extern fat_idx_t *fat_idx_get_by_index(dev_handle_t, fs_index_t);
    221224
    222225#endif
Note: See TracChangeset for help on using the changeset viewer.