Lines Matching refs:iip

82 	for (i = cnode->iip + 1; i < UBIFS_LPT_FANOUT; i++) {  in next_dirty_cnode()
264 cnode->parent->nbranch[cnode->iip].lnum = lnum; in layout_cnodes()
265 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
568 int iip; in next_pnode_to_dirty() local
572 for (iip = pnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
573 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
574 return ubifs_get_pnode(c, nnode, iip); in next_pnode_to_dirty()
579 iip = nnode->iip + 1; in next_pnode_to_dirty()
583 for (; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
584 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
587 } while (iip >= UBIFS_LPT_FANOUT); in next_pnode_to_dirty()
590 nnode = ubifs_get_nnode(c, nnode, iip); in next_pnode_to_dirty()
596 for (iip = 0; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
597 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
600 if (iip >= UBIFS_LPT_FANOUT) { in next_pnode_to_dirty()
605 iip = 0; in next_pnode_to_dirty()
607 nnode = ubifs_get_nnode(c, nnode, iip); in next_pnode_to_dirty()
612 for (iip = 0; iip < UBIFS_LPT_FANOUT; iip++) in next_pnode_to_dirty()
613 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
615 if (iip >= UBIFS_LPT_FANOUT) in next_pnode_to_dirty()
617 iip = 0; in next_pnode_to_dirty()
618 return ubifs_get_pnode(c, nnode, iip); in next_pnode_to_dirty()
631 int err, h, iip, shft; in pnode_lookup() local
643 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()
645 nnode = ubifs_get_nnode(c, nnode, iip); in pnode_lookup()
649 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()
650 return ubifs_get_pnode(c, nnode, iip); in pnode_lookup()
660 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt()
868 int err, iip; in nnode_lookup() local
878 iip = i & (UBIFS_LPT_FANOUT - 1); in nnode_lookup()
882 nnode = ubifs_get_nnode(c, nnode, iip); in nnode_lookup()
915 branch = &nnode->parent->nbranch[nnode->iip]; in make_nnode_dirty()
962 branch = &pnode->parent->nbranch[pnode->iip]; in make_pnode_dirty()
1417 int iip, h, i, found; in next_nnode() local
1422 if (nnode->iip == UBIFS_LPT_FANOUT - 1) { in next_nnode()
1426 for (iip = nnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_nnode()
1427 nnode = parent->nbranch[iip].nnode; in next_nnode()
1528 branch = &nnode->parent->nbranch[nnode->iip]; in dbg_is_nnode_dirty()
1564 branch = &pnode->parent->nbranch[pnode->iip]; in dbg_is_pnode_dirty()