Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_msg_init

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

Type:void

Parameter:

TypeParameterName
struct sk_msg *msg
179  BUILD_BUG_ON - break compile if a condition is true(ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized( The extra two elements: * 1) used for chaining the front and sections when the list becomes * partitioned (e.g. end < start). The crypto APIs require the * chaining; * 2) to chain tailer SG entries after the message.) - 1 != NR_MSG_FRAG_IDS)
180  memset(msg, 0, size of msg )
181  sg_init_marker - Initialize markers in sg table*@sgl: The SG table*@nents: Number of entries in table