Lines Matching refs:idesc
456 scannames(struct inodesc *idesc) in scannames() argument
458 struct direct *dirp = idesc->id_dirp; in scannames()
469 struct inodesc idesc; in CMDFUNCSTART() local
474 idesc.id_number = curinum; in CMDFUNCSTART()
475 idesc.id_func = scannames; in CMDFUNCSTART()
476 idesc.id_type = DATA; in CMDFUNCSTART()
477 idesc.id_fix = IGNORE; in CMDFUNCSTART()
478 ckinode(curinode, &idesc); in CMDFUNCSTART()
742 int findino(struct inodesc *idesc); /* from fsck */
748 struct inodesc idesc; in dolookup() local
752 idesc.id_number = curinum; in dolookup()
753 idesc.id_func = findino; in dolookup()
754 idesc.id_name = name; in dolookup()
755 idesc.id_type = DATA; in dolookup()
756 idesc.id_fix = IGNORE; in dolookup()
757 if (ckinode(curinode, &idesc) & FOUND) { in dolookup()
758 setcurinode(idesc.id_parent); in dolookup()
832 chinumfunc(struct inodesc *idesc) in chinumfunc() argument
834 struct direct *dirp = idesc->id_dirp; in chinumfunc()
837 dirp->d_ino = idesc->id_parent; in chinumfunc()
847 struct inodesc idesc; in CMDFUNCSTART() local
860 idesc.id_number = curinum; in CMDFUNCSTART()
861 idesc.id_func = chinumfunc; in CMDFUNCSTART()
862 idesc.id_fix = IGNORE; in CMDFUNCSTART()
863 idesc.id_type = DATA; in CMDFUNCSTART()
864 idesc.id_parent = inum; /* XXX convenient hiding place */ in CMDFUNCSTART()
866 if (ckinode(curinode, &idesc) & FOUND) in CMDFUNCSTART()
875 chnamefunc(struct inodesc *idesc) in chnamefunc() argument
877 struct direct *dirp = idesc->id_dirp; in chnamefunc()
882 testdir.d_namlen = strlen(idesc->id_name); in chnamefunc()
885 strcpy(dirp->d_name, idesc->id_name); in chnamefunc()
897 struct inodesc idesc; in CMDFUNCSTART() local
909 idesc.id_number = curinum; in CMDFUNCSTART()
910 idesc.id_func = chnamefunc; in CMDFUNCSTART()
911 idesc.id_fix = IGNORE; in CMDFUNCSTART()
912 idesc.id_type = DATA; in CMDFUNCSTART()
913 idesc.id_name = argv[2]; in CMDFUNCSTART()
915 rval = ckinode(curinode, &idesc); in CMDFUNCSTART()