Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\checksum_32.h Create Date:2022-07-28 05:51:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:csum_partial_copy_from_user

Proto:static inline __wsum csum_partial_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err_ptr)

Type:__wsum

Parameter:

TypeParameterName
const void __user *src
void *dst
intlen
__wsumsum
int *err_ptr
54  might_sleep()
55  stac()
56  ret = he same as csum_partial, but copies from src while it* checksums, and handles user-space pointer exceptions correctly, when needed.* here even more important to align src and dst on a 32-bit (or even* better 64-bit) boundary
58  clac()
60  Return ret