函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sk_msg_sg_copy

函数原型:static inline void sk_msg_sg_copy(struct sk_msg *msg, u32 i, bool copy_state)

返回类型:void

参数:

类型参数名称
struct sk_msg *msg
u32i
boolcopy_state
260  循环
261  如果copy_state__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  否则__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  如果i恒等于end退出
268  当1循环
调用者
名称描述
sk_msg_sg_copy_set
sk_msg_sg_copy_clear