Searched refs:LFS_INOPB (Results 1 – 16 of 16) sorted by relevance
/netbsd-src/sys/ufs/lfs/ |
H A D | lfs_debug.c | 249 - 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 D | lfs_bio.c | 351 ((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 D | lfs_segment.c | 1117 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 D | lfs_rfw.c | 334 num = LFS_INOPB(fs); in update_inoblk() 479 ninos = howmany(lfs_ss_getninos(fs, ssp), LFS_INOPB(fs)); in check_segsum()
|
H A D | lfs_inode.c | 112 num = LFS_INOPB(fs); in lfs_ifind()
|
H A D | lfs_vfsops.c | 1490 * LFS_INOPB(fs); in lfs_statvfs() 1735 for (i = 0; i < LFS_INOPB(fs); i++) { in lfs_loadvnode()
|
H A D | lfs_accessors.h | 1310 #define LFS_INOPB(fs) (lfs_sb_getinopb(fs)) macro
|
/netbsd-src/sbin/fsck_lfs/ |
H A D | segwrite.c | 275 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 D | pass6.c | 642 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 D | lfs.c | 312 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 D | setup.c | 273 bc = howmany(lfs_ss_getninos(fs, sp), LFS_INOPB(fs)) << in setup()
|
/netbsd-src/sys/lib/libsa/ |
H A D | lfsv1.c | 20 #define INOPBx(fs) LFS_INOPB(fs)
|
H A D | lfsv2.c | 23 #define INOPBx(fs) LFS_INOPB(fs)
|
/netbsd-src/usr.sbin/dumplfs/ |
H A D | dumplfs.c | 337 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 D | coalesce.c | 129 for (i = 0; i < LFS_INOPB(fs); i++) { in get_dinode()
|
/netbsd-src/sbin/dump_lfs/ |
H A D | lfs_inode.c | 345 num = LFS_INOPB(fs); in lfs_ifind()
|