Lines Matching refs:shft
556 int num, shft; in calc_nnode_num_from_parent() local
560 shft = (c->lpt_hght - parent->level) * UBIFS_LPT_FANOUT_SHIFT; in calc_nnode_num_from_parent()
561 num = parent->num ^ (1 << shft); in calc_nnode_num_from_parent()
562 num |= (UBIFS_LPT_FANOUT + iip) << shft; in calc_nnode_num_from_parent()
1447 int err, i, h, iip, shft; in ubifs_lpt_lookup() local
1458 shft = c->lpt_hght * UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup()
1460 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1461 shft -= UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup()
1466 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1580 int err, i, h, iip, shft; in ubifs_lpt_lookup_dirty() local
1594 shft = c->lpt_hght * UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup_dirty()
1596 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1597 shft -= UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup_dirty()
1605 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup_dirty()
1929 int err = 0, i, h, iip, shft; in ubifs_lpt_scan_nolock() local
1960 shft = c->lpt_hght * UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_scan_nolock()
1962 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()
1963 shft -= UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_scan_nolock()
1970 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_scan_nolock()