Lines Matching refs:UBIFS_LPT_FANOUT

61 	max_pnode_cnt = DIV_ROUND_UP(n, UBIFS_LPT_FANOUT);  in do_calc_lpt_geom()
64 n = UBIFS_LPT_FANOUT; in do_calc_lpt_geom()
70 c->pnode_cnt = DIV_ROUND_UP(c->main_lebs, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
72 n = DIV_ROUND_UP(c->pnode_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
75 n = DIV_ROUND_UP(n, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
84 n = DIV_ROUND_UP(c->max_leb_cnt, UBIFS_LPT_FANOUT); in do_calc_lpt_geom()
91 (c->space_bits * 2 + 1) * UBIFS_LPT_FANOUT; in do_calc_lpt_geom()
96 (c->lpt_lnum_bits + c->lpt_offs_bits) * UBIFS_LPT_FANOUT; in do_calc_lpt_geom()
357 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in ubifs_pack_pnode()
390 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in ubifs_pack_nnode()
535 bits = (col & (UBIFS_LPT_FANOUT - 1)); in calc_nnode_num()
564 num |= (UBIFS_LPT_FANOUT + iip) << shft; in calc_nnode_num_from_parent()
587 num |= pnum & (UBIFS_LPT_FANOUT - 1); in calc_pnode_num_from_parent()
669 for (i = 2; i < UBIFS_LPT_FANOUT; i++) in ubifs_create_dflt_lpt()
719 for (i = UBIFS_LPT_FANOUT; cnt > i; i <<= UBIFS_LPT_FANOUT_SHIFT) in ubifs_create_dflt_lpt()
724 cnt = DIV_ROUND_UP(cnt, UBIFS_LPT_FANOUT); in ubifs_create_dflt_lpt()
743 for (j = 0; j < UBIFS_LPT_FANOUT; j++) { in ubifs_create_dflt_lpt()
870 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in update_cats()
895 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in replace_cats()
972 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in unpack_pnode()
1009 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in ubifs_unpack_nnode()
1111 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in validate_nnode()
1148 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in validate_pnode()
1177 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in set_pnode_lnum()
1284 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in read_pnode()
1462 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1468 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1472 iip = (i & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1512 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in dirty_cow_nnode()
1598 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1607 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1614 iip = (i & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1889 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in scan_get_pnode()
1964 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
1972 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
1978 iip = (i & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
2053 if (iip + 1 < UBIFS_LPT_FANOUT) { in ubifs_lpt_scan_nolock()
2064 if (iip + 1 < UBIFS_LPT_FANOUT) in ubifs_lpt_scan_nolock()
2110 for (i = 0; i < UBIFS_LPT_FANOUT; i++) { in dbg_chk_pnode()
2253 while (iip < UBIFS_LPT_FANOUT) { in dbg_check_lpt_nodes()
2267 if (iip < UBIFS_LPT_FANOUT) in dbg_check_lpt_nodes()