Lines Matching refs:UBIFS_LPT_FANOUT
59 max_pnode_cnt = DIV_ROUND_UP(n, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
62 n = UBIFS_LPT_FANOUT; in do_calc_lpt_geom()
68 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
70 n = DIV_ROUND_UP(c->pnode_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
73 n = DIV_ROUND_UP(n, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
82 n = DIV_ROUND_UP(c->max_leb_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
89 (c->space_bits * 2 + 1) * UBIFS_LPT_FANOUT; in do_calc_lpt_geom()
94 (c->lpt_lnum_bits + c->lpt_offs_bits) * UBIFS_LPT_FANOUT; in do_calc_lpt_geom()
355 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in ubifs_pack_pnode()
388 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in ubifs_pack_nnode()
533 bits = (col & (UBIFS_LPT_FANOUT - 1)); in calc_nnode_num()
562 num |= (UBIFS_LPT_FANOUT + iip) << shft; in calc_nnode_num_from_parent()
585 num |= pnum & (UBIFS_LPT_FANOUT - 1); in calc_pnode_num_from_parent()
667 for (i = 2; i < UBIFS_LPT_FANOUT; i++) in ubifs_create_dflt_lpt()
717 for (i = UBIFS_LPT_FANOUT; cnt > i; i <<= UBIFS_LPT_FANOUT_SHIFT) in ubifs_create_dflt_lpt()
722 cnt = DIV_ROUND_UP(cnt, UBIFS_LPT_FANOUT); in ubifs_create_dflt_lpt()
741 for (j = 0; j < UBIFS_LPT_FANOUT; j++) { in ubifs_create_dflt_lpt()
868 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in update_cats()
893 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in replace_cats()
970 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in unpack_pnode()
1007 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in ubifs_unpack_nnode()
1109 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in validate_nnode()
1146 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in validate_pnode()
1175 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in set_pnode_lnum()
1282 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in read_pnode()
1460 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1466 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1470 iip = (i & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1510 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in dirty_cow_nnode()
1596 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1605 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1612 iip = (i & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1887 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in scan_get_pnode()
1962 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
1970 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
1976 iip = (i & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
2051 if (iip + 1 < UBIFS_LPT_FANOUT) { in ubifs_lpt_scan_nolock()
2062 if (iip + 1 < UBIFS_LPT_FANOUT) in ubifs_lpt_scan_nolock()
2108 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in dbg_chk_pnode()
2251 while (iip < UBIFS_LPT_FANOUT) { in dbg_check_lpt_nodes()
2265 if (iip < UBIFS_LPT_FANOUT) in dbg_check_lpt_nodes()