1BITMAP_PRINT_TO_PAGE(9) Basic Kernel Library Functions BITMAP_PRINT_TO_PAGE(9)
2
3
4
6 bitmap_print_to_pagebuf - convert bitmap to list or hex format ASCII
7 string
8
10 int bitmap_print_to_pagebuf(bool list, char * buf,
11 const unsigned long * maskp,
12 int nmaskbits);
13
15 list
16 indicates whether the bitmap must be list
17
18 buf
19 page aligned buffer into which string is placed
20
21 maskp
22 pointer to bitmap to convert
23
24 nmaskbits
25 size of bitmap, in bits
26
28 Output format is a comma-separated list of decimal numbers and ranges
29 if list is specified or hex digits grouped into comma-separated sets of
30 8 digits/set. Returns the number of characters written to buf.
31
33Kernel Hackers Manual 3.10 June 2019 BITMAP_PRINT_TO_PAGE(9)