/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | inode.c | 217 ckinode(struct dinode *dp, struct inodesc *idesc, enum cki_action action) in ckinode() argument 222 if (idesc->id_filesize == 0) in ckinode() 223 idesc->id_filesize = (offset_t)dp->di_size; in ckinode() 238 idesc->id_number); in ckinode() 241 cleardesc.id_number = idesc->id_number; in ckinode() 246 return (ckinode_common(dp, idesc, action)); in ckinode() 257 ckinode_common(struct dinode *dp, struct inodesc *idesc, in ckinode_common() argument 270 idesc->id_lbn++; in ckinode_common() 273 idesc->id_numfrags = in ckinode_common() 276 idesc->id_numfrags = sblock.fs_frag; in ckinode_common() [all …]
|
H A D | dir.c | 100 dirscan(struct inodesc *idesc) in dirscan() argument 111 if (idesc->id_type != DATA) in dirscan() 112 errexit("wrong type to dirscan %d\n", idesc->id_type); in dirscan() 113 if (idesc->id_entryno == 0 && in dirscan() 114 (idesc->id_filesize & (DIRBLKSIZ - 1)) != 0) in dirscan() 115 idesc->id_filesize = roundup(idesc->id_filesize, DIRBLKSIZ); in dirscan() 116 blksiz = idesc->id_numfrags * sblock.fs_fsize; in dirscan() 117 if (chkrange(idesc->id_blkno, idesc->id_numfrags)) { in dirscan() 118 idesc->id_filesize -= (offset_t)blksiz; in dirscan() 121 idesc->id_loc = 0; in dirscan() [all …]
|
H A D | pass4.c | 44 struct inodesc idesc; in pass4() local 62 init_inodesc(&idesc); in pass4() 63 idesc.id_type = ADDR; in pass4() 64 idesc.id_func = pass4check; in pass4() 65 idesc.id_number = inumber; in pass4() 84 clri(&idesc, "UNREF", CLRI_VERBOSE, in pass4() 107 adjust(&idesc, n); in pass4() 119 clri(&idesc, "UNREF", CLRI_VERBOSE, in pass4() 128 clri(&idesc, "ZERO LENGTH", in pass4() 135 clri(&idesc, "BAD/DUP", CLRI_VERBOSE, in pass4() [all …]
|
H A D | pass3.c | 57 struct inodesc idesc; in pass3a() local 80 dp->di_mode, &idesc); in pass3a() 187 init_inodesc(&idesc); in pass3a() 188 idesc.id_type = DATA; in pass3a() 189 idesc.id_number = inp->i_parent; in pass3a() 190 idesc.id_parent = orphan; in pass3a() 191 idesc.id_func = findname; in pass3a() 192 idesc.id_name = namebuf; in pass3a() 205 &idesc, CKI_TRAVERSE) & FOUND) == 0) in pass3a() 211 &idesc); in pass3a() [all …]
|
H A D | pass2.c | 393 pass2check(struct inodesc *idesc) in pass2check() argument 395 struct direct *dirp = idesc->id_dirp; in pass2check() 411 if (idesc->id_entryno != 0) in pass2check() 417 if (dirp->d_ino != idesc->id_number) { in pass2check() 418 direrror(idesc->id_number, "BAD INODE NUMBER FOR '.'"); in pass2check() 419 dirp->d_ino = idesc->id_number; in pass2check() 432 direrror(idesc->id_number, "MISSING '.'"); in pass2check() 433 proto.d_ino = idesc->id_number; in pass2check() 479 idesc->id_entryno++; in pass2check() 521 TRACK_LNCNTP(idesc->id_number, in pass2check() [all …]
|
H A D | pass1b.c | 45 struct inodesc idesc; in pass1b() local 59 init_inodesc(&idesc); in pass1b() 60 idesc.id_type = ADDR; in pass1b() 61 idesc.id_func = pass1bcheck; in pass1b() 62 idesc.id_number = inumber; in pass1b() 63 idesc.id_fix = DONTKNOW; in pass1b() 66 (void) ckinode(dp, &idesc, CKI_TRAVERSE); in pass1b() 71 pass1bcheck(struct inodesc *idesc) in pass1bcheck() argument 76 daddr32_t blkno = idesc->id_blkno; in pass1bcheck() 78 for (nfrags = 0; nfrags < idesc->id_numfrags; blkno++, nfrags++) { in pass1bcheck() [all …]
|
H A D | pass1.c | 62 struct inodesc idesc; in pass1() local 109 init_inodesc(&idesc); in pass1() 110 idesc.id_type = ADDR; in pass1() 111 idesc.id_func = pass1check; in pass1() 112 verify_inode(inumber, &idesc, maxinumber); in pass1() 125 verify_inode(fsck_ino_t inumber, struct inodesc *idesc, fsck_ino_t maxinumber) in verify_inode() argument 386 idesc->id_number = inumber; in verify_inode() 387 idesc->id_fix = DONTKNOW; in verify_inode() 392 (void) ckinode(dp, idesc, CKI_TRAVERSE); in verify_inode() 393 if (isdir && (idesc->id_firsthole >= 0)) in verify_inode() [all …]
|
H A D | utilities.c | 635 struct inodesc idesc; in freeblk() local 641 init_inodesc(&idesc); in freeblk() 643 idesc.id_number = ino; in freeblk() 644 idesc.id_blkno = blkno; in freeblk() 645 idesc.id_numfrags = frags; in freeblk() 646 idesc.id_truncto = -1; in freeblk() 652 (void) pass4check(&idesc); in freeblk() 665 struct inodesc idesc; in getpathname() local 682 init_inodesc(&idesc); in getpathname() 683 idesc.id_type = DATA; in getpathname() [all …]
|
H A D | pass3b.c | 236 pass3bcheck(struct inodesc *idesc) in pass3bcheck() argument 241 if (aclbufoff == idesc->id_filesize) { in pass3bcheck() 244 bsize = size = sblock.fs_fsize * idesc->id_numfrags; in pass3bcheck() 245 if ((size + aclbufoff) > idesc->id_filesize) in pass3bcheck() 246 size = idesc->id_filesize - aclbufoff; in pass3bcheck() 251 bp = getdatablk(idesc->id_blkno, bsize); in pass3bcheck()
|
H A D | pass5.c | 59 struct inodesc idesc; in pass5() local 107 init_inodesc(&idesc); in pass5() 108 idesc.id_type = ADDR; in pass5() 431 if (dofix(&idesc, "CORRECT GLOBAL SUMMARY")) { in pass5()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | pass1.c | 566 struct inodesc idesc; in dofreemap() local 581 bzero((char *)&idesc, sizeof (struct inodesc)); in dofreemap() 582 idesc.id_type = ADDR; in dofreemap() 584 dofix(&idesc, gettext("BLK(S) MISSING IN FREE BITMAP"))) { in dofreemap() 596 struct inodesc idesc; in dolvint() local 598 bzero((char *)&idesc, sizeof (struct inodesc)); in dolvint() 599 idesc.id_type = ADDR; in dolvint() 606 dofix(&idesc, gettext("LOGICAL VOLUME INTEGRITY COUNTS WRONG"))) { in dolvint()
|
H A D | utilities.c | 472 dofix(struct inodesc *idesc, char *msg) in dofix() argument 475 switch (idesc->id_fix) { in dofix() 481 idesc->id_fix = FIX; in dofix() 485 idesc->id_fix = NOFIX; in dofix() 488 idesc->id_fix = FIX; in dofix() 499 idesc->id_fix); in dofix()
|
/illumos-gate/usr/src/contrib/bhyve/dev/usb/ |
H A D | usbdi.h | 172 struct usb_interface_descriptor *idesc; member
|