函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:skb_copy_to_page_nocache

函数原型:static inline int skb_copy_to_page_nocache(struct sock *sk, struct iov_iter *from, struct sk_buff *skb, struct page *page, int off, int copy)

返回类型:int

参数:

类型参数名称
struct sock *sk
struct iov_iter *from
struct sk_buff *skb
struct page *page
intoff
intcopy
2018  err等于skb_do_copy_data_nocache(sk, skb, from, page_address(page) + off, copy, len)
2020  如果err则返回:err
2023  len加等于copy
2024  data_len加等于copy
2025  truesize加等于copy
2026  sk_wmem_queued_add(sk, copy)
2027  sk_mem_charge(sk, copy)
2028  返回:0