Lines Matching refs:mask
25 u32 mask, start, len, n; in hfsplus_block_allocate() local
54 mask = (1U << 31) >> i; in hfsplus_block_allocate()
55 for (; i < 32; mask >>= 1, i++) { in hfsplus_block_allocate()
56 if (!(n & mask)) in hfsplus_block_allocate()
68 mask = 1 << 31; in hfsplus_block_allocate()
69 for (i = 0; i < 32; mask >>= 1, i++) { in hfsplus_block_allocate()
70 if (!(n & mask)) in hfsplus_block_allocate()
105 n |= mask; in hfsplus_block_allocate()
108 mask >>= 1; in hfsplus_block_allocate()
109 if (!--len || n & mask) in hfsplus_block_allocate()
143 mask = 1U << 31; in hfsplus_block_allocate()
145 if (n & mask) in hfsplus_block_allocate()
147 n |= mask; in hfsplus_block_allocate()
148 mask >>= 1; in hfsplus_block_allocate()
169 u32 mask, len, pnr; in hfsplus_block_free() local
194 mask = 0xffffffffU << j; in hfsplus_block_free()
196 mask |= 0xffffffffU >> (i + count); in hfsplus_block_free()
197 *curr++ &= cpu_to_be32(mask); in hfsplus_block_free()
200 *curr++ &= cpu_to_be32(mask); in hfsplus_block_free()
224 mask = 0xffffffffU >> count; in hfsplus_block_free()
225 *curr &= cpu_to_be32(mask); in hfsplus_block_free()