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

NAME

6       bitmap_parselist_user -
7

SYNOPSIS

9       int bitmap_parselist_user(const char __user * ubuf, unsigned int ulen,
10                                 unsigned long * maskp, int nmaskbits);
11

ARGUMENTS

13       ubuf
14           pointer to user buffer containing string.
15
16       ulen
17           buffer size in bytes. If string is smaller than this then it must
18           be terminated with a \0.
19
20       maskp
21           pointer to bitmap array that will contain result.
22
23       nmaskbits
24           size of bitmap, in bits.
25

DESCRIPTION

27       Wrapper for bitmap_parselist, providing it with user buffer.
28
29       We cannot have this as an inline function in bitmap.h because it needs
30       linux/uaccess.h to get the access_ok declaration and this causes cyclic
31       dependencies.
32
34Kernel Hackers Manual 2.6.         June 2019           BITMAP_PARSELIST_USE(9)
Impressum