Lines Matching refs:mask
32 u32 mask, start, len, n; in hfs_find_set_zero_bits() local
48 mask = (1U << 31) >> i; in hfs_find_set_zero_bits()
49 for (; i < 32; mask >>= 1, i++) { in hfs_find_set_zero_bits()
50 if (!(n & mask)) in hfs_find_set_zero_bits()
60 mask = 1 << 31; in hfs_find_set_zero_bits()
61 for (i = 0; i < 32; mask >>= 1, i++) { in hfs_find_set_zero_bits()
62 if (!(n & mask)) in hfs_find_set_zero_bits()
76 n |= mask; in hfs_find_set_zero_bits()
79 mask >>= 1; in hfs_find_set_zero_bits()
80 if (!--len || n & mask) in hfs_find_set_zero_bits()
99 mask = 1U << 31; in hfs_find_set_zero_bits()
101 if (n & mask) in hfs_find_set_zero_bits()
103 n |= mask; in hfs_find_set_zero_bits()
104 mask >>= 1; in hfs_find_set_zero_bits()
196 u32 mask; in hfs_clear_vbm_bits() local
217 mask = 0xffffffffU << j; in hfs_clear_vbm_bits()
219 mask |= 0xffffffffU >> (i + count); in hfs_clear_vbm_bits()
220 *curr &= cpu_to_be32(mask); in hfs_clear_vbm_bits()
223 *curr++ &= cpu_to_be32(mask); in hfs_clear_vbm_bits()
234 mask = 0xffffffffU >> count; in hfs_clear_vbm_bits()
235 *curr &= cpu_to_be32(mask); in hfs_clear_vbm_bits()