centos man page for bitmap_parse_user

Query: bitmap_parse_user

OS: centos

Section: 9

Links: centos man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 3.10 June 2014 BITMAP_PARSE_USER(9)
Related Man Pages
bitmap_remap(9) - centos
soqtcursor_customcursor(3) - debian
create_sub_bitmap(3alleg4) - debian
create_sub_bitmap(3alleg4) - php
create_sub_zbuffer(3alleg4) - opendarwin
Similar Topics in the Unix Linux Community
Tar Command
Shopt -s histappend
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!