Lines Matching refs:mask
36 int mask, retval; in ext2fs_set_bit() local
40 mask = 1 << (nr & 0x07); in ext2fs_set_bit()
41 retval = mask & *ADDR; in ext2fs_set_bit()
42 *ADDR |= mask; in ext2fs_set_bit()
48 int mask, retval; in ext2fs_clear_bit() local
52 mask = 1 << (nr & 0x07); in ext2fs_clear_bit()
53 retval = mask & *ADDR; in ext2fs_clear_bit()
54 *ADDR &= ~mask; in ext2fs_clear_bit()
60 int mask; in ext2fs_test_bit() local
64 mask = 1 << (nr & 0x07); in ext2fs_test_bit()
65 return (mask & *ADDR); in ext2fs_test_bit()
87 int mask, retval; in ext2fs_set_bit64() local
91 mask = 1 << (nr & 0x07); in ext2fs_set_bit64()
92 retval = mask & *ADDR; in ext2fs_set_bit64()
93 *ADDR |= mask; in ext2fs_set_bit64()
99 int mask, retval; in ext2fs_clear_bit64() local
103 mask = 1 << (nr & 0x07); in ext2fs_clear_bit64()
104 retval = mask & *ADDR; in ext2fs_clear_bit64()
105 *ADDR &= ~mask; in ext2fs_clear_bit64()
111 int mask; in ext2fs_test_bit64() local
115 mask = 1 << (nr & 0x07); in ext2fs_test_bit64()
116 return (mask & *ADDR); in ext2fs_test_bit64()