Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/ext2fs/ext2_extern.h
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | int ext2_htree_create_index(struct vnode *, struct componentname *, | ||||
struct ext2fs_direct_2 *); | struct ext2fs_direct_2 *); | ||||
int ext2_htree_has_idx(struct inode *); | int ext2_htree_has_idx(struct inode *); | ||||
int ext2_htree_hash(const char *, int, uint32_t *, int, uint32_t *, | int ext2_htree_hash(const char *, int, uint32_t *, int, uint32_t *, | ||||
uint32_t *); | uint32_t *); | ||||
int ext2_htree_lookup(struct inode *, const char *, int, struct buf **, | int ext2_htree_lookup(struct inode *, const char *, int, struct buf **, | ||||
int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *); | int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *); | ||||
int ext2_search_dirblock(struct inode *, void *, int *, const char *, int, | int ext2_search_dirblock(struct inode *, void *, int *, const char *, int, | ||||
int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *); | int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *); | ||||
uint32_t e2fs_gd_get_ndirs(struct ext2_gd *gd); | |||||
uint64_t e2fs_gd_get_i_tables(struct ext2_gd *gd); | |||||
int ext2_gd_csum_verify(struct m_ext2fs *fs, struct cdev *dev); | int ext2_gd_csum_verify(struct m_ext2fs *fs, struct cdev *dev); | ||||
void ext2_gd_csum_set(struct m_ext2fs *fs); | void ext2_gd_csum_set(struct m_ext2fs *fs); | ||||
/* Flags to low-level allocation routines. | /* Flags to low-level allocation routines. | ||||
* The low 16-bits are reserved for IO_ flags from vnode.h. | * The low 16-bits are reserved for IO_ flags from vnode.h. | ||||
*/ | */ | ||||
#define BA_CLRBUF 0x00010000 /* Clear invalid areas of buffer. */ | #define BA_CLRBUF 0x00010000 /* Clear invalid areas of buffer. */ | ||||
#define BA_SEQMASK 0x7F000000 /* Bits holding seq heuristic. */ | #define BA_SEQMASK 0x7F000000 /* Bits holding seq heuristic. */ | ||||
#define BA_SEQSHIFT 24 | #define BA_SEQSHIFT 24 | ||||
#define BA_SEQMAX 0x7F | #define BA_SEQMAX 0x7F | ||||
extern struct vop_vector ext2_vnodeops; | extern struct vop_vector ext2_vnodeops; | ||||
extern struct vop_vector ext2_fifoops; | extern struct vop_vector ext2_fifoops; | ||||
#endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */ | #endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */ |