__bitmap_parselist — convert list format ASCII string to bitmap
int __bitmap_parselist ( | const char * | buf, |
unsigned int | buflen, | |
int | is_user, | |
unsigned long * | maskp, | |
int | nmaskbits) ; |
buf
read nul-terminated user string from this buffer
buflen
buffer size in bytes. If string is smaller than this then it must be terminated with a \0.
is_user
location of buffer, 0 indicates kernel space
maskp
write resulting mask here
nmaskbits
number of bits in mask to be written