• Home
  • Raw
  • Download

Lines Matching refs:nr

35 extern void set_bit(int nr, void *addr);
37 static inline void __set_bit(int nr, void *addr) in __set_bit() argument
42 a += nr >> 5; in __set_bit()
43 mask = 1 << (nr & 0x1f); in __set_bit()
49 extern void clear_bit(int nr, void *addr);
51 static inline void __clear_bit(int nr, void *addr) in __clear_bit() argument
57 a += nr >> 5; in __clear_bit()
58 mask = 1 << (nr & 0x1f); in __clear_bit()
66 extern void change_bit(int nr, void *addr);
68 static inline void __change_bit(int nr, void *addr) in __change_bit() argument
73 ADDR += nr >> 5; in __change_bit()
74 mask = 1 << (nr & 31); in __change_bit()
78 extern int test_and_set_bit(int nr, void *addr);
80 static inline int __test_and_set_bit(int nr, void *addr) in __test_and_set_bit() argument
85 a += nr >> 5; in __test_and_set_bit()
86 mask = 1 << (nr & 0x1f); in __test_and_set_bit()
92 extern int test_and_clear_bit(int nr, void *addr);
94 static inline int __test_and_clear_bit(int nr, void *addr) in __test_and_clear_bit() argument
99 a += nr >> 5; in __test_and_clear_bit()
100 mask = 1 << (nr & 0x1f); in __test_and_clear_bit()
106 extern int test_and_change_bit(int nr, void *addr);
108 static inline int __test_and_change_bit(int nr, void *addr) in __test_and_change_bit() argument
113 a += nr >> 5; in __test_and_change_bit()
114 mask = 1 << (nr & 0x1f); in __test_and_change_bit()
126 static inline int test_bit(int nr, const void *addr) in test_bit() argument
128 return ((unsigned char *) addr)[nr >> 3] & (1U << (nr & 7)); in test_bit()
186 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr) argument
187 #define minix_set_bit(nr, addr) set_bit(nr, addr) argument
188 #define minix_test_and_clear_bit(nr, addr) test_and_clear_bit(nr, addr) argument
189 #define minix_test_bit(nr, addr) test_bit(nr, addr) argument