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

NAME

6       bitmap_allocate_region - allocate bitmap region
7

SYNOPSIS

9       int bitmap_allocate_region(unsigned long * bitmap, int pos, int order);
10

ARGUMENTS

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

DESCRIPTION

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)
Impressum