Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sk_msg_sg_copy

Proto:static inline void sk_msg_sg_copy(struct sk_msg *msg, u32 i, bool copy_state)

Type:void

Parameter:

TypeParameterName
struct sk_msg *msg
u32i
boolcopy_state
260  Do
261  If copy_state Then __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.
263  Else __clear_bit - Clears a bit in memory*@nr: the bit to clear*@addr: the address to start counting from* Unlike clear_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation
265  sk_msg_iter_var_next(i)
266  If i == end Then Break
268  When 1 cycle