/original-bsd/sbin/dump/ |
H A D | traverse.c | 121 for (ino = ROOTINO; ino < maxino; ino++) { 172 for (map = dumpdirmap, ino = 1; ino < maxino; ino++) { 219 ino_t ino; in dirindir() 258 ino_t ino; in searchdir() 305 dumpino(dp, ino) in dumpino() argument 307 ino_t ino; 383 ino_t ino; in dmpindir() 419 ino_t ino; 456 ino_t ino; 472 writeheader(ino) in writeheader() argument [all …]
|
H A D | dump.h | 23 #define SETINO(ino, map) \ argument 24 map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY) 25 #define CLRINO(ino, map) \ argument 26 map[(u_int)((ino) - 1) / NBBY] &= ~(1 << ((u_int)((ino) - 1) % NBBY)) 27 #define TSTINO(ino, map) \ argument 28 (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY))) 84 void blksout __P((daddr_t *blkp, int frags, ino_t ino)); 86 void dumpino __P((struct dinode *dp, ino_t ino)); 87 void dumpmap __P((char *map, int type, ino_t ino)); 88 void writeheader __P((ino_t ino));
|
H A D | main.c | 69 register ino_t ino; local 363 for (map = dumpdirmap, ino = 1; ino < maxino; ino++) { 364 if (((ino - 1) % NBBY) == 0) /* map is offset by 1 */ 373 dp = getino(ino); 376 (void)dumpino(dp, ino); 380 for (map = dumpinomap, ino = 1; ino < maxino; ino++) { 383 if (((ino - 1) % NBBY) == 0) /* map is offset by 1 */ 392 dp = getino(ino); 396 (void)dumpino(dp, ino);
|
/original-bsd/local/ukc/restore/ |
H A D | restore.c | 18 listfile(name, ino, type) in listfile() argument 20 ino_t ino; 38 addfile(name, ino, type) in addfile() argument 40 ino_t ino; 59 ep = lookupino(ino); 82 ino_t ino; 91 ep = lookupino(ino); 155 ino_t ino; 195 ip = lookupino(ino); 396 name, ino); [all …]
|
H A D | interactive.c | 49 ino_t ino; in runcmdshell() local 71 ino = dirlookup(name); in runcmdshell() 72 if (ino == 0) in runcmdshell() 84 ino = dirlookup(name); in runcmdshell() 85 if (ino == 0) in runcmdshell() 151 ino = dirlookup(name); in runcmdshell() 152 if (ino == 0) in runcmdshell() 645 ino_t ino; 655 single.fnum = ino; 691 ino_t ino; [all …]
|
/original-bsd/local/ukc/dump/ |
H A D | dumptraverse.c | 21 for (ino = 0; ino < maxino; ) { 27 ino++; 29 (*fn)(getino(ino)); 43 BIS(ino, clrmap); 45 BIS(ino, dirmap); 48 BIS(ino, nodmap); 134 BIC(ino, nodmap); 292 getino(ino) in getino() argument 293 daddr_t ino; in getino() 298 if (ino >= minino && ino < maxino) { [all …]
|
/original-bsd/sbin/restore/ |
H A D | restore.c | 30 listfile(name, ino, type) in listfile() argument 32 ino_t ino; 49 addfile(name, ino, type) in addfile() argument 51 ino_t ino; 72 ep = lookupino(ino); 95 ino_t ino; 189 ino_t ino; 228 ip = lookupino(ino); 442 name, ino); 803 ino_t ino; [all …]
|
H A D | dirs.c | 56 ino_t ino; member 191 ino_t ino; 258 ino_t ino; local 264 ino = ROOTINO; 493 ino_t ino; local 609 ino_t ino; 652 inodetype(ino) in inodetype() argument 653 ino_t ino; in inodetype() 669 ino_t ino; in allocinotab() 685 node.ino = ino; [all …]
|
H A D | restore.h | 82 ino_t ino; /* inumber of file */ member 104 #define TSTINO(ino, map) \ argument 105 (map[(u_int)((ino) - 1) / NBBY] & (1 << ((u_int)((ino) - 1) % NBBY))) 106 #define SETINO(ino, map) \ argument 107 map[(u_int)((ino) - 1) / NBBY] |= 1 << ((u_int)((ino) - 1) % NBBY)
|
H A D | main.c | 59 ino_t ino; local 213 ino = dirlookup(name); 214 if (ino == 0) 216 treescan(name, ino, listfile); 228 ino = dirlookup(name); 229 if (ino == 0) 233 treescan(name, ino, addfile);
|
/original-bsd/sbin/fsck/ |
H A D | dir.c | 244 ino_t ino; in direrror() 248 fileerror(ino, ino, errmesg); 260 pinode(ino); 263 if (ino < ROOTINO || ino > maxino) { 506 ino < ROOTINO || ino >= maxino) 594 ino_t ino; local 624 return(ino); 639 return (ino); 656 freeino(ino); 665 ino_t ino; [all …]
|
H A D | inode.c | 413 pinode(ino) in pinode() argument 414 ino_t ino; in pinode() 422 if (ino < ROOTINO || ino > maxino) 424 dp = ginode(ino); 440 ino_t ino; in blkerror() 482 for (ino = request; ino < maxino; ino++) 498 dp = ginode(ino); 513 return (ino); 520 freeino(ino) in freeino() argument 521 ino_t ino; in freeino() [all …]
|
H A D | fsck.h | 195 void blkerror __P((ino_t ino, char *type, ufs_daddr_t blk)); 211 void direrror __P((ino_t ino, char *errmesg)); 218 void fileerror __P((ino_t cwd, ino_t ino, char *errmesg)); 223 void freeino __P((ino_t ino)); 230 void getpathname __P((char *namebuf, ino_t curdir, ino_t ino)); 235 int makeentry __P((ino_t parent, ino_t ino, char *name)); 246 void pinode __P((ino_t ino));
|
/original-bsd/sbin/ncheck/ |
H A D | ncheck.c | 37 ino_t ino; member 63 ino_t ino; variable 157 ino = 0; 167 ino++; 172 ino = 0; 182 ino++; 186 ino = 0; 196 ino++; 215 if (ino == ilist[i].ino) { 225 ilist[nxfile].ino = ino; [all …]
|
/original-bsd/lib/libc/db/hash/ |
H A D | hash_page.c | 203 ino[ndx] = copyto + ino[n] - ino[n + 1]; 211 val.size = ino[n] - ino[n + 1]; 216 off = ino[n + 1]; 220 ino[0] -= moved; 221 FREESPACE(ino) = copyto - sizeof(u_short) * (ino[0] + 3); 276 n = ino[0] - 1; 278 if (ino[2] < REAL_KEY && ino[2] != OVFLPAGE) { 297 ov_addr = ino[n]; 303 FREESPACE(ino) = 322 for (n = 1; (n < ino[0]) && (ino[n + 1] >= REAL_KEY); n += 2) { [all …]
|
/original-bsd/old/dump.4.1/ |
H A D | dumptraverse.c | 28 ino = 0; 30 if(ino >= mino) 34 if(ino >= mino) 41 ino++; 106 BIS(ino, clrmap); 108 BIS(ino, dirmap); 111 BIS(ino, nodmap); 124 if(BIT(ino, nodmap)) 130 BIS(ino, nodmap); 136 BIC(ino, dirmap); [all …]
|
/original-bsd/old/dcheck/ |
H A D | dcheck.c | 48 ino_t ino; variable 120 ino = 0; 129 ino++; 133 ino = 0; 142 ino++; 166 dp->d_ino, ino, dp->d_name); 173 dp->d_ino, ino, dp->d_name); 185 i = ino; 194 printf("%u\t%d\t%d\n", ino, 250 printf("%u - huge directory\n", ino); in bmap()
|
/original-bsd/sys/isofs/cd9660/ |
H A D | cd9660_lookup.c | 88 ino_t ino = 0; variable 281 ino = isodirino(ep, imp); 283 ino = dbtob(bp->b_blkno) 286 } else if (ino) 298 ino = isodirino(ep, imp); 301 dp->i_ino = ino; 306 ino = 0; 312 if (ino) { 314 dp->i_ino = ino; 393 dp->i_ino != ino, ep); [all …]
|
/original-bsd/lib/libc/gen/ |
H A D | getcwd.c | 40 ino_t ino; local 46 ino = s.st_ino; 47 if (!stat(".", &s) && dev == s.st_dev && ino == s.st_ino) { 188 register ino_t ino; local 244 ino = s.st_ino; 248 if (root_dev == dev && root_ino == ino) { 292 if (dp->d_fileno == ino) 310 if (s.st_dev == dev && s.st_ino == ino)
|
/original-bsd/sys/ufs/lfs/ |
H A D | lfs_alloc.c | 129 lfs_vcreate(mp, ino, vpp) in lfs_vcreate() argument 131 ino_t ino; 156 ip->i_number = ip->i_din.di_inumber = ino; 187 ino_t ino; local 192 ino = ip->i_number; 202 LFS_IENTRY(ifp, fs, ino, bp); 207 fs->lfs_free = ino;
|
/original-bsd/sbin/icheck/ |
H A D | icheck.c | 55 ino_t ino; variable 171 ino = 0; 182 ino = 0; 205 (void)sprintf(buf, "inodes %d-%d", ino, ino + i); 207 ino += i; 216 ino = 0; 226 ino++; 230 ino = 0; 327 printf("bad mode %u\n", ino); 404 bno, ino, s); [all …]
|
/original-bsd/bin/pax/ |
H A D | tables.c | 140 if ((pt->ino == arcn->sb.st_ino) && 181 pt->ino = arcn->sb.st_ino; 236 if ((pt->ino == arcn->sb.st_ino) && 1027 ino_t ino; 1045 indx = ((unsigned)ino) % A_TAB_SZ; 1048 if ((pt->ino == ino) && (pt->dev == dev)) 1066 pt->ino = ino; 1096 get_atdir(dev, ino, mtime, atime) in get_atdir() 1098 ino_t ino; 1112 indx = ((unsigned)ino) % A_TAB_SZ; [all …]
|
/original-bsd/old/512restor/ |
H A D | 512restor.c | 70 ino_t ino, maxi, curino; variable 387 for (ino = 1; ino <= maxi; ino++) 409 ino = spcl.c_inumber; 413 if (ino > maxi) { 419 getdino(ino, &tino); 438 putdino(ino, &tino); 719 ino = 2; 728 ino = search(ino, cp); 729 if (ino == 0) { 738 return(ino); [all …]
|
/original-bsd/usr.sbin/quot/ |
H A D | quot.c | 65 unsigned ino; variable 227 for (ino = 0; ino < nfiles; ) { 228 iblk = fsbtodb(&sblock, ino_to_fsba(&sblock, ino)); 230 for (j = 0; j < INOPB(&sblock) && ino < nfiles; j++, ino++) { 231 if (ino < ROOTINO) 306 if (fino > ino) 308 if (fino < ino) {
|
/original-bsd/usr.bin/du/ |
H A D | du.c | 178 ino_t ino; local 181 ino = p->fts_statp->st_ino; 185 if (ino == fp->inode && dev == fp->dev) 191 files[nfiles].inode = ino;
|