函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Caller needs to wrap with rcu_read_(un)lock()

函数原型:static inline struct tcp_fastopen_context *tcp_fastopen_get_ctx(const struct sock *sk)

返回类型:struct tcp_fastopen_context

参数:

类型参数名称
const struct sock *sk
1679  ctx等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(cipher context for cookie )
1680  如果非ctxctx等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(tcp_fastopen_ctx)
1682  返回:ctx