Searched refs:e2fs_gd (Results 1 – 11 of 11) sorted by relevance
| /netbsd-src/sbin/fsck_ext2fs/ |
| H A D | pass5.c | 116 blk_bitmap = getdatablk(fs2h32(fs->e2fs_gd[c].ext2bgd_b_bitmap), in pass5() 119 getblk(blk_bitmap, fs2h32(fs->e2fs_gd[c].ext2bgd_b_bitmap), in pass5() 123 ino_bitmap = getdatablk(fs2h32(fs->e2fs_gd[c].ext2bgd_i_bitmap), in pass5() 126 getblk(ino_bitmap, fs2h32(fs->e2fs_gd[c].ext2bgd_i_bitmap), in pass5() 195 if (debug && (fs2h16(fs->e2fs_gd[c].ext2bgd_nbfree) != nbfree || in pass5() 196 fs2h16(fs->e2fs_gd[c].ext2bgd_nifree) != nifree || in pass5() 197 fs2h16(fs->e2fs_gd[c].ext2bgd_ndirs) != ndirs)) { in pass5() 200 fs2h16(fs->e2fs_gd[c].ext2bgd_nbfree), in pass5() 201 fs2h16(fs->e2fs_gd[c].ext2bgd_nifree), in pass5() 202 fs2h16(fs->e2fs_gd[c].ext2bgd_ndirs), in pass5() [all …]
|
| H A D | pass1.c | 103 if (fs2h32(sblock.e2fs_gd[c].ext2bgd_i_tables) >= dbase) { in pass1() 106 fs2h32(sblock.e2fs_gd[c].ext2bgd_i_tables) in pass1() 110 if (fs2h32(sblock.e2fs_gd[c].ext2bgd_b_bitmap) >= dbase) in pass1() 111 setbmap(fs2h32(sblock.e2fs_gd[c].ext2bgd_b_bitmap)); in pass1() 113 if (fs2h32(sblock.e2fs_gd[c].ext2bgd_i_bitmap) >= dbase) in pass1() 114 setbmap(fs2h32(sblock.e2fs_gd[c].ext2bgd_i_bitmap)); in pass1()
|
| H A D | setup.c | 230 sblock.e2fs_gd = malloc(sblock.e2fs_ngdb * sblock.e2fs_bsize); in setup() 231 if (sblock.e2fs_gd == NULL) in setup() 236 (char *)&sblock.e2fs_gd[i * sblock.e2fs_bsize / in setup() 276 numdirs += fs2h16(sblock.e2fs_gd[cg].ext2bgd_ndirs); in setup()
|
| H A D | utilities.c | 240 &sblock.e2fs_gd[i* sblock.e2fs_bsize / sizeof(struct ext2_gd)], in flush()
|
| H A D | inode.c | 90 (fs2h32((fs)->e2fs_gd[ino_to_cg(fs, x)].ext2bgd_i_tables) + \
|
| /netbsd-src/sys/ufs/ext2fs/ |
| H A D | ext2fs_alloc.c | 219 (fs2h16(fs->e2fs_gd[cg].ext2bgd_nifree_hi) << 16) in ext2fs_dirpref() 220 | fs2h16(fs->e2fs_gd[cg].ext2bgd_nifree); in ext2fs_dirpref() 225 (fs2h16(fs->e2fs_gd[cg].ext2bgd_nbfree_hi) << 16) in ext2fs_dirpref() 226 | fs2h16(fs->e2fs_gd[cg].ext2bgd_nbfree); in ext2fs_dirpref() 349 if (fs->e2fs_gd[cg].ext2bgd_nbfree == 0 && in ext2fs_alloccg() 350 fs->e2fs_gd[cg].ext2bgd_nbfree_hi == 0) in ext2fs_alloccg() 353 fs2h32(fs->e2fs_gd[cg].ext2bgd_b_bitmap), in ext2fs_alloccg() 354 fs2h32(fs->e2fs_gd[cg].ext2bgd_b_bitmap_hi)), in ext2fs_alloccg() 366 (fs->e2fs_gd[cg].ext2bgd_flags & h2fs16(E2FS_BG_BLOCK_UNINIT)))) { in ext2fs_alloccg() 367 ext2fs_init_bb(fs, cg, &fs->e2fs_gd[cg], bbp); in ext2fs_alloccg() [all …]
|
| H A D | ext2fs_vfsops.c | 656 &fs->e2fs_gd[i * in ext2fs_reload() 765 m_fs->e2fs_gd = kmem_alloc(m_fs->e2fs_ngdb * sh in ext2fs_mountfs() 774 e2fs_cgload(bp->b_data, &m_fs->e2fs_gd[i * 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() 1166 (fs->e2fs_gd[ino_to_cg(fs, ino)].ext2bgd_flags & in ext2fs_newvnode() 1336 e2fs_cgsave(&fs->e2fs_gd[i * in ext2fs_cgupdate()
|
| H A D | ext2fs.h | 256 struct ext2_gd *e2fs_gd; /* group descriptors (data not byteswapped) */ member 526 #define _e2fs_gd(fs, x) (fs)->e2fs_gd[ino_to_cg((fs), (x))]
|
| /netbsd-src/usr.sbin/installboot/ |
| H A D | ext2fs.c | 177 e2fs_cgload((struct ext2_gd *)gdbuf, &fs->e2fs_gd[gdpb * i], in ext2fs_read_gdblock() 220 fs->e2fs_gd = malloc(sizeof(struct ext2_gd) * fs->e2fs_ncg); in ext2fs_find_disk_blocks() 221 if (fs->e2fs_gd == NULL) { in ext2fs_find_disk_blocks()
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | ext2fs.c | 478 &fs->e2fs_gd[i * gdpb], in read_gdblock() 532 fs->e2fs_gd = alloc(sizeof(struct ext2_gd) * fs->e2fs_ncg); in ext2fs_open() 708 if (fp->f_fs->e2fs_gd) in ext2fs_close() 709 dealloc(fp->f_fs->e2fs_gd, in ext2fs_close()
|
| /netbsd-src/sbin/newfs_ext2fs/ |
| H A D | mke2fs.c | 173 #define gd ext2fsun.m_ext2fs.e2fs_gd
|