Searched refs:inoinfo (Results 1 – 11 of 11) sorted by relevance
/freebsd/sbin/fsck_ffs/ |
H A D | pass2.c | 48 static int fix_extraneous(struct inoinfo *, struct inodesc *); 58 struct inoinfo **inpp, *inp; in pass2() 59 struct inoinfo **inpend; in pass2() 65 switch (inoinfo(UFS_ROOTINO)->ino_state) { in pass2() 121 inoinfo(UFS_ROOTINO)->ino_state); in pass2() 123 inoinfo(UFS_ROOTINO)->ino_state = DFOUND; in pass2() 124 inoinfo(UFS_WINO)->ino_state = FSTATE; in pass2() 125 inoinfo(UFS_WINO)->ino_type = DT_WHT; in pass2() 204 if (inoinfo(inp->i_parent)->ino_state == DFOUND && in pass2() 206 inoinfo(inp->i_number)->ino_state = DFOUND; in pass2() [all …]
|
H A D | pass3.c | 45 struct inoinfo *inp; in pass3() 65 state = inoinfo(inp->i_number)->ino_state; in pass3() 80 inoinfo(inp->i_dotdot)->ino_linkcnt++; in pass3() 94 inoinfo(lfdir)->ino_linkcnt--; in pass3() 95 inoinfo(orphan)->ino_state = DFOUND; in pass3() 117 inoinfo(orphan)->ino_linkcnt++; in pass3() 119 inoinfo(lfdir)->ino_linkcnt--; in pass3() 122 inoinfo(orphan)->ino_state = DFOUND; in pass3()
|
H A D | pass4.c | 71 idesc.id_type = inoinfo(inumber)->ino_idtype; in pass4() 72 switch (inoinfo(inumber)->ino_state) { in pass4() 76 if (inoinfo(inumber)->ino_linkcnt == 0) { in pass4() 84 n = inoinfo(inumber)->ino_linkcnt; in pass4() 116 inoinfo(inumber)->ino_state, in pass4()
|
H A D | dir.c | 69 struct inoinfo **inpp, *inp; in propagate() 70 struct inoinfo **inpend; in propagate() 80 if (inoinfo(inp->i_parent)->ino_state == DFOUND && in propagate() 82 inoinfo(inp->i_number)->ino_state = DFOUND; in propagate() 94 check_dirdepth(struct inoinfo *inp) in check_dirdepth() 96 struct inoinfo *parentinp; in check_dirdepth() 544 dirp->d_type = inoinfo(idesc->id_parent)->ino_type; in mkentry() 558 dirp->d_type = inoinfo(idesc->id_parent)->ino_type; in chgino() 569 struct inoinfo *inp; in linkup() 647 idesc.id_type = inoinfo(oldlfdi in linkup() [all...] |
H A D | fsck.h | 122 #define INO_IS_DUNFOUND(ino) S_IS_DUNFOUND(inoinfo(ino)->ino_state) 123 #define INO_IS_DVALID(ino) S_IS_DVALID(inoinfo(ino)->ino_state) 304 struct inoinfo { struct 305 SLIST_ENTRY(inoinfo) i_hash; /* hash list */ 315 extern SLIST_HEAD(inohash, inoinfo) *inphash; argument 316 extern struct inoinfo **inpsort; 474 struct inoinfo *cacheino(union dinode *dp, ino_t inumber); 483 void check_dirdepth(struct inoinfo *inp); 510 struct inoinfo *getinoinfo(ino_t inumber); 521 struct inostat *inoinfo(ino_t inum);
|
H A D | pass1.c | 283 inoinfo(inumber)->ino_state = USTATE; in checkinode() 381 inoinfo(inumber)->ino_linkcnt = DIP(dp, di_nlink); in checkinode() 384 inoinfo(inumber)->ino_state = DCLEAR; in checkinode() 386 inoinfo(inumber)->ino_state = DZLINK; in checkinode() 388 inoinfo(inumber)->ino_state = DSTATE; in checkinode() 393 inoinfo(inumber)->ino_state = FZLINK; in checkinode() 395 inoinfo(inumber)->ino_state = FSTATE; in checkinode() 396 inoinfo(inumber)->ino_type = IFTODT(mode); in checkinode() 400 inoinfo(inumber)->ino_idtype = SNAP; in checkinode() 402 inoinfo(inumber)->ino_idtype = ADDR; in checkinode() [all …]
|
H A D | inode.c | 1118 struct inoinfo * 1121 struct inoinfo *inp; in cacheino() 1133 inp = (struct inoinfo *) in cacheino() 1152 inpsort = (struct inoinfo **)reallocarray((char *)inpsort, in cacheino() 1153 listmax, sizeof(struct inoinfo *)); in cacheino() 1164 struct inoinfo * 1167 struct inoinfo *inp; in getinoinfo() 1184 struct inoinfo *inp, **inpp; in removecachedino() 1191 SLIST_REMOVE(&inphash[inumber % dirhash], inp, inoinfo, i_hash); in removecachedino() 1214 struct inoinfo **inpp; in inocleanup() [all …]
|
H A D | pass1b.c | 79 idesc.id_type = inoinfo(inumber)->ino_idtype; in pass1b() 80 if (inoinfo(inumber)->ino_state != USTATE && in pass1b()
|
H A D | setup.c | 53 struct inoinfo **inpsort; /* disk order list of directory inodes */ 168 inpsort = (struct inoinfo **)Calloc(listmax, sizeof(struct inoinfo *)); in setup() 172 (uintmax_t)numdirs * sizeof(struct inoinfo *)); in setup()
|
H A D | pass5.c | 65 inoinfo(UFS_WINO)->ino_state = USTATE; in pass5() 235 switch (inoinfo(inum)->ino_state) { in pass5() 258 inoinfo(inum)->ino_state, (uintmax_t)inum); in pass5()
|
H A D | fsutil.c | 158 inoinfo(ino_t inum) in inoinfo() function
|