Searched refs:ext2_gd (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/sys/ufs/ext2fs/ |
| H A D | 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… in ext2fs_cg_update() 797 ext2fs_cg_get_csum(struct m_ext2fs *fs, int cg, struct ext2_gd *gd) in ext2fs_cg_get_csum() 808 off = offsetof(struct ext2_gd, ext2bgd_checksum); in ext2fs_cg_get_csum() 823 off = offsetof(struct ext2_gd, ext2bgd_checksum); in ext2fs_cg_get_csum() 835 ext2fs_init_bb(struct m_ext2fs *fs, int cg, struct ext2_gd *gd, char *bbp) in ext2fs_init_bb() 857 struct ext2_gd *gd; in ext2fs_cg_verify_and_initialize()
|
| H A D | 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 */ argument
|
| H A D | ext2fs_vfsops.c | 163 e2fs_cgload(const char *ondisk, struct ext2_gd *inmemory, int cg_size, in e2fs_cgload() 173 struct ext2_gd *optr = inmemory; in e2fs_cgload() 190 e2fs_cgsave(const struct ext2_gd *inmemory, char *ondisk, int cg_size, in e2fs_cgsave() 199 const struct ext2_gd *iptr = inmemory; in e2fs_cgsave() 766 * sizeof(struct ext2_gd), KM_SLEEP); in ext2fs_mountfs() 809 kmem_free(m_fs->e2fs_gd, m_fs->e2fs_ngdb * sh * sizeof(struct ext2_gd)); in ext2fs_mountfs() 851 kmem_free(fs->e2fs_gd, fs->e2fs_ngdb * sh * sizeof(struct ext2_gd)); in ext2fs_unmount()
|
| /netbsd-src/usr.sbin/installboot/ |
| H A D | ext2fs.c | 155 howmany(fs->e2fs_ncg, fs->e2fs_bsize / sizeof(struct ext2_gd)); in ext2fs_read_sblock() 169 gdpb = fs->e2fs_bsize / sizeof(struct ext2_gd); in ext2fs_read_gdblock() 177 e2fs_cgload((struct ext2_gd *)gdbuf, &fs->e2fs_gd[gdpb * i], in ext2fs_read_gdblock() 179 (fs->e2fs_ncg - gdpb * i) * sizeof(struct ext2_gd): in ext2fs_read_gdblock() 220 fs->e2fs_gd = malloc(sizeof(struct ext2_gd) * fs->e2fs_ncg); in ext2fs_find_disk_blocks()
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | ext2fs.c | 450 howmany(fs->e2fs_ncg, fs->e2fs_bsize / sizeof(struct ext2_gd)); in read_sblock() 465 gdpb = fs->e2fs_bsize / sizeof(struct ext2_gd); in read_gdblock() 477 e2fs_cgload((struct ext2_gd *)fp->f_buf, in read_gdblock() 480 (fs->e2fs_ncg - gdpb * i) * sizeof(struct ext2_gd): in read_gdblock() 532 fs->e2fs_gd = alloc(sizeof(struct ext2_gd) * fs->e2fs_ncg); in ext2fs_open() 710 sizeof(struct ext2_gd) * fp->f_fs->e2fs_ncg); in ext2fs_close()
|
| /netbsd-src/sbin/newfs_ext2fs/ |
| H A D | mke2fs.c | 295 blocks_gd = howmany(sizeof(struct ext2_gd) * ncg, bsize); in mke2fs() 329 blocks_gd = howmany(sizeof(struct ext2_gd) * ncg, bsize); in mke2fs() 444 target_ngdb = howmany(sizeof(struct ext2_gd) * target_ncg, in mke2fs() 679 e2fs_cgsave(gd, (struct ext2_gd *)(iobuf + sblock.e2fs_bsize), in mke2fs() 680 sizeof(struct ext2_gd) * sblock.e2fs_ncg); in mke2fs() 710 e2fs_cgsave(gd, (struct ext2_gd *)(iobuf + in initcg() 712 sizeof(struct ext2_gd) * sblock.e2fs_ncg); in initcg()
|
| /netbsd-src/sbin/fsck_ext2fs/ |
| H A D | setup.c | 237 sizeof(struct ext2_gd)], in setup() 342 sblock.e2fs_bsize / sizeof(struct ext2_gd)); in readsb() 536 fs->e2fs_bsize / sizeof(struct ext2_gd)); in calcsb()
|
| H A D | fsck.h | 91 struct ext2_gd *b_cgd; /* cylinder group descriptor */
|
| H A D | utilities.c | 240 &sblock.e2fs_gd[i* sblock.e2fs_bsize / sizeof(struct ext2_gd)], in flush()
|