Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ubifs/
Dlpt.c563 int num, shft; in calc_nnode_num_from_parent() local
567 shft = (c->lpt_hght - parent->level) * UBIFS_LPT_FANOUT_SHIFT; in calc_nnode_num_from_parent()
568 num = parent->num ^ (1 << shft); in calc_nnode_num_from_parent()
569 num |= (UBIFS_LPT_FANOUT + iip) << shft; in calc_nnode_num_from_parent()
1451 int err, i, h, iip, shft; in ubifs_lpt_lookup() local
1462 shft = c->lpt_hght * UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup()
1464 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1465 shft -= UBIFS_LPT_FANOUT_SHIFT; in ubifs_lpt_lookup()
1470 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in ubifs_lpt_lookup()
1582 int err, i, h, iip, shft; in ubifs_lpt_lookup_dirty() local
[all …]
Dlpt_commit.c631 int err, h, iip, shft; in pnode_lookup() local
641 shft = c->lpt_hght * UBIFS_LPT_FANOUT_SHIFT; in pnode_lookup()
643 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()
644 shft -= UBIFS_LPT_FANOUT_SHIFT; in pnode_lookup()
649 iip = ((i >> shft) & (UBIFS_LPT_FANOUT - 1)); in pnode_lookup()
/linux-4.19.296/drivers/edac/
Dpnd2_edac.c908 static int bank_hash(u64 pmiaddr, int idx, int shft) in bank_hash() argument
914 bhash ^= ((pmiaddr >> (12 + shft)) ^ (pmiaddr >> (9 + shft))) & 1; in bank_hash()
917 bhash ^= (((pmiaddr >> (10 + shft)) ^ (pmiaddr >> (8 + shft))) & 1) << 1; in bank_hash()
921 bhash ^= (((pmiaddr >> (13 + shft)) ^ (pmiaddr >> (11 + shft))) & 1) << 2; in bank_hash()