Lines Matching refs:mask
110 xfs_rtword_t mask; /* mask of relevant bits for value */ in xfs_rtfind_back() local
146 mask = (((xfs_rtword_t)1 << (bit - firstbit + 1)) - 1) << in xfs_rtfind_back()
152 if ((wdiff = (*b ^ want) & mask)) { in xfs_rtfind_back()
241 mask = (((xfs_rtword_t)1 << (len - i)) - 1) << firstbit; in xfs_rtfind_back()
245 if ((wdiff = (*b ^ want) & mask)) { in xfs_rtfind_back()
285 xfs_rtword_t mask; /* mask of relevant bits for value */ in xfs_rtfind_forw() local
321 mask = (((xfs_rtword_t)1 << (lastbit - bit)) - 1) << bit; in xfs_rtfind_forw()
326 if ((wdiff = (*b ^ want) & mask)) { in xfs_rtfind_forw()
411 mask = ((xfs_rtword_t)1 << lastbit) - 1; in xfs_rtfind_forw()
415 if ((wdiff = (*b ^ want) & mask)) { in xfs_rtfind_forw()
548 xfs_rtword_t mask; /* mask o frelevant bits for value */ in xfs_rtmodify_range() local
582 mask = (((xfs_rtword_t)1 << (lastbit - bit)) - 1) << bit; in xfs_rtmodify_range()
587 *b |= mask; in xfs_rtmodify_range()
589 *b &= ~mask; in xfs_rtmodify_range()
664 mask = ((xfs_rtword_t)1 << lastbit) - 1; in xfs_rtmodify_range()
669 *b |= mask; in xfs_rtmodify_range()
671 *b &= ~mask; in xfs_rtmodify_range()
781 xfs_rtword_t mask; /* mask of relevant bits for value */ in xfs_rtcheck_range() local
819 mask = (((xfs_rtword_t)1 << (lastbit - bit)) - 1) << bit; in xfs_rtcheck_range()
823 if ((wdiff = (*b ^ val) & mask)) { in xfs_rtcheck_range()
910 mask = ((xfs_rtword_t)1 << lastbit) - 1; in xfs_rtcheck_range()
914 if ((wdiff = (*b ^ val) & mask)) { in xfs_rtcheck_range()