函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\checksum_32.h Create Date:2022-07-27 06:51:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:csum_and_copy_to_user

函数原型:static inline __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len, __wsum sum, int *err_ptr)

返回类型:__wsum

参数:

类型参数名称
const void *src
void __user *dst
intlen
__wsumsum
int *err_ptr
184  might_sleep()
185  如果access_ok(dst, len)则
186  stac()
187  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
189  clac()
190  返回:ret
193  如果lenerr_ptr等于负EFAULT
196  返回:__force减1
调用者
名称描述
csum_and_copy_to_iter