1BITMAP_ALLOCATE_REGI(9) Basic Kernel Library Functions BITMAP_ALLOCATE_REGI(9)
2
3
4
6 bitmap_allocate_region - allocate bitmap region
7
9 int bitmap_allocate_region(unsigned long * bitmap, int pos, int order);
10
12 bitmap
13 array of unsigned longs corresponding to the bitmap
14
15 pos
16 beginning of bit region to allocate
17
18 order
19 region size (log base 2 of number of bits) to allocate
20
22 Allocate (set bits in) a specified region of a bitmap.
23
24 Return 0 on success, or -EBUSY if specified region wasn't free (not all
25 bits were zero).
26
28Kernel Hackers Manual 3.10 June 2019 BITMAP_ALLOCATE_REGI(9)