Searched refs:INOPB (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dufs.h97 grub_int32_t fs_inopb; /* value of INOPB */
208 #define INOPB(fs) ((fs)->fs_inopb) macro
209 #define itoo(fs, x) ((x) % (grub_uint32_t)INOPB(fs))
213 ((x) % (grub_uint32_t)(fs)->fs_ipg / (grub_uint32_t)INOPB(fs))))))
H A Dfs.h182 int fs_inopb; /* value of INOPB */
370 #define itoo(fs, x) ((x) % INOPB(fs))
374 (blkstofrags((fs), (((x) % (fs)->fs_ipg) / INOPB(fs))))))
449 * INOPB is the number of inodes in a secondary storage block.
451 #define INOPB(fs) ((fs)->fs_inopb) macro
H A Dufs2.h279 grub_int32_t fs_inopb; /* value of INOPB */
376 (blkstofrags((fs), (((x) % (fs)->fs_ipg) / INOPB(fs))))))
377 #define ino_to_fsbo(fs, x) ((x) % INOPB(fs))
423 #define INOPB(fs) ((fs)->fs_inopb) macro
/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c134 bsize = INOPB(fs) * sizeof (struct dinode);
154 for (dip = dibuf; dip < &dibuf[INOPB(fs)]; dip++) {
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_fs.h273 int32_t fs_inopb; /* value of INOPB */
579 #define itoo(fs, x) ((x) % (uint32_t)INOPB(fs))
585 (blkstofrags((fs), (((x)%(ulong_t)(fs)->fs_ipg)/(ulong_t)INOPB(fs))))))
720 * INOPB is the number of inodes in a secondary storage block.
722 #define INOPB(fs) ((fs)->fs_inopb) macro
/illumos-gate/usr/src/boot/sys/ufs/ffs/
H A Dfs.h295 u_int32_t fs_inopb; /* value of INOPB */
548 (blkstofrags((fs), ((((ino_t)(x)) % (fs)->fs_ipg) / INOPB(fs))))))
549 #define ino_to_fsbo(fs, x) (((ino_t)(x)) % INOPB(fs))
663 #define INOPB(fs) ((fs)->fs_inopb) macro
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dinode.c680 inum >= (fsck_ino_t)(startinum + (fsck_ino_t)INOPB(&sblock))) {
693 (fsck_ino_t)((inum / INOPB(&sblock)) * INOPB(&sblock));
695 dp = &pbp->b_un.b_dinode[inum % INOPB(&sblock)];
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dufsread.c72 #define IPERVBLK(fs) (INOPB(fs) / ((fs)->fs_bsize >> VBLKSHIFT))
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c283 * N.B.: MAXIpG must be a multiple of INOPB(fs).
285 #define MAXIpG(fs) roundup((fs)->fs_bsize * NBBY / 3, INOPB(fs))
1680 INOPB(&sblock));
1742 inospercg = (uint64_t)roundup((nbytes64 / nbpi), INOPB(&sblock));
1766 INOPB(&sblock));
1835 sblock.fs_ipg = roundup((uint32_t)(nbytes64 / nbpi), INOPB(&sblock));
1845 INOPB(&sblock));
1857 INOPB(&sblock));
3557 * fs_ipg value is set for the last time. The INOPB(...) - 1
3567 INOPB(
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c1099 bsize = INOPB(fs) * sizeof (struct dinode);
1109 for (dip = dibuf; dip < &dibuf[INOPB(fs)]; dip++) {
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c637 dp = &itab[(int)ino % (int)INOPB(&sblock)];
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c3931 INOPB(fs) + offset;
3932 if (count + offset > INOPB(fs)) {
3933 tcount = INOPB(fs) - offset;

Completed in 106 milliseconds