函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\bitmap.c Create Date:2022-07-27 07:17:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:int bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *maskp, int nmaskbits)

返回类型:int

参数:

类型参数名称
const char __user *ubuf
unsigned intulen
unsigned long *maskp
intnmaskbits
478  如果非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)则返回:负EFAULT
480  返回:__bitmap_parse - convert an ASCII hex string into a bitmap