函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tcp_clear_xmit_timers

函数原型:static inline void tcp_clear_xmit_timers(struct sock *sk)

返回类型:void

参数:

类型参数名称
struct sock *sk
611  如果hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped恒等于1则Ungrab socket in the context, which assumes that socket refcntcannot hit zero, f.e. it is true in context of any socketcall.
614  如果hrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped恒等于1则Ungrab socket in the context, which assumes that socket refcntcannot hit zero, f.e. it is true in context of any socketcall.
617  inet_csk_clear_xmit_timers(sk)