函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-27 08:13:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ib_is_buffer_cleared

函数原型:static inline bool ib_is_buffer_cleared(const void __user *p, size_t len)

返回类型:bool

参数:

类型参数名称
const void __user *p
size_tlen
2869  如果len大于USHRT_MAX则返回:false
2872  buf等于memdup_user - duplicate memory region from user space*@src: source address in user space*@len: number of bytes to copy* Return: an ERR_PTR() on failure. Result is physically* contiguous, to be freed by kfree().
2873  如果是错误则返回:false
2876  ret等于非memchr_inv - Find an unmatching character in an area of memory.*@start: The memory area*@c: Find a character other than c*@bytes: The size of the area.* returns the address of the first character other than @c, or %NULL
2877  kfree(buf)
2878  返回:ret
调用者
名称描述
ib_is_udata_cleared