Changeset 615 for GPL/branches/uniaud32-next/include/asm/bitops.h
- Timestamp:
- Jan 1, 2021, 5:31:48 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/asm/bitops.h
r442 r615 93 93 extern int __constant_test_bit(int nr, const volatile void * addr); 94 94 extern int __test_bit(int nr, volatile void * addr); 95 extern int find_first_zero_bit(void * addr, unsigned size); 96 extern int find_next_zero_bit (void * addr, int size, int offset); 95 /** 96 * find_first_zero_bit - find the first cleared bit in a memory region 97 * @addr: The address to start the search at 98 * @size: The maximum size to search 99 * 100 * Returns the bit number of the first cleared bit. 101 */ 102 extern unsigned long find_first_zero_bit(const unsigned long *addr, 103 unsigned long size); 104 105 /** 106 * find_next_zero_bit - find the next cleared bit in a memory region 107 * @addr: The address to base the search on 108 * @offset: The bitnumber to start searching at 109 * @size: The bitmap size in bits 110 */ 111 extern unsigned long find_next_zero_bit(const unsigned long *addr, unsigned 112 long size, unsigned long offset); 113 97 114 98 115 /* … … 101 118 #define test_bit(nr, addr) (((1UL << (nr & 31)) & (((const unsigned int *) addr)[nr >> 5])) != 0) 102 119 120 extern unsigned long find_next_bit(const unsigned long *addr, unsigned long 121 size, unsigned long offset); 122 103 123 #endif /* _ASM_BITOPS_H */
Note:
See TracChangeset
for help on using the changeset viewer.