Home
last modified time | relevance | path

Searched refs:LFS_INOPB (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/sys/ufs/lfs/
H A Dlfs_debug.c249 - LFS_INUMSIZE(fs)*((sp->ninodes+LFS_INOPB(fs)-1) / LFS_INOPB(fs)); in lfs_check_segsum()
268 - sizeof(int32_t) * ((sp->ninodes+LFS_INOPB(fs)-1) / LFS_INOPB(fs)) in lfs_check_segsum()
H A Dlfs_bio.c351 ((howmany(lfs_sb_getuinodes(fs) + 1, LFS_INOPB(fs)) + in lfs_fits()
581 #define INOCOUNT(fs) howmany(lfs_sb_getuinodes(fs), LFS_INOPB(fs))
H A Dlfs_segment.c1117 for (i = 0; i < LFS_INOPB(fs); ++i) { in lfs_writeinode()
1132 iip = NTH_IINFO(fs, sp->segsum, sp->ninodes / LFS_INOPB(fs)); in lfs_writeinode()
1163 cdp = DINO_IN_BLOCK(fs, bp->b_data, sp->ninodes % LFS_INOPB(fs)); in lfs_writeinode()
1278 sp->idp = DINO_IN_BLOCK(fs, bp, sp->ninodes % LFS_INOPB(fs)); in lfs_writeinode()
1299 if (++sp->ninodes % LFS_INOPB(fs) == 0) in lfs_writeinode()
2095 ninos = (lfs_ss_getninos(fs, ssp) + LFS_INOPB(fs) - 1) / LFS_INOPB(fs);
H A Dlfs_rfw.c334 num = LFS_INOPB(fs); in update_inoblk()
479 ninos = howmany(lfs_ss_getninos(fs, ssp), LFS_INOPB(fs)); in check_segsum()
H A Dlfs_inode.c112 num = LFS_INOPB(fs); in lfs_ifind()
H A Dlfs_vfsops.c1490 * LFS_INOPB(fs); in lfs_statvfs()
1735 for (i = 0; i < LFS_INOPB(fs); i++) { in lfs_loadvnode()
H A Dlfs_accessors.h1310 #define LFS_INOPB(fs) (lfs_sb_getinopb(fs)) macro
/netbsd-src/sbin/fsck_lfs/
H A Dsegwrite.c275 for (i = 0; i < LFS_INOPB(fs); ++i) { in lfs_writeinode()
289 iip = NTH_IINFO(fs, sp->segsum, sp->ninodes / LFS_INOPB(fs)); in lfs_writeinode()
313 cdp = DINO_IN_BLOCK(fs, bp->b_data, sp->ninodes % LFS_INOPB(fs)); in lfs_writeinode()
320 sp->idp = DINO_IN_BLOCK(fs, bp->b_data, sp->ninodes % LFS_INOPB(fs)); in lfs_writeinode()
331 if (++sp->ninodes % LFS_INOPB(fs) == 0) in lfs_writeinode()
806 ninos = (lfs_ss_getninos(fs, ssp) + LFS_INOPB(fs) - 1) / LFS_INOPB(fs); in lfs_writeseg()
H A Dpass6.c642 sup->su_ninos += howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)); in pass6()
645 LFS_INOPB(fs)) * in pass6()
649 for (i = 0; i < howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)); i++) { in pass6()
652 inums = ecalloc(LFS_INOPB(fs) + 1, sizeof(*inums)); in pass6()
663 for (k = 0; k < LFS_INOPB(fs); k++) { in pass6()
H A Dlfs.c312 num = LFS_INOPB(fs); in lfs_ifind()
781 nblocks = howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)); in check_summary()
804 i < lfs_ss_getnfinfo(fs, sp) || j < howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)); i++) { in check_summary()
809 LFS_INOPB(fs))); in check_summary()
816 while (j < howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)) && lfs_ii_getblock(fs, iip) == daddr) { in check_summary()
H A Dsetup.c273 bc = howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)) << in setup()
/netbsd-src/sys/lib/libsa/
H A Dlfsv1.c20 #define INOPBx(fs) LFS_INOPB(fs)
H A Dlfsv2.c23 #define INOPBx(fs) LFS_INOPB(fs)
/netbsd-src/usr.sbin/dumplfs/
H A Ddumplfs.c337 for (i = LFS_INOPB(lfsp); i-- > 0; ) { in dump_ifile()
623 for (j = 0; i < lfs_ss_getninos(lfsp, sp) && j < LFS_INOPB(lfsp); j++, i++) { in dump_sum()
631 if (((i/LFS_INOPB(lfsp)) % 4) == 3) in dump_sum()
/netbsd-src/libexec/lfs_cleanerd/
H A Dcoalesce.c129 for (i = 0; i < LFS_INOPB(fs); i++) { in get_dinode()
/netbsd-src/sbin/dump_lfs/
H A Dlfs_inode.c345 num = LFS_INOPB(fs); in lfs_ifind()