Lines Matching defs:mask
53 unsigned long mask = 1UL << (nr & 0x3f);
62 : "r" (mask), "r" (p), "m" (*p)
69 unsigned long mask = 1UL << (nr & 0x3f);
78 : "r" (mask), "r" (p), "m" (*p)
85 unsigned long mask = 1UL << (nr & 0x3f);
94 : "r" (mask), "r" (p), "m" (*p)
101 unsigned long mask = 1UL << (nr & 0x3f);
112 : "r" (mask), "r" (p)
115 return (old & mask) != 0;
121 unsigned long mask = 1UL << (nr & 0x3f);
132 : "r" (mask), "r" (p)
135 return (old & mask) != 0;
141 unsigned long mask = 1UL << (nr & 0x3f);
152 : "r" (mask), "r" (p)
155 return (old & mask) != 0;
163 unsigned long mask = 1UL << (nr & 0x3f);
166 *p |= mask;
171 unsigned long mask = 1UL << (nr & 0x3f);
174 *p &= ~mask;
179 unsigned long mask = 1UL << (nr & 0x3f);
182 *p ^= mask;
187 unsigned long mask = 1UL << (nr & 0x3f);
191 *p = old | mask;
192 return (old & mask) != 0;
197 unsigned long mask = 1UL << (nr & 0x3f);
201 *p = old & ~mask;
202 return (old & mask) != 0;
207 unsigned long mask = 1UL << (nr & 0x3f);
211 *p = old ^ mask;
212 return (old & mask) != 0;
231 static __inline__ long cnt_trailing_zeros(unsigned long mask)
241 : "r" (mask));
269 * Note: (x & -x) gives us a mask that is the LEAST significant
312 int mask;
321 mask = 1 << (nr & 0x07); /* Create a mask to the bit within this byte. */
322 oldbit = *ADDR & mask; /* Save the bit's previous value. */
323 *ADDR |= mask; /* Turn the bit on. */
333 int mask;
341 mask = 1 << (nr & 0x07); /* Create a mask to the bit within this byte. */
342 oldbit = *ADDR & mask; /* Save the bit's previous value. */
343 *ADDR = *ADDR & ~mask; /* Turn the bit off. */
381 * Note: (x & -x) gives us a mask that is the LEAST significant