Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bitmap.c Create Date:2022-07-28 06:20:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:map_parse_user - convert an ASCII hex string in a user buffer into a bitmap*@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 \0.

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

Type:int

Parameter:

TypeParameterName
const char __user *ubuf
unsigned intulen
unsigned long *maskp
intnmaskbits
478  If Not access_ok - Checks if a user space pointer is valid*@addr: User space pointer to start of block to check*@size: Size of block to check* Context: User context only. This function may sleep if pagefaults are* enabled.(ubuf, ulen) Then Return -EFAULT
480  Return __bitmap_parse - convert an ASCII hex string into a bitmap