• Home
  • Raw
  • Download

Lines Matching refs:iip

77 	for (i = cnode->iip + 1; i < UBIFS_LPT_FANOUT; i++) {  in next_dirty_cnode()
259 cnode->parent->nbranch[cnode->iip].lnum = lnum; in layout_cnodes()
260 cnode->parent->nbranch[cnode->iip].offs = offs; in layout_cnodes()
565 int iip; in next_pnode_to_dirty() local
569 for (iip = pnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
570 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
571 return ubifs_get_pnode(c, nnode, iip); in next_pnode_to_dirty()
576 iip = nnode->iip + 1; in next_pnode_to_dirty()
580 for (; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
581 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
584 } while (iip >= UBIFS_LPT_FANOUT); in next_pnode_to_dirty()
587 nnode = ubifs_get_nnode(c, nnode, iip); in next_pnode_to_dirty()
593 for (iip = 0; iip < UBIFS_LPT_FANOUT; iip++) { in next_pnode_to_dirty()
594 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
597 if (iip >= UBIFS_LPT_FANOUT) { in next_pnode_to_dirty()
602 iip = 0; in next_pnode_to_dirty()
604 nnode = ubifs_get_nnode(c, nnode, iip); in next_pnode_to_dirty()
609 for (iip = 0; iip < UBIFS_LPT_FANOUT; iip++) in next_pnode_to_dirty()
610 if (nnode->nbranch[iip].lnum) in next_pnode_to_dirty()
612 if (iip >= UBIFS_LPT_FANOUT) in next_pnode_to_dirty()
614 iip = 0; in next_pnode_to_dirty()
615 return ubifs_get_pnode(c, nnode, iip); in next_pnode_to_dirty()
628 int err, h, iip, shft; in pnode_lookup() local
640 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()
642 nnode = ubifs_get_nnode(c, nnode, iip); in pnode_lookup()
646 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()
647 return ubifs_get_pnode(c, nnode, iip); in pnode_lookup()
657 ubifs_add_lpt_dirt(c, pnode->parent->nbranch[pnode->iip].lnum, in add_pnode_dirt()
867 int err, iip; in nnode_lookup() local
877 iip = i & (UBIFS_LPT_FANOUT - 1); in nnode_lookup()
881 nnode = ubifs_get_nnode(c, nnode, iip); in nnode_lookup()
914 branch = &nnode->parent->nbranch[nnode->iip]; in make_nnode_dirty()
961 branch = &pnode->parent->nbranch[pnode->iip]; in make_pnode_dirty()
1418 int iip, h, i, found; in next_nnode() local
1423 if (nnode->iip == UBIFS_LPT_FANOUT - 1) { in next_nnode()
1427 for (iip = nnode->iip + 1; iip < UBIFS_LPT_FANOUT; iip++) { in next_nnode()
1428 nnode = parent->nbranch[iip].nnode; in next_nnode()
1530 branch = &nnode->parent->nbranch[nnode->iip]; in dbg_is_nnode_dirty()
1566 branch = &pnode->parent->nbranch[pnode->iip]; in dbg_is_pnode_dirty()