Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\iov_iter.c Create Date:2022-07-28 06:21:10
Last Modify:2022-05-21 11:43:54 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:memzero_page

Proto:static void memzero_page(struct page *page, size_t offset, size_t len)

Type:void

Parameter:

TypeParameterName
struct page *page
size_toffset
size_tlen
477  addr = kmap_atomic(page)
478  memset(addr + offset, 0, len)
479  Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(addr)
Caller
NameDescribe
pipe_zero
iov_iter_zero