HomeSort by: relevance | last modified time | path
    Searched refs:ext2_gd (Results 1 - 9 of 9) sorted by relevancy

  /src/usr.sbin/installboot/
ext2fs.c 155 howmany(fs->e2fs_ncg, fs->e2fs_bsize / sizeof(struct ext2_gd));
169 gdpb = fs->e2fs_bsize / sizeof(struct ext2_gd);
177 e2fs_cgload((struct ext2_gd *)gdbuf, &fs->e2fs_gd[gdpb * i],
179 (fs->e2fs_ncg - gdpb * i) * sizeof(struct ext2_gd):
220 fs->e2fs_gd = malloc(sizeof(struct ext2_gd) * fs->e2fs_ncg);
  /src/sbin/fsck_ext2fs/
fsck.h 91 struct ext2_gd *b_cgd; /* cylinder group descriptor */
setup.c 237 sizeof(struct ext2_gd)],
342 sblock.e2fs_bsize / sizeof(struct ext2_gd));
536 fs->e2fs_bsize / sizeof(struct ext2_gd));
utilities.c 240 &sblock.e2fs_gd[i* sblock.e2fs_bsize / sizeof(struct ext2_gd)],
  /src/sys/ufs/ext2fs/
ext2fs_alloc.c 94 struct ext2_gd *, int, int, int, daddr_t);
95 static uint16_t ext2fs_cg_get_csum(struct m_ext2fs *, int, struct ext2_gd *);
96 static void ext2fs_init_bb(struct m_ext2fs *, int, struct ext2_gd *,
665 ext2fs_cg_update(struct m_ext2fs *fs, int cg, struct ext2_gd *gd, int nbfree, int nifree, int ndirs, daddr_t ioff)
797 ext2fs_cg_get_csum(struct m_ext2fs *fs, int cg, struct ext2_gd *gd)
808 off = offsetof(struct ext2_gd, ext2bgd_checksum);
823 off = offsetof(struct ext2_gd, ext2bgd_checksum);
835 ext2fs_init_bb(struct m_ext2fs *fs, int cg, struct ext2_gd *gd, char *bbp)
857 struct ext2_gd *gd;
ext2fs.h 256 struct ext2_gd *e2fs_gd; /* group descriptors (data not byteswapped) */
418 struct ext2_gd { struct
447 #define E2FS_REV0_GD_SIZE (sizeof(struct ext2_gd) / 2) /* 32 */
ext2fs_vfsops.c 163 e2fs_cgload(const char *ondisk, struct ext2_gd *inmemory, int cg_size,
173 struct ext2_gd *optr = inmemory;
190 e2fs_cgsave(const struct ext2_gd *inmemory, char *ondisk, int cg_size,
199 const struct ext2_gd *iptr = inmemory;
762 * sizeof(struct ext2_gd), KM_SLEEP);
805 kmem_free(m_fs->e2fs_gd, m_fs->e2fs_ngdb * sh * sizeof(struct ext2_gd));
847 kmem_free(fs->e2fs_gd, fs->e2fs_ngdb * sh * sizeof(struct ext2_gd));
  /src/sys/lib/libsa/
ext2fs.c 450 howmany(fs->e2fs_ncg, fs->e2fs_bsize / sizeof(struct ext2_gd));
465 gdpb = fs->e2fs_bsize / sizeof(struct ext2_gd);
477 e2fs_cgload((struct ext2_gd *)fp->f_buf,
480 (fs->e2fs_ncg - gdpb * i) * sizeof(struct ext2_gd):
532 fs->e2fs_gd = alloc(sizeof(struct ext2_gd) * fs->e2fs_ncg);
710 sizeof(struct ext2_gd) * fp->f_fs->e2fs_ncg);
  /src/sbin/newfs_ext2fs/
mke2fs.c 295 blocks_gd = howmany(sizeof(struct ext2_gd) * ncg, bsize);
329 blocks_gd = howmany(sizeof(struct ext2_gd) * ncg, bsize);
444 target_ngdb = howmany(sizeof(struct ext2_gd) * target_ncg,
679 e2fs_cgsave(gd, (struct ext2_gd *)(iobuf + sblock.e2fs_bsize),
680 sizeof(struct ext2_gd) * sblock.e2fs_ncg);
710 e2fs_cgsave(gd, (struct ext2_gd *)(iobuf +
712 sizeof(struct ext2_gd) * sblock.e2fs_ncg);

Completed in 46 milliseconds