SysTutorials

Linux Manual Pages › Section 9

bitmap_parse_user(9)

bitmap_parse_user – convert an ASCII hex string in a user buffer into a bitmap

Synopsis

int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *maskp, int nmaskbits);

Arguments

ubuf

pointer to user buffer containing string.

ulen

buffer size in bytes. If string is smaller than this then it must be terminated with a