Lines Matching refs:mask
45 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in set_bit() local
53 : "m"(*p), "r"(mask) in set_bit()
84 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in clear_bit() local
92 : "m"(*p), "r"(mask) in clear_bit()
109 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in change_bit() local
119 : "m"(*p), "r"(mask) in change_bit()
134 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_set_bit() local
156 : "m"(*p), "r"(mask) in test_and_set_bit()
160 return (old & mask) != 0; in test_and_set_bit()
174 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_clear_bit() local
197 : "m"(*p), "r"(mask) in test_and_clear_bit()
201 return (old & mask) != 0; in test_and_clear_bit()
215 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_change_bit() local
225 : "m"(*p), "r"(mask) in test_and_change_bit()
228 return (old & mask) != 0; in test_and_change_bit()