Home
last modified time | relevance | path

Searched refs:fsck_ino_t (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dfsck.h185 typedef int32_t fsck_ino_t; typedef
195 fsck_ino_t id_number; /* inode number described */
196 fsck_ino_t id_parent; /* for DATA nodes, their parent */
230 fsck_ino_t i_number; /* inode number of this entry */
231 fsck_ino_t i_parent; /* inode number of parent */
232 fsck_ino_t i_dotdot; /* inode number of .. */
233 fsck_ino_t i_extattr; /* inode of hidden attr dir */
266 extern fsck_ino_t countdirs;
275 fsck_ino_t *client; /* an array of inode numbers */
280 fsck_ino_t shadow; /* the shadow inode that this info is for */
[all …]
H A Ddir.c44 fsck_ino_t rc_orphan;
45 fsck_ino_t rc_parent;
56 static void lftempname(char *, fsck_ino_t);
57 static int do_reconnect(fsck_ino_t, fsck_ino_t, caddr_t);
58 static caddr_t mkuniqname(caddr_t, caddr_t, fsck_ino_t, fsck_ino_t);
61 static int expanddir(fsck_ino_t, char *);
62 static void freedir(fsck_ino_t, fsck_ino_t);
66 static fsck_ino_t newdir(fsck_ino_t, fsck_ino_t, int, caddr_t);
67 static fsck_ino_t reallocdir(fsck_ino_t, fsck_ino_t, int, caddr_t);
402 if (linkup(idesc->id_number, (fsck_ino_t)0, in adjust()
[all …]
H A Dinode.c48 fsck_ino_t lastino;
57 static void mark_delayed_inodes(fsck_ino_t, daddr32_t);
59 static struct inoinfo *search_cache(struct inoinfo *, fsck_ino_t);
61 static int lookup_dotdot_ino(fsck_ino_t);
672 static fsck_ino_t startinum = -1;
675 ginode(fsck_ino_t inum) in ginode()
686 inum >= (fsck_ino_t)(startinum + (fsck_ino_t)INOPB(&sblock))) { in ginode()
699 (fsck_ino_t)((inum / INOPB(&sblock)) * INOPB(&sblock)); in ginode()
715 static fsck_ino_t nextino, lastinum;
724 getnextinode(fsck_ino_t inum) in getnextinode()
[all …]
H A Dpass1.c51 static void clear_attr_acl(fsck_ino_t, fsck_ino_t, char *);
52 static void verify_inode(fsck_ino_t, struct inodesc *, fsck_ino_t);
53 static void check_dirholes(fsck_ino_t, struct inodesc *);
54 static void collapse_dirhole(fsck_ino_t, struct inodesc *);
63 fsck_ino_t inumber; in pass1()
64 fsck_ino_t maxinumber; in pass1()
125 verify_inode(fsck_ino_t inumber, struct inodesc *idesc, fsck_ino_t maxinumber) in verify_inode()
130 fsck_ino_t shadow, attrinode; in verify_inode()
499 clear_attr_acl(fsck_ino_t inumber, fsck_ino_t parent, char *fmt) in clear_attr_acl()
501 fsck_ino_t victim = inumber; in clear_attr_acl()
[all …]
H A Ddup_avl.c72 fsck_ino_t cl_inode;
90 fsck_ino_t id_ino;
99 static inode_dup_t *new_inode_dup(fsck_ino_t);
104 static claimant_t *alloc_claimant(fsck_ino_t, daddr32_t);
108 static int decrement_claimant(fragment_t *, fsck_ino_t, daddr32_t);
109 static int increment_claimant(fragment_t *, fsck_ino_t, daddr32_t);
128 find_dup_ref(daddr32_t fragno, fsck_ino_t ino, daddr32_t lfn, int flags) in find_dup_ref()
399 increment_claimant(fragment_t *dup, fsck_ino_t ino, daddr32_t lfn) in increment_claimant()
438 decrement_claimant(fragment_t *dup, fsck_ino_t ino, daddr32_t lfn) in decrement_claimant()
463 alloc_claimant(fsck_ino_t inode, daddr32_t lfn) in alloc_claimant()
[all …]
H A Dmain.c208 fsck_ino_t maxino;
209 fsck_ino_t countdirs;
210 fsck_ino_t n_files;
398 fsck_ino_t files; in checkfilesys()
400 fsck_ino_t inumber; in checkfilesys()
402 fsck_ino_t limbo_victim; in checkfilesys()
532 limbo_victim = *(fsck_ino_t *)limbo_dirs; in checkfilesys()
860 fsck_ino_t ino = *(fsck_ino_t *)node; in report_limbo()
H A Dutilities.c75 static void vdirerror(fsck_ino_t, caddr_t, va_list);
633 freeblk(fsck_ino_t ino, daddr32_t blkno, int frags) in freeblk()
660 getpathname(caddr_t namebuf, fsck_ino_t curdir, fsck_ino_t ino) in getpathname()
1709 rc->client = (fsck_ino_t *)malloc(sizeof (fsck_ino_t) * in newshadowclient()
1717 registershadowclient(fsck_ino_t shadow, fsck_ino_t client, in registershadowclient()
1757 clearshadow(fsck_ino_t shadow, struct shadowclientinfo **info) in clearshadow()
1788 deshadow(struct shadowclientinfo *sci, void (*cb)(fsck_ino_t)) in deshadow() argument
2255 file_id(fsck_ino_t inum, mode_t mode) in file_id()
2300 const fsck_ino_t lino = (const fsck_ino_t)left; in ino_t_cmp()
2301 const fsck_ino_t rino = (const fsck_ino_t)right; in ino_t_cmp()
[all …]
H A Dpass3b.c50 static int bufchk(char *, int64_t, fsck_ino_t);
57 fsck_ino_t inumber; in pass3b()
280 bufchk(char *buf, int64_t len, fsck_ino_t inum) in bufchk()
308 fsck_ino_t target; in bufchk()
H A Dpass1b.c46 fsck_ino_t inumber; in pass1b()
H A Dpass3.c51 fsck_ino_t orphan; in pass3a()
412 maybe_convert_attrdir_to_dir(fsck_ino_t orphan) in maybe_convert_attrdir_to_dir()
H A Dpass2.c251 inp->i_dotdot == (fsck_ino_t)-1) { in pass2()
331 inp->i_dotdot = (fsck_ino_t)-1; in pass2()
650 inp->i_dotdot = (fsck_ino_t)-1; in pass2check()
656 inp->i_dotdot = (fsck_ino_t)-1; in pass2check()
H A Dpass4.c42 fsck_ino_t inumber; in pass4()
H A Dsetup.c86 fsck_ino_t lfdir;