Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-28 07:15:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ib_is_buffer_cleared

Proto:static inline bool ib_is_buffer_cleared(const void __user *p, size_t len)

Type:bool

Parameter:

TypeParameterName
const void __user *p
size_tlen
2869  If len > USHRT_MAX Then Return 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  If IS_ERR(buf) Then Return false
2876  ret = Not 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  Return ret