Lines Matching refs:mask
201 int mask, retval; in __test_and_set_bit() local
205 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
206 retval = (mask & *a) != 0; in __test_and_set_bit()
207 *a |= mask; in __test_and_set_bit()
253 int mask, retval; in __test_and_clear_bit() local
257 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
258 retval = (mask & *a) != 0; in __test_and_clear_bit()
259 *a &= ~mask; in __test_and_clear_bit()
304 int mask, retval; in __test_and_change_bit() local
308 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
309 retval = (mask & *a) != 0; in __test_and_change_bit()
310 *a ^= mask; in __test_and_change_bit()
329 int mask; in set_bit() local
334 mask = 1 << (nr & 0x1f); in set_bit()
336 *a |= mask; in set_bit()
351 int mask; in __set_bit() local
355 mask = 1 << (nr & 0x1f); in __set_bit()
356 *a |= mask; in __set_bit()
371 int mask; in clear_bit() local
376 mask = 1 << (nr & 0x1f); in clear_bit()
378 *a &= ~mask; in clear_bit()
393 int mask; in change_bit() local
398 mask = 1 << (nr & 0x1f); in change_bit()
400 *a ^= mask; in change_bit()
430 int mask, retval; in test_and_set_bit() local
435 mask = 1 << (nr & 0x1f); in test_and_set_bit()
437 retval = (mask & *a) != 0; in test_and_set_bit()
438 *a |= mask; in test_and_set_bit()
455 int mask, retval; in __test_and_set_bit() local
459 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
460 retval = (mask & *a) != 0; in __test_and_set_bit()
461 *a |= mask; in __test_and_set_bit()
476 int mask, retval; in test_and_clear_bit() local
481 mask = 1 << (nr & 0x1f); in test_and_clear_bit()
483 retval = (mask & *a) != 0; in test_and_clear_bit()
484 *a &= ~mask; in test_and_clear_bit()
501 int mask, retval; in __test_and_clear_bit() local
505 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
506 retval = (mask & *a) != 0; in __test_and_clear_bit()
507 *a &= ~mask; in __test_and_clear_bit()
522 int mask, retval; in test_and_change_bit() local
527 mask = 1 << (nr & 0x1f); in test_and_change_bit()
529 retval = (mask & *a) != 0; in test_and_change_bit()
530 *a ^= mask; in test_and_change_bit()
547 int mask, retval; in __test_and_change_bit() local
551 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
552 retval = (mask & *a) != 0; in __test_and_change_bit()
553 *a ^= mask; in __test_and_change_bit()
687 unsigned int mask = 1; in ffz() local
701 : "=&r" (__res), "=r" (mask) in ffz()
702 : "r" (word), "1" (mask) in ffz()
792 int mask, retval, flags; in ext2_set_bit() local
796 mask = 1 << (nr & 0x07); in ext2_set_bit()
798 retval = (mask & *ADDR) != 0; in ext2_set_bit()
799 *ADDR |= mask; in ext2_set_bit()
806 int mask, retval, flags; in ext2_clear_bit() local
810 mask = 1 << (nr & 0x07); in ext2_clear_bit()
812 retval = (mask & *ADDR) != 0; in ext2_clear_bit()
813 *ADDR &= ~mask; in ext2_clear_bit()
820 int mask; in ext2_test_bit() local
824 mask = 1 << (nr & 0x07); in ext2_test_bit()
825 return ((mask & *ADDR) != 0); in ext2_test_bit()