bitmap_parse_user(9) suse man page | unix.com

Man Page: bitmap_parse_user

Operating Environment: suse

Section: 9

BITMAP_PARSE_USER(9)					  Basic Kernel Library Functions				      BITMAP_PARSE_USER(9)

NAME
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 . maskp pointer to bitmap array that will contain result. nmaskbits size of bitmap, in bits.
DESCRIPTION
Wrapper for __bitmap_parse, providing it with user buffer. We cannot have this as an inline function in bitmap.h because it needs linux/uaccess.h to get the access_ok declaration and this causes cyclic dependencies.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 BITMAP_PARSE_USER(9)
Related Man Pages
sasl_canon_user_t(3) - mojave
soqtcursor_customcursor(3) - debian
sasl_canon_user_t(3) - centos
bitmap_onto(9) - suse
bitmap_remap(9) - suse
Similar Topics in the Unix Linux Community
Change directory error
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
The Future of the PM (Private Message) System at UNIX.com
Shopt -s histappend