Home
last modified time | relevance | path

Searched refs:i_number (Results 1 – 25 of 33) sorted by relevance

12

/original-bsd/sbin/fsck/
H A Dpass3.c29 if (inp->i_number == ROOTINO || in pass3()
30 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE)) in pass3()
32 if (statemap[inp->i_number] == DCLEAR) in pass3()
35 orphan = inp->i_number; in pass3()
H A Dpass2.c106 direrror(inp->i_number, "DIRECTORY TOO SHORT"); in pass2()
109 dp = ginode(inp->i_number); in pass2()
115 getpathname(pathbuf, inp->i_number, inp->i_number); in pass2()
122 dp = ginode(inp->i_number); in pass2()
132 curino.id_number = inp->i_number; in pass2()
145 statemap[inp->i_number] == DSTATE) in pass2()
146 statemap[inp->i_number] = DFOUND; in pass2()
152 fileerror(inp->i_parent, inp->i_number, "MISSING '..'"); in pass2()
155 (void)makeentry(inp->i_number, inp->i_parent, ".."); in pass2()
159 fileerror(inp->i_parent, inp->i_number, in pass2()
[all …]
H A Dinode.c303 inp->i_number = inumber;
327 if (inp->i_number != inumber)
H A Dfsck.h132 ino_t i_number; /* inode number of this entry */ member
H A Ddir.c63 statemap[inp->i_number] == DSTATE) { in propagate()
64 statemap[inp->i_number] = DFOUND; in propagate()
/original-bsd/sys/ufs/ufs/
H A Dufs_ihash.c52 if (inum == ip->i_number && dev == ip->i_dev)
77 if (inum == ip->i_number && dev == ip->i_dev) {
104 ipp = INOHASH(ip->i_dev, ip->i_number);
H A Dufs_lookup.c458 if (dp->i_number == dp->i_ino) {
498 if (dp->i_number == dp->i_ino)
541 } else if (dp->i_number == dp->i_ino) {
570 mp->mnt_stat.f_mntonname, ip->i_number, offset, how);
644 newdir.d_ino = ip->i_number;
866 ep->d_ino = ip->i_number;
952 if (target->i_number == source->i_number) {
958 if (target->i_number == rootino)
985 if (dirbuf.dotdot_ino == source->i_number) {
H A Dufs_vnops.c274 vap->va_fileid = ip->i_number;
898 oldparent = dp->i_number;
938 if (oldparent != dp->i_number)
939 newparent = dp->i_number;
996 if (xp->i_number == ip->i_number)
1227 VOP_VFREE(tvp, ip->i_number, dmode);
1259 dirtemplate.dot_ino = ip->i_number;
1260 dirtemplate.dotdot_ino = dp->i_number;
1334 !ufs_dirempty(ip, dp->i_number, cnp->cn_cred)) {
1981 if (ip->i_number == ROOTINO)
[all …]
H A Dufs_inode.c66 VOP_VFREE(vp, ip->i_number, mode);
H A Dinode.h33 ino_t i_number; /* The identity of the inode. */ member
H A Dufs_lockf.c606 lock->lf_inode->i_number,
626 tag, lock->lf_inode->i_number,
/original-bsd/sys/ufs/ffs/
H A Dufs_ihash.c51 if (inum == ip->i_number && device == ip->i_dev)
73 if (inum == ip->i_number && device == ip->i_dev) {
97 ipp = &ihashtbl[INOHASH(ip->i_dev, ip->i_number)];
H A Dufs_lookup.c434 if (dp->i_number == dp->i_ino) {
474 if (dp->i_number == dp->i_ino)
517 } else if (dp->i_number == dp->i_ino) {
546 mp->mnt_stat.f_mntonname, ip->i_number, offset, how);
627 newdir.d_ino = ip->i_number;
808 ep->d_ino = ip->i_number;
894 if (target->i_number == source->i_number) {
900 if (target->i_number == rootino)
927 if (dirbuf.dotdot_ino == source->i_number) {
H A Dufs_vnops.c270 vap->va_fileid = ip->i_number;
959 oldparent = dp->i_number;
999 if (oldparent != dp->i_number)
1000 newparent = dp->i_number;
1057 if (xp->i_number == ip->i_number)
1286 VOP_VFREE(tvp, ip->i_number, dmode);
1316 dirtemplate.dot_ino = ip->i_number;
1317 dirtemplate.dotdot_ino = dp->i_number;
1391 !ufs_dirempty(ip, dp->i_number, cnp->cn_cred)) {
2075 if (ip->i_number == ROOTINO)
[all …]
H A Dufs_inode.c96 VOP_VFREE(vp, ip->i_number, mode);
H A Dinode.h43 ino_t i_number; /* The identity of the inode. */ member
H A Dffs_alloc.c94 cg = ino_to_cg(fs, ip->i_number);
387 printf("realloc: ino %d, lbns %d-%d\n\told:", ip->i_number,
511 ipref = pip->i_number;
526 ip->i_mode, ip->i_number, fs->fs_fsmnt);
614 cg = ino_to_cg(fs, ip->i_number);
623 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg;
1209 printf("bad block %d, ino %d\n", bno, ip->i_number);
H A Dffs_vfsops.c342 bread(devvp, fsbtodb(fs, ino_to_fsba(fs, ip->i_number)),
348 ino_to_fsbo(fs, ip->i_number));
741 ip->i_number = ino;
853 ufhp->ufid_ino = ip->i_number;
H A Dffs_inode.c86 fsbtodb(fs, ino_to_fsba(fs, ip->i_number)),
92 ino_to_fsbo(fs, ip->i_number)) = ip->i_din;
H A Dufs_lockf.c640 lock->lf_inode->i_number,
661 tag, lock->lf_inode->i_number,
/original-bsd/sys/isofs/cd9660/
H A Dcd9660_node.h42 ino_t i_number; /* the identity of the inode */ member
53 ino_t i_number; /* the identity of the inode */ member
H A Dcd9660_node.c77 if (inum == dp->i_number && device == dp->i_dev)
86 dp->i_number = ino;
133 if (inum == ip->i_number && dev == ip->i_dev) {
157 ipp = &isohashtbl[INOHASH(ip->i_dev, ip->i_number)];
H A Dcd9660_vnops.c70 dp = iso_dmap(ip->i_dev,ip->i_number,1);
254 vap->va_fileid = ip->i_number;
775 (ip->i_number >> imp->im_bshift) <<
786 dirp = (ISODIR *)(bp->b_data + (ip->i_number & imp->im_bmask));
792 if ((ip->i_number & imp->im_bmask) + isonum_711(dirp->length)
/original-bsd/sys/ufs/lfs/
H A Dlfs_alloc.c156 ip->i_number = ip->i_din.di_inumber = ino;
192 ino = ip->i_number;
H A Dlfs_segment.c112 } while (lfs_writeseg(fs, sp) && ip->i_number == LFS_IFILE_INUM);
182 ip->i_number != LFS_IFILE_INUM) {
329 fip->fi_ino = VTOI(vp)->i_number;
419 ino = ip->i_number;
481 sp->fip->fi_ino = VTOI(sp->vp)->i_number;

12