1BITMAP_FIND_NEXT_ZER(9) Basic Kernel Library Functions BITMAP_FIND_NEXT_ZER(9)
2
3
4

NAME

6       bitmap_find_next_zero_area_off - find a contiguous aligned zero area
7

SYNOPSIS

9       unsigned long bitmap_find_next_zero_area_off(unsigned long * map,
10                                                    unsigned long size,
11                                                    unsigned long start,
12                                                    unsigned int nr,
13                                                    unsigned long align_mask,
14                                                    unsigned long align_offset);
15

ARGUMENTS

17       map
18           The address to base the search on
19
20       size
21           The bitmap size in bits
22
23       start
24           The bitnumber to start searching at
25
26       nr
27           The number of zeroed bits we're looking for
28
29       align_mask
30           Alignment mask for zero area
31
32       align_offset
33           Alignment offset for zero area.
34

DESCRIPTION

36       The align_mask should be one less than a power of 2; the effect is that
37       the bit offset of all zero areas this function finds plus align_offset
38       is multiple of that power of 2.
39
41Kernel Hackers Manual 3.10         June 2019           BITMAP_FIND_NEXT_ZER(9)
Impressum