Searched refs:e2fs_fpg (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs.h116 u_int32_t e2fs_fpg; /* frags per group */ member in struct:ext2fs
379 #define dtog(fs, d) (((d) - (fs)->e2fs.e2fs_first_dblock) / (fs)->e2fs.e2fs_fpg)
381 (((d) - (fs)->e2fs.e2fs_first_dblock) % (fs)->e2fs.e2fs_fpg)
H A Dext2fs_bswap.c64 new->e2fs_fpg = swap32(old->e2fs_fpg);
H A Dext2fs_alloc.c353 end = howmany(fs->e2fs.e2fs_fpg, NBBY) - start;
380 return (cg * fs->e2fs.e2fs_fpg + fs->e2fs.e2fs_first_dblock + bno);
559 len = howmany(fs->e2fs.e2fs_fpg, NBBY) - start;
/openbsd-current/sbin/fsck_ext2fs/
H A Dsetup.c184 if (sblock.e2fs.e2fs_bpg != sblock.e2fs.e2fs_fpg) {
186 sblock.e2fs.e2fs_fpg, sblock.e2fs.e2fs_bpg);
402 bp->b_un.b_fs->e2fs_fpg = letoh32(sblock.e2fs.e2fs_fpg);
/openbsd-current/sbin/newfs_ext2fs/
H A Dmke2fs.c346 sblock.e2fs.e2fs_fpg = blocks_per_cg;
1246 /* XXX: kernel uses e2fs_fpg here */

Completed in 91 milliseconds