Lines Matching +full:implementation +full:- +full:defined
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* bit search implementation
9 * (Inspired by David Howell's find_next_bit implementation)
21 #if !defined(find_next_bit) || !defined(find_next_zero_bit) || \
22 !defined(find_next_bit_le) || !defined(find_next_zero_bit_le) || \
23 !defined(find_next_and_bit)
27 * - The "invert" argument, which is XORed with each fetched word before
29 * - The optional "addr2", which is anded with "addr1" if present.
93 #if !defined(find_next_and_bit)
144 unsigned long idx = (size-1) / BITS_PER_LONG; in find_last_bit()
152 } while (idx--); in find_last_bit()