Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sock.h Create Date:2022-07-28 06:09:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:skb_copy_to_page_nocache

Proto: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)

Type:int

Parameter:

TypeParameterName
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  If err Then Return 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  Return 0