Searched refs:INOPB (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | ufs.h | 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 D | fs.h | 370 #define itoo(fs, x) ((x) % INOPB(fs)) 374 (blkstofrags((fs), (((x) % (fs)->fs_ipg) / INOPB(fs)))))) 451 #define INOPB(fs) ((fs)->fs_inopb) macro
|
H A D | ufs2.h | 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 D | fsirand.c | 132 bsize = INOPB(fs) * sizeof (struct dinode); in main() 152 for (dip = dibuf; dip < &dibuf[INOPB(fs)]; dip++) { in main()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_fs.h | 577 #define itoo(fs, x) ((x) % (uint32_t)INOPB(fs)) 583 (blkstofrags((fs), (((x)%(ulong_t)(fs)->fs_ipg)/(ulong_t)INOPB(fs)))))) 720 #define INOPB(fs) ((fs)->fs_inopb) macro
|
/illumos-gate/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 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 D | inode.c | 686 inum >= (fsck_ino_t)(startinum + (fsck_ino_t)INOPB(&sblock))) { in ginode() 699 (fsck_ino_t)((inum / INOPB(&sblock)) * INOPB(&sblock)); in ginode() 701 dp = &pbp->b_un.b_dinode[inum % INOPB(&sblock)]; in ginode()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/ |
H A D | newfs.c | 1099 bsize = INOPB(fs) * sizeof (struct dinode); in notrand() 1109 for (dip = dibuf; dip < &dibuf[INOPB(fs)]; dip++) { in notrand()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/ |
H A D | mkfs.c | 290 #define MAXIpG(fs) roundup((fs)->fs_bsize * NBBY / 3, INOPB(fs)) 1664 INOPB(&sblock)); in main() 1726 inospercg = (uint64_t)roundup((nbytes64 / nbpi), INOPB(&sblock)); in main() 1750 INOPB(&sblock)); in main() 1819 sblock.fs_ipg = roundup((uint32_t)(nbytes64 / nbpi), INOPB(&sblock)); in main() 1829 INOPB(&sblock)); in main() 1841 INOPB(&sblock)); in main() 3571 INOPB(&sblock)); in dump_fscmd() 4287 return (dibuf + (ino % INOPB(&sblock))); in gdinode()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 635 dp = &itab[(int)ino % (int)INOPB(&sblock)]; in ginode()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 3921 INOPB(fs) + offset; in fprnt() 3922 if (count + offset > INOPB(fs)) { in fprnt() 3923 tcount = INOPB(fs) - offset; in fprnt()
|