Home
last modified time | relevance | path

Searched refs:i_e2fs (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/fs/ext2fs/
H A Dext2_csum.c129 fs = ip->i_e2fs; in ext2_extattr_blk_csum()
150 if (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_METADATA_CKSUM) && in ext2_extattr_blk_csum_verify()
164 if (!EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_METADATA_CKSUM)) in ext2_extattr_blk_csum_set()
185 fs = ip->i_e2fs; in ext2_is_dirent_tail()
208 top = EXT2_DIRENT_TAIL(ep, ip->i_e2fs->e2fs_bsize); in ext2_dirent_get_tail()
234 fs = ip->i_e2fs; in ext2_dirent_csum()
271 if (le16toh(ep->e2d_reclen) == EXT2_BLOCK_SIZE(ip->i_e2fs)) in ext2_get_dx_count()
275 if (le16toh(dp->e2d_reclen) != EXT2_BLOCK_SIZE(ip->i_e2fs) - 12) in ext2_get_dx_count()
302 fs = ip->i_e2fs; in ext2_dx_csum()
336 ip->i_e2fs->e2fs_bsize - sizeof(struct ext2fs_htree_tail)) in ext2_dx_csum_verify()
[all …]
H A Dext2_htree.c104 if (EXT2_HAS_COMPAT_FEATURE(ip->i_e2fs, EXT2F_COMPAT_DIRHASHINDEX) && in ext2_htree_has_idx()
143 ip->i_e2fs->e2fs_bsize, NULL, &bp) != 0) in ext2_htree_check_next()
222 fs = ip->i_e2fs; in ext2_htree_root_limit()
223 space = ip->i_e2fs->e2fs_bsize - EXT2_DIR_REC_LEN(1) - in ext2_htree_root_limit()
238 fs = ip->i_e2fs; in ext2_htree_node_limit()
276 fs = ip->i_e2fs->e2fs; in ext2_htree_find_leaf()
277 m_fs = ip->i_e2fs; in ext2_htree_find_leaf()
368 m_fs = ip->i_e2fs; in ext2_htree_lookup()
550 fs = ip->i_e2fs; in ext2_htree_split_dirblock()
684 fs = dp->i_e2fs->e2fs; in ext2_htree_create_index()
[all …]
H A Dext2_extents.c74 fs = ip->i_e2fs; in ext4_ext_blk_check()
91 fs = ip->i_e2fs; in ext4_ext_walk_index()
305 fs = ip->i_e2fs; in ext4_ext_space_block()
331 fs = ip->i_e2fs; in ext4_ext_space_block_idx()
371 fs = ip->i_e2fs; in ext4_inode_block_validate()
641 error = bread(ip->i_devvp, fsbtodb(ip->i_e2fs, blk), in ext4_ext_find_extent()
642 ip->i_e2fs->e2fs_bsize, NOCRED, &bp); in ext4_ext_find_extent()
699 fs = ip->i_e2fs; in ext4_ext_space_block_index()
745 fs = ip->i_e2fs; in ext4_ext_blkpref()
766 bg_start = (ip->i_block_group * EXT2_BLOCKS_PER_GROUP(ip->i_e2fs)) in ext4_ext_blkpref()
[all...]
H A Dext2_extattr.c202 fs = ip->i_e2fs; in ext2_extattr_inode_list()
276 fs = ip->i_e2fs; in ext2_extattr_block_list()
343 fs = ip->i_e2fs; in ext2_extattr_inode_get()
418 fs = ip->i_e2fs; in ext2_extattr_block_get()
548 fs = ip->i_e2fs; in ext2_extattr_inode_delete()
636 fs = ip->i_e2fs; in ext2_extattr_block_clone()
680 fs = ip->i_e2fs; in ext2_extattr_block_delete()
914 fs = ip->i_e2fs; in ext2_extattr_inode_set()
1075 fs = ip->i_e2fs; in ext2_extattr_block_set()
1220 fs = ip->i_e2fs; in ext2_extattr_free()
[all …]
H A Dext2_vnops.c737 EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_DIR_NLINK) && in ext2_inc_nlink()
836 !EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, EXT2F_ROCOMPAT_DIR_NLINK)) { in ext2_rename()
1076 dirbuf = malloc(dp->i_e2fs->e2fs_bsize, M_TEMP, M_WAITOK | M_ZERO); in ext2_rename()
1078 ip->i_e2fs->e2fs_bsize, (off_t)0, in ext2_rename()
1110 ip->i_e2fs->e2fs_bsize, in ext2_rename()
1316 !EXT2_HAS_RO_COMPAT_FEATURE(dp->i_e2fs, EXT2F_ROCOMPAT_DIR_NLINK)) { in ext2_mkdir()
1331 fs = ip->i_e2fs; in ext2_mkdir()
1375 if (EXT2_HAS_INCOMPAT_FEATURE(ip->i_e2fs, in ext2_mkdir()
1388 #define DIRBLKSIZ VTOI(dvp)->i_e2fs->e2fs_bsize in ext2_mkdir()
1645 if (EXT2_HAS_RO_COMPAT_FEATURE(VTOI(ap->a_vp)->i_e2fs, in ext2_pathconf()
[all …]
H A Dext2_dinode.h87 #define E2DI_HAS_XTIME(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \
89 #define E2DI_HAS_HUGE_FILE(ip) (EXT2_HAS_RO_COMPAT_FEATURE(ip->i_e2fs, \
H A Dext2_alloc.c109 fs = ip->i_e2fs; in ext2_alloc()
159 fs = ip->i_e2fs; in ext2_alloc_meta()
220 fs = ip->i_e2fs; in ext2_reallocblks()
393 fs = pip->i_e2fs; in ext2_valloc()
435 ip->i_e2fs = fs = ump->um_e2fs; in ext2_valloc()
607 fs = pip->i_e2fs; in ext2_dirpref()
711 fs = ip->i_e2fs; in ext2_blkpref()
757 fs = ip->i_e2fs; in ext2_hashalloc()
1009 fs = ip->i_e2fs; in ext2_alloccg()
1160 fs = ip->i_e2fs; in ext2_clusteralloc()
[all …]
H A Dext2_lookup.c154 int DIRBLKSIZ = VTOI(ap->a_vp)->i_e2fs->e2fs_bsize; in ext2_readdir()
340 int DIRBLKSIZ = VTOI(vdp)->i_e2fs->e2fs_bsize; in ext2_lookup_ino()
714 uint32_t bsize = ip->i_e2fs->e2fs_bsize; in ext2_search_dirblock()
818 struct m_ext2fs *fs = VTOI(dp)->i_e2fs; in ext2_check_direntry()
861 dirblksize = dp->i_e2fs->e2fs_bsize; in ext2_add_first_entry()
866 if (EXT2_HAS_RO_COMPAT_FEATURE(dp->i_e2fs, in ext2_add_first_entry()
918 int DIRBLKSIZ = ip->i_e2fs->e2fs_bsize; in ext2_direnter()
923 if (EXT2_HAS_INCOMPAT_FEATURE(ip->i_e2fs, in ext2_direnter()
941 if (EXT2_HAS_COMPAT_FEATURE(ip->i_e2fs, EXT2F_COMPAT_DIRHASHINDEX) && in ext2_direnter()
1137 if (EXT2_HAS_INCOMPAT_FEATURE(ip->i_e2fs, in ext2_dirrewrite()
H A Dext2_inode.c83 fs = ip->i_e2fs; in ext2_update()
124 struct m_ext2fs *fs = ip->i_e2fs; in ext2_indirtrunc()
251 fs = oip->i_e2fs; in ext2_ind_truncate()
259 if (length > oip->i_e2fs->e2fs_maxfilesize) in ext2_ind_truncate()
478 fs = oip->i_e2fs; in ext2_ext_truncate()
482 if (length > oip->i_e2fs->e2fs_maxfilesize) { in ext2_ext_truncate()
H A Dext2_inode_cnv.c147 struct m_ext2fs *fs = ip->i_e2fs; in ext2_ei2i()
214 ip->i_blocks = fsbtodb(ip->i_e2fs, ip->i_blocks); in ext2_ei2i()
259 fs = ip->i_e2fs; in ext2_i2ei()
H A Dext2_balloc.c65 fs = ip->i_e2fs; in ext2_ext_balloc()
113 fs = ip->i_e2fs; in ext2_balloc()
H A Dinode.h79 struct m_ext2fs *i_e2fs; /* EXT2FS */ member
H A Dext2_subr.c73 fs = ip->i_e2fs; in ext2_blkatoff()
H A Dext2_bmap.c104 fs = ip->i_e2fs; in ext4_bmapext()