Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\skmsg.h Create Date:2022-07-28 13:16:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sk_msg_compute_data_pointers

Proto:static inline void sk_msg_compute_data_pointers(struct sk_msg *msg)

Type:void

Parameter:

TypeParameterName
struct sk_msg *msg
232  sge = sk_msg_elem(msg, start)
234  If Determine whether a bit is set(start, & copy) Then
235  data = NULL
236  data_end = NULL
237  Else
238  data = sg_virt - Return virtual address of an sg entry*@sg: SG entry* Description:* This calls page_address() on the page in this sg entry, and adds the* sg offset. The caller must know that the sg page has a valid virtual* mapping.
239  data_end = data + length