函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dst_hold

函数原型:static inline void dst_hold(struct dst_entry *dst)

返回类型:void

参数:

类型参数名称
struct dst_entry *dst
227  BUILD_BUG_ON - break compile if a condition is true(offsetof(structdst_entry, __refcnt) & 63)
228  WARN_ON(atomic_inc_not_zero - increment unless the number is zero*@v: pointer of type atomic_t* Atomically increments @v by 1, if @v is non-zero.* Returns true if the increment was done. == 0)
调用者
名称描述
dst_hold_and_use
dst_clone