• Home
  • Raw
  • Download

Lines Matching refs:nr

28 extern void set_bit(int nr, volatile void * addr);
30 extern void clear_bit(int nr, volatile void * addr);
32 extern void change_bit(int nr, volatile void * addr);
34 static inline void __change_bit(int nr, volatile void *addr) in __change_bit() argument
36 unsigned long mask = BIT_MASK(nr); in __change_bit()
37 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __change_bit()
42 static inline int __test_and_set_bit(int nr, volatile void *addr) in __test_and_set_bit() argument
44 unsigned long mask = BIT_MASK(nr); in __test_and_set_bit()
45 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_set_bit()
52 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() argument
58 out = __test_and_set_bit(nr, addr); in test_and_set_bit()
64 static inline int __test_and_clear_bit(int nr, volatile void *addr) in __test_and_clear_bit() argument
66 unsigned long mask = BIT_MASK(nr); in __test_and_clear_bit()
67 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_clear_bit()
74 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() argument
80 out = __test_and_clear_bit(nr, addr); in test_and_clear_bit()
86 extern int test_and_change_bit(int nr, volatile void * addr);
88 static inline int __test_and_change_bit(int nr, volatile void *addr) in __test_and_change_bit() argument
90 unsigned long mask = BIT_MASK(nr); in __test_and_change_bit()
91 unsigned long *p = ((unsigned long *)addr) + BIT_WORD(nr); in __test_and_change_bit()
101 static inline int test_bit(int nr, const void * addr) in test_bit() argument
103 return ((unsigned char *) addr)[nr >> 3] & (1U << (nr & 7)); in test_bit()
185 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr) argument
186 #define minix_set_bit(nr,addr) set_bit(nr,addr) argument
187 #define minix_test_and_clear_bit(nr,addr) test_and_clear_bit(nr,addr) argument
188 #define minix_test_bit(nr,addr) test_bit(nr,addr) argument