Searched refs:shft (Results 1 – 2 of 2) sorted by relevance
561 int num, shft; in calc_nnode_num_from_parent() local565 shft = (c->lpt_hght - parent->level) * UBIFS_LPT_FANOUT_SHIFT; in calc_nnode_num_from_parent()566 num = parent->num ^ (1 << shft); in calc_nnode_num_from_parent()567 num |= (UBIFS_LPT_FANOUT + iip) << shft; in calc_nnode_num_from_parent()1447 int err, i, h, iip, shft; in ubifs_lpt_lookup() local1458 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()1467 shft -= UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup()[all …]
632 int err, h, iip, shft; in pnode_lookup() local642 shft = c->lpt_hght * UBIFS_LPT_FANOUT_SHIFT; in pnode_lookup()644 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()645 shft -= UBIFS_LPT_FANOUT_SHIFT; in pnode_lookup()650 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()