Searched refs:i_number (Results 1 - 25 of 71) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/
H A Dpass3.c81 if (inp->i_number == EXT2_ROOTINO ||
82 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE))
84 if (statemap[inp->i_number] == DCLEAR)
87 orphan = inp->i_number;
H A Dpass2.c158 direrror(inp->i_number, "DIRECTORY TOO SHORT");
161 dp = ginode(inp->i_number);
166 getpathname(pathbuf, sizeof(pathbuf), inp->i_number,
167 inp->i_number);
174 dp = ginode(inp->i_number);
183 curino.id_number = inp->i_number;
200 fileerror(inp->i_parent, inp->i_number, "MISSING '..'");
203 (void)makeentry(inp->i_number, inp->i_parent, "..");
207 fileerror(inp->i_parent, inp->i_number,
214 (void)changeino(inp->i_number, "
[all...]
H A Dfsck.h180 ino_t i_number; /* inode number of this entry */ member in struct:inoinfo
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/
H A Dpass3.c49 if (inp->i_number == ROOTINO || inp->i_number == LFS_IFILE_INUM ||
50 !(inp->i_parent == 0 || statemap[inp->i_number] == DSTATE))
52 if (statemap[inp->i_number] == DCLEAR)
54 if (statemap[inp->i_number] == FCLEAR)
57 orphan = inp->i_number;
H A Dpass2.c135 direrror(inp->i_number, "DIRECTORY TOO SHORT");
138 vp = vget(fs, inp->i_number);
144 getpathname(pathbuf, sizeof(pathbuf), inp->i_number,
145 inp->i_number);
152 vp = vget(fs, inp->i_number);
162 curino.id_number = inp->i_number;
179 fileerror(inp->i_parent, inp->i_number, "MISSING '..'");
182 (void) makeentry(inp->i_number, inp->i_parent, "..");
186 fileerror(inp->i_parent, inp->i_number,
193 (void) changeino(inp->i_number, "
[all...]
H A Dfsck.h180 ino_t i_number; /* inode number of this entry */ member in struct:inoinfo
H A Dsegwrite.c217 fip->fi_ino = ip->i_number;
253 if ((ip->i_number != LFS_IFILE_INUM || sp->idp == NULL) &&
286 if (ip->i_number != LFS_IFILE_INUM)
297 if (ip->i_number == LFS_IFILE_INUM && sp->idp) {
309 if (ip->i_number == LFS_IFILE_INUM) /* We know sp->idp == NULL */
328 ino = ip->i_number;
379 sp->fip->fi_ino = VTOI(sp->vp)->i_number;
836 VTOI(bp->b_vp)->i_number, bp->b_lblkno);
985 if (ip->i_number != LFS_IFILE_INUM)
/netbsd-6-1-5-RELEASE/sys/fs/ntfs/
H A Dntfs_vnops.c125 (unsigned long long)ip->i_number, (long long)uio->uio_offset,
178 (unsigned long long)ip->i_number, ip->i_flag));
181 vap->va_fileid = ip->i_number;
216 (unsigned long long)ip->i_number));
241 (unsigned long long)ip->i_number));
271 (unsigned long long)ip->i_number, ip->i_flag, ip->i_usecount,
373 (unsigned long long)ip->i_number, (long long)uio->uio_offset,
443 dprintf(("ntfs_access: %llu\n", (unsigned long long)ip->i_number));
472 printf("ntfs_open: %llu\n", (unsigned long long)ip->i_number);
500 printf("ntfs_close: %llu\n", (unsigned long long)ip->i_number);
[all...]
H A Dntfs_ihash.c93 val = NTNOHASH(ip->i_dev, ip->i_number);
126 if (inum == ip->i_number && dev == ip->i_dev)
143 ipp = &ntfs_nthashtbl[NTNOHASH(ip->i_dev, ip->i_number)];
H A Dntfs_subr.c105 (unsigned long long)vap->va_ip->i_number, vap->va_type));
123 (unsigned long long)ip->i_number));
127 (unsigned long long)ip->i_number);
183 (unsigned long long)ip->i_number, type, name,
189 (unsigned long long)ip->i_number, type, (long long)vcn));
201 (unsigned long long)ip->i_number, type, name,
262 (unsigned long long)ip->i_number, type, (int)namelen,
286 (unsigned long long)ip->i_number));
291 if (ip->i_number < NTFS_SYSNODESNUM) {
297 ntmp->ntm_bpmftrec * ip->i_number;
[all...]
H A Dntfs_inode.h60 ino_t i_number; member in struct:ntnode
/netbsd-6-1-5-RELEASE/sbin/fsck_ffs/
H A Dpass3.c78 state = inoinfo(inp->i_number)->ino_state;
79 if (inp->i_number == ROOTINO ||
97 orphan = inp->i_number;
H A Dpass2.c163 direrror(inp->i_number, "DIRECTORY TOO SHORT");
166 dp = ginode(inp->i_number);
172 getpathname(pathbuf, sizeof(pathbuf), inp->i_number,
173 inp->i_number);
186 dp = ginode(inp->i_number);
219 curino.id_number = inp->i_number;
248 curino.id_number = inp->i_number;
270 fileerror(inp->i_parent, inp->i_number, "MISSING '..'");
275 (void)makeentry(inp->i_number, inp->i_parent, "..");
279 fileerror(inp->i_parent, inp->i_number,
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_ihash.c89 val = INOHASH(ip->i_dev, ip->i_number);
123 if (inum == ip->i_number && dev == ip->i_dev)
146 if (inum == ip->i_number && dev == ip->i_dev) {
177 ipp = &ihashtbl[INOHASH(ip->i_dev, ip->i_number)];
H A Dufs_lookup.c540 if (dp->i_number == foundino) {
587 if (dp->i_number == foundino) {
631 } else if (dp->i_number == foundino) {
659 mp->mnt_stat.f_mntonname, (unsigned long long)ip->i_number,
732 newdirp->d_ino = ip->i_number;
1226 ufs_rw32(dp->d_ino, needswap) == ip->i_number)
1250 if (target->i_number == source->i_number) {
1256 if (target->i_number == rootino)
1286 if (ufs_rw32(dirbuf.dotdot_ino, needswap) == source->i_number) {
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/fstat/
H A Disofs.c57 fsp->fileid = inode.i_number;
H A Dntfs.c75 fsp->fileid = ntnode.i_number;
/netbsd-6-1-5-RELEASE/sys/fs/filecorefs/
H A Dfilecore_utils.c247 printf("filecore_getparent(ino=%llx)\n", (long long)ip->i_number);
252 if (ip->i_number == FILECORE_ROOTINO) {
253 ip->i_parent = ip->i_number;
254 return ip->i_number;
256 addr = ip->i_number & FILECORE_INO_MASK;
H A Dfilecore_node.c138 val = INOHASH(ip->i_dev, ip->i_number);
171 if (inum == ip->i_number && dev == ip->i_dev) {
193 ipp = &filecorehashtbl[INOHASH(ip->i_dev, ip->i_number)];
H A Dfilecore_node.h90 ino_t i_number; /* the identity of the inode */ member in struct:filecore_node
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/
H A Dlfs_vnops.c359 if (VTOI(ap->a_vp)->i_number == LFS_IFILE_INUM) {
374 printf("lfs_inactive: inactivating VU_DIROP? ino = %d\n", (int)ip->i_number);
646 ino = ip->i_number;
758 lfs_orphan(ip->i_lfs, ip->i_number);
788 lfs_orphan(ip->i_lfs, ip->i_number);
1279 oldparent = fdp->i_number;
1294 if (oldparent != tdp->i_number)
1295 newparent = tdp->i_number;
1391 if (txp->i_number == ip->i_number)
[all...]
H A Dlfs_segment.c69 VTOI(vp)->i_number, (str), op)); \
75 DLOG((DLOG_WVNODE, "ino %d: %s\n", VTOI(vp)->i_number, (str)))
288 fs->lfs_reclino = ip->i_number;
294 ip->i_number));
334 ip->i_number));
396 KDASSERT(ip->i_number != LFS_IFILE_INUM);
429 } while (lfs_writeseg(fs, sp) && ip->i_number == LFS_IFILE_INUM);
531 if (op == VN_CLEAN && ip->i_number != LFS_IFILE_INUM
554 if (ip->i_number != LFS_IFILE_INUM) {
857 lfs_acquire_finfo(fs, ip->i_number, i
[all...]
/netbsd-6-1-5-RELEASE/sys/fs/cd9660/
H A Dcd9660_node.h71 ino_t i_number; /* the identity of the inode */ member in struct:iso_node
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/
H A Dffs_alloc.c118 cg = ino_to_cg(fs, ip->i_number);
168 cg = ino_to_cg(fs, ip->i_number);
177 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg;
211 cg = ino_to_cg(fs, ip->i_number);
220 ino_to_cg(fs, ip->i_number) + lbn / fs->fs_maxbpg;
455 (unsigned long long)ip->i_number);
H A Dufs_inode.h46 ino_t i_number; /* The identity of the inode. */ member in struct:inode

Completed in 268 milliseconds

123