Lines Matching refs:mask
26 u32 mask, start, len, n; in hfsplus_block_allocate() local
55 mask = (1U << 31) >> i; in hfsplus_block_allocate()
56 for (; i < 32; mask >>= 1, i++) { in hfsplus_block_allocate()
57 if (!(n & mask)) in hfsplus_block_allocate()
69 mask = 1 << 31; in hfsplus_block_allocate()
70 for (i = 0; i < 32; mask >>= 1, i++) { in hfsplus_block_allocate()
71 if (!(n & mask)) in hfsplus_block_allocate()
106 n |= mask; in hfsplus_block_allocate()
109 mask >>= 1; in hfsplus_block_allocate()
110 if (!--len || n & mask) in hfsplus_block_allocate()
144 mask = 1U << 31; in hfsplus_block_allocate()
146 if (n & mask) in hfsplus_block_allocate()
148 n |= mask; in hfsplus_block_allocate()
149 mask >>= 1; in hfsplus_block_allocate()
170 u32 mask, len, pnr; in hfsplus_block_free() local
197 mask = 0xffffffffU << j; in hfsplus_block_free()
199 mask |= 0xffffffffU >> (i + count); in hfsplus_block_free()
200 *curr++ &= cpu_to_be32(mask); in hfsplus_block_free()
203 *curr++ &= cpu_to_be32(mask); in hfsplus_block_free()
229 mask = 0xffffffffU >> count; in hfsplus_block_free()
230 *curr &= cpu_to_be32(mask); in hfsplus_block_free()