Home
last modified time | relevance | path

Searched refs:shft (Results 1 – 2 of 2) sorted by relevance

/fs/ubifs/
Dlpt.c561 int num, shft; in calc_nnode_num_from_parent() local
565 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() 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()
1467 shft -= UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup()
[all …]
Dlpt_commit.c632 int err, h, iip, shft; in pnode_lookup() local
642 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()