Lines Matching refs:mask
35 int mask, retval; in ext2fs_set_bit() local
39 mask = 1 << (nr & 0x07); in ext2fs_set_bit()
40 retval = mask & *ADDR; in ext2fs_set_bit()
41 *ADDR |= mask; in ext2fs_set_bit()
47 int mask, retval; in ext2fs_clear_bit() local
51 mask = 1 << (nr & 0x07); in ext2fs_clear_bit()
52 retval = mask & *ADDR; in ext2fs_clear_bit()
53 *ADDR &= ~mask; in ext2fs_clear_bit()
59 int mask; in ext2fs_test_bit() local
63 mask = 1 << (nr & 0x07); in ext2fs_test_bit()
64 return (mask & *ADDR); in ext2fs_test_bit()
86 int mask, retval; in ext2fs_set_bit64() local
90 mask = 1 << (nr & 0x07); in ext2fs_set_bit64()
91 retval = mask & *ADDR; in ext2fs_set_bit64()
92 *ADDR |= mask; in ext2fs_set_bit64()
98 int mask, retval; in ext2fs_clear_bit64() local
102 mask = 1 << (nr & 0x07); in ext2fs_clear_bit64()
103 retval = mask & *ADDR; in ext2fs_clear_bit64()
104 *ADDR &= ~mask; in ext2fs_clear_bit64()
110 int mask; in ext2fs_test_bit64() local
114 mask = 1 << (nr & 0x07); in ext2fs_test_bit64()
115 return (mask & *ADDR); in ext2fs_test_bit64()