find_first_bit(9)

find_first_bit9

Find the first set bit in a memory region

Usage

unsigned find_first_bit(const unsigned long * addr, unsigned size);

Arguments

addr

The address to start the search at

size

The maximum size to search

Overview

Returns the bit-number of the first set bit, not the number of the byte containing a bit.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Also shipped by linux-manual-2.6.24. Parsed by carta from the page's man source.