/netbsd/sbin/fsck_ext2fs/ |
H A D | pass1.c | 90 ino_t inumber; in pass1() local 139 inumber = 1; in pass1() 145 j++, inumber++) { in pass1() 178 dp = ginode(inumber); in checkinode() 202 lastino = inumber; in checkinode() 211 dp = ginode(inumber); in checkinode() 222 dp = ginode(inumber); in checkinode() 274 if (inumber >= EXT2_FIRSTINO || inumber == EXT2_ROOTINO) { in checkinode() 296 cacheino(dp, inumber); in checkinode() 314 dp = ginode(inumber); in checkinode() [all …]
|
H A D | pass4.c | 79 ino_t inumber; in pass4() local 88 for (inumber = EXT2_ROOTINO; inumber <= lastino; inumber++) { in pass4() 89 if (inumber < EXT2_FIRSTINO && inumber > EXT2_ROOTINO) in pass4() 91 idesc.id_number = inumber; in pass4() 92 switch (statemap[inumber]) { in pass4() 96 n = lncntp[inumber]; in pass4() 101 if (zlnp->zlncnt == inumber) { in pass4() 117 dp = ginode(inumber); in pass4() 132 statemap[inumber], (unsigned long long)inumber); in pass4()
|
H A D | pass1b.c | 84 ino_t inumber; in pass1b() local 90 inumber = 0; in pass1b() 92 for (i = 0; i < sblock.e2fs.e2fs_ipg; i++, inumber++) { in pass1b() 93 if ((inumber < EXT2_FIRSTINO) && (inumber != EXT2_ROOTINO)) in pass1b() 95 dp = ginode(inumber); in pass1b() 98 idesc.id_number = inumber; in pass1b() 99 if (statemap[inumber] != USTATE && in pass1b()
|
H A D | inode.c | 387 ginode(ino_t inumber) in ginode() argument 392 if ((inumber < EXT2_FIRSTINO && in ginode() 396 || inumber > maxino) in ginode() 400 inumber < startinum || inumber >= startinum + sblock.e2fs_ipb) { in ginode() 423 getnextinode(ino_t inumber) in getnextinode() argument 430 if (inumber != nextino++ || inumber > maxino) in getnextinode() 433 if (inumber >= lastinum) { in getnextinode() 512 if (inumber == EXT2_ROOTINO) in cacheino() 517 inp->i_number = inumber; in cacheino() 536 getinoinfo(ino_t inumber) in getinoinfo() argument [all …]
|
/netbsd/sbin/fsck_lfs/ |
H A D | pass1.c | 86 ino_t inumber; in pass1() local 101 inumber = 0; in pass1() 126 inumber = dins[i]->ino; in pass1() 143 inumber = dins[i]->ino; in pass1() 195 vp = vget(fs, inumber); in checkinode() 216 clearinode(inumber); in checkinode() 223 lastino = inumber; in checkinode() 232 vp = vget(fs, inumber); in checkinode() 289 zlnp->zlncnt = inumber; in checkinode() 298 cacheino(dp, inumber); in checkinode() [all …]
|
H A D | pass4.c | 60 ino_t inumber = idp->id_number; in check_orphan() local 63 if (zlnp->zlncnt == inumber) { in check_orphan() 80 ino_t inumber; in pass4() local 89 for (inumber = ULFS_ROOTINO; inumber <= lastino; inumber++) { in pass4() 90 idesc.id_number = inumber; in pass4() 91 switch (statemap[inumber]) { in pass4() 95 n = lncntp[inumber]; in pass4() 100 if (zlnp->zlncnt == inumber) { in pass4() 118 dp = ginode(inumber); in pass4() 120 const char * msg = (lncntp[inumber] ? in pass4() [all …]
|
H A D | inode.c | 363 cacheino(union lfs_dinode *dp, ino_t inumber) in cacheino() argument 373 inpp = &inphead[inumber % numdirs]; in cacheino() 377 if (inumber == ULFS_ROOTINO) in cacheino() 382 inp->i_number = inumber; in cacheino() 405 getinoinfo(ino_t inumber) in getinoinfo() argument 409 for (inp = inphead[inumber % numdirs]; inp; inp = inp->i_nexthash) { in getinoinfo() 410 if (inp->i_number != inumber) in getinoinfo() 414 err(EEXIT, "cannot find inode %llu", (unsigned long long)inumber); in getinoinfo() 466 clearinode(ino_t inumber) in clearinode() argument 474 LFS_IENTRY(ifp, fs, inumber, bp); in clearinode() [all …]
|
/netbsd/sbin/fsck_ffs/ |
H A D | pass4.c | 61 ino_t inumber; in pass4() local 85 inumber = cg * sblock->fs_ipg; in pass4() 87 if (inumber < UFS_ROOTINO) in pass4() 89 dp = ginode(inumber); in pass4() 90 info = inoinfo(inumber); in pass4() 91 idesc.id_number = inumber; in pass4() 103 if (is_journal_inode(inumber)) { in pass4() 108 } else if (is_quota_inode(inumber)) { in pass4() 111 "skipping unreferenced quota inode %" PRId64 "\n", inumber); in pass4() 119 if (zlnp->zlncnt == inumber) { in pass4() [all …]
|
H A D | pass1.c | 102 setinodebuf(inumber); in pass1() 242 info = inoinfo(inumber); in checkinode() 262 dp = ginode(inumber); in checkinode() 271 lastino = inumber; in checkinode() 284 dp = ginode(inumber); in checkinode() 321 dp = ginode(inumber); in checkinode() 402 cacheino(dp, inumber); in checkinode() 410 dp = ginode(inumber); in checkinode() 436 dp = ginode(inumber); in checkinode() 477 dp = ginode(inumber); in checkinode() [all …]
|
H A D | pass1b.c | 62 ino_t inumber; in pass1b() local 68 inumber = 0; in pass1b() 80 for (i = 0; i < sblock->fs_ipg; i++, inumber++) { in pass1b() 81 if (inumber < UFS_ROOTINO) in pass1b() 83 dp = ginode(inumber); in pass1b() 86 idesc.id_number = inumber; in pass1b() 89 if (inoinfo(inumber)->ino_state != USTATE && in pass1b()
|
H A D | inode.c | 323 ginode(ino_t inumber) in ginode() argument 328 if (inumber < UFS_ROOTINO || inumber > maxino) in ginode() 330 (unsigned long long)inumber); in ginode() 332 inumber < startinum || inumber >= startinum + FFS_INOPB(sblock)) { in ginode() 402 getnextinode(ino_t inumber) in getnextinode() argument 409 if (inumber != nextino++ || inumber > lastvalidinum) in getnextinode() 413 if (inumber >= lastinum) { in getnextinode() 509 if (inumber == UFS_ROOTINO) in cacheino() 514 inp->i_number = inumber; in cacheino() 537 getinoinfo(ino_t inumber) in getinoinfo() argument [all …]
|
H A D | dir.c | 101 propagate(ino_t inumber) in propagate() argument 105 inp = getinoinfo(inumber); in propagate() 112 else if (inp->i_number == inumber) in propagate() 125 else if (inp->i_number == inumber) in propagate() 135 reparent(ino_t inumber, ino_t parent) in reparent() argument 139 inp = getinoinfo(inumber); in reparent() 144 propagate(inumber); in reparent()
|
/netbsd/sys/lib/libsa/ |
H A D | ufs.c | 364 if (inumber == LFS_IFILE_INUM) in read_inode() 387 for (; dip->di_inumber != inumber; --dip) { in read_inode() 691 ino32_t inumber; in ufs_open() local 768 inumber = UFS_ROOTINO; in ufs_open() 769 if ((rc = read_inode(inumber, f)) != 0) in ufs_open() 805 parent_inumber = inumber; in ufs_open() 814 if ((rc = read_inode(inumber, f)) != 0) in ufs_open() 865 inumber = parent_inumber; in ufs_open() 867 inumber = (ino32_t)UFS_ROOTINO; in ufs_open() 869 if ((rc = read_inode(inumber, f)) != 0) in ufs_open() [all …]
|
H A D | minixfs3.c | 183 read_inode(ino32_t inumber, struct open_file *f) in read_inode() argument 208 INODE_SIZE * ino_to_fsbo(fs, inumber)); in read_inode() 536 ino32_t inumber; in minixfs3_open() local 592 inumber = ROOT_INODE; in minixfs3_open() 593 if ((rc = read_inode(inumber, f)) != 0) in minixfs3_open() 629 parent_inumber = inumber; in minixfs3_open() 638 if ((rc = read_inode(inumber, f)) != 0) in minixfs3_open() 684 inumber = parent_inumber; in minixfs3_open() 686 inumber = (ino32_t) ROOT_INODE; in minixfs3_open() 688 if ((rc = read_inode(inumber, f)) != 0) in minixfs3_open() [all …]
|
H A D | ext2fs.c | 164 read_inode(ino32_t inumber, struct open_file *f) in read_inode() argument 498 ino32_t inumber; in ext2fs_open() local 564 inumber = EXT2_ROOTINO; in ext2fs_open() 565 if ((rc = read_inode(inumber, f)) != 0) in ext2fs_open() 601 parent_inumber = inumber; in ext2fs_open() 603 rc = search_directory(ncp, cp - ncp, f, &inumber); in ext2fs_open() 610 if ((rc = read_inode(inumber, f)) != 0) in ext2fs_open() 662 inumber = parent_inumber; in ext2fs_open() 664 inumber = (ino32_t)EXT2_ROOTINO; in ext2fs_open() 666 if ((rc = read_inode(inumber, f)) != 0) in ext2fs_open() [all …]
|
/netbsd/usr.bin/dc/ |
H A D | bcode.c | 875 struct number *inumber, *n; in load_array() local 882 inumber = pop_number(); in load_array() 883 if (inumber == NULL) in load_array() 885 idx = get_ulong(inumber); in load_array() 901 free_number(inumber); in load_array() 909 struct number *inumber; in store_array() local 916 inumber = pop_number(); in store_array() 917 if (inumber == NULL) in store_array() 921 free_number(inumber); in store_array() 924 idx = get_ulong(inumber); in store_array() [all …]
|
/netbsd/usr.sbin/quotacheck/ |
H A D | quotacheck.c | 736 getnextinode(ino_t inumber) in getnextinode() argument 743 if (inumber != nextino++ || inumber > lastvalidinum) { in getnextinode() 745 (unsigned long long)inumber); in getnextinode() 748 if (inumber >= lastinum) { in getnextinode() 762 swap_dinode2(inodebuf, lastinum - inumber); in getnextinode() 765 swap_dinode1(inodebuf, lastinum - inumber); in getnextinode()
|
/netbsd/sys/arch/sun68k/stand/ |
H A D | README | 34 installboot would find the inumber for the 2nd stage boot program
|
/netbsd/share/man/tools/ |
H A D | newsp.errs | 3491 inumber 4352 inumber
|
/netbsd/sys/ufs/lfs/ |
H A D | lfs_accessors.h | 491 LFS_DEF_DINO_ACCESSOR(uint64_t, uint32_t, inumber) in LFS_DEF_DINO_ACCESSOR()
|