Changeset be39fc6 in mainline for uspace/lib/ext4/include/ext4/fstypes.h
- Timestamp:
- 2017-05-11T22:26:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de5b708
- Parents:
- 4bfad34
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/include/ext4/fstypes.h
r4bfad34 rbe39fc6 1 1 /* 2 * Copyright (c) 2011 Martin Sucha 2 3 * Copyright (c) 2012 Frantisek Princ 3 4 * All rights reserved. … … 31 32 */ 32 33 33 #ifndef LIBEXT4_ H_34 #define LIBEXT4_ H_34 #ifndef LIBEXT4_FSTYPES_H_ 35 #define LIBEXT4_FSTYPES_H_ 35 36 36 #include "ext4/balloc.h" 37 #include "ext4/bitmap.h" 38 #include "ext4/block_group.h" 39 #include "ext4/directory.h" 40 #include "ext4/directory_index.h" 41 #include "ext4/extent.h" 42 #include "ext4/filesystem.h" 43 #include "ext4/hash.h" 44 #include "ext4/ialloc.h" 45 #include "ext4/inode.h" 46 #include "ext4/superblock.h" 37 #include <adt/list.h> 38 #include <libfs.h> 39 #include <loc.h> 47 40 #include "ext4/types.h" 48 41 49 #include <stdio.h> 50 #define EXT4FS_DBG(format, ...) \ 51 printf("ext4fs: %s: " format "\n", \ 52 __FUNCTION__, ##__VA_ARGS__) \ 42 /** 43 * Type for holding an instance of mounted partition. 44 */ 45 typedef struct ext4_instance { 46 link_t link; 47 service_id_t service_id; 48 ext4_filesystem_t *filesystem; 49 unsigned int open_nodes_count; 50 } ext4_instance_t; 51 52 /** 53 * Type for wrapping common fs_node and add some useful pointers. 54 */ 55 typedef struct ext4_node { 56 ext4_instance_t *instance; 57 ext4_inode_ref_t *inode_ref; 58 fs_node_t *fs_node; 59 ht_link_t link; 60 unsigned int references; 61 } ext4_node_t; 62 63 #define EXT4_NODE(node) \ 64 ((node) ? (ext4_node_t *) (node)->data : NULL) 53 65 54 66 #endif
Note:
See TracChangeset
for help on using the changeset viewer.