id_state
(inodedep->id_state & (DEPCOMPLETE | UNLINKED)) == UNLINKED ||
if (inodedep->id_state & IOSTARTED)
inodedep->id_state |= IOSTARTED;
if ((inodedep->id_state & (UNLINKED | UNLINKNEXT)) == UNLINKED) {
if ((inodedep->id_state & DEPCOMPLETE) == 0) {
if (inodedep->id_state & IOSTARTED)
inodedep->id_state |= IOSTARTED;
if ((inodedep->id_state & (UNLINKED | UNLINKNEXT)) == UNLINKED) {
if ((inodedep->id_state & DEPCOMPLETE) == 0) {
if ((inodedep->id_state & IOSTARTED) == 0)
inodedep->id_state &= ~IOSTARTED;
if ((inodedep->id_state & (UNLINKED | UNLINKONLIST)) == UNLINKED &&
inon->id_state |= UNLINKPREV;
inodedep->id_state |= UNLINKNEXT;
if (inodedep->id_state & GOINGAWAY)
inodedep->id_state |= COMPLETE;
if ((inodedep->id_state & (UNLINKED | UNLINKONLIST)) != UNLINKED) {
if (inodedep->id_state & GOINGAWAY)
inodedep->id_state |= COMPLETE | DEPCOMPLETE;
inodedep->id_state |= DEPCOMPLETE;
inodedep->id_state &= ~ONDEPLIST;
if ((inodedep->id_state & UNLINKED) != 0) {
inodedep->id_state &= ~COMPLETE;
if ((inodedep->id_state & ONWORKLIST) == 0)
if ((inodedep->id_state & (DEPCOMPLETE | GOINGAWAY)) != 0) {
if ((inodedep->id_state & (DEPCOMPLETE | GOINGAWAY)) == 0) {
if ((inodedep->id_state & DEPCOMPLETE) == 0) {
if ((inodedep->id_state & (UNLINKED | UNLINKLINKS |
inodedep->id_state = ALLCOMPLETE;
inodedep->id_state |= ONDEPLIST;
KASSERT((inodedep->id_state & UNLINKED) == 0, ("inode unlinked"));
inodedep->id_state |= ONDEPLIST;
inodedep->id_state &= ~DEPCOMPLETE;
if ((inodedep->id_state & (UNLINKED | DEPCOMPLETE)) == UNLINKED &&
if ((inodedep->id_state & IOSTARTED) != 0)
if ((inodedep->id_state & IOSTARTED) != 0)
delay = (inodedep->id_state & DEPCOMPLETE);
if (inodedep->id_state & UNLINKED) {
if ((inodedep->id_state & DEPCOMPLETE) == 0)
inodedep->id_state |= GOINGAWAY;
if ((inodedep->id_state & (DEPCOMPLETE | UNLINKED)) != 0 ||
if ((inodedep->id_state & IOSTARTED) != 0 &&
if (inodedep->id_state & ONDEPLIST)
inodedep->id_state &= ~ONDEPLIST;
inodedep->id_state |= ALLCOMPLETE;
if (inodedep->id_state & ONWORKLIST)
if ((inodedep->id_state & ALLCOMPLETE) != ALLCOMPLETE ||
if ((inodedep->id_state & (ONWORKLIST | UNLINKED)) != 0 ||
if (inodedep->id_state & ONDEPLIST)
(inodedep->id_state & ALLCOMPLETE) == ALLCOMPLETE) {
} else if ((inodedep->id_state & ALLCOMPLETE) == ALLCOMPLETE)
KASSERT((inodedep->id_state & UNLINKED) == 0, ("inode unlinked"));
} else if ((inodedep->id_state & ALLCOMPLETE) == ALLCOMPLETE) {
if ((inodedep->id_state & UNLINKNEXT) == 0)
if (idp == NULL || (idp->id_state & UNLINKNEXT) == 0)
if ((inodedep->id_state & UNLINKPREV) == 0)
inodedep->id_state |= UNLINKPREV;
if ((inodedep->id_state & UNLINKLINKS) != UNLINKLINKS)
inodedep, inodedep->id_state);
if (inodedep->id_state & UNLINKONLIST)
inodedep->id_state |= DEPCOMPLETE | UNLINKONLIST;
if (inodedep->id_state & UNLINKED)
inodedep->id_state |= UNLINKED;
KASSERT((inodedep->id_state & UNLINKED) != 0,
if ((inodedep->id_state & UNLINKLINKS) == 0)
if ((inodedep->id_state & UNLINKLINKS) == UNLINKNEXT) {
idn->id_state &= ~UNLINKPREV;
if (idp && (idp->id_state & UNLINKNEXT))
if (idp && (idp->id_state & UNLINKNEXT))
(inodedep->id_state & UNLINKPREV) != UNLINKPREV) {
KASSERT((inodedep->id_state & UNLINKED) != 0,
inodedep->id_state &= ~(UNLINKED | UNLINKLINKS | UNLINKONLIST);
inodedep->id_state &= ~(UNLINKED | UNLINKLINKS | UNLINKONLIST);