Function report |
Source Code:include\net\tcp.h |
Create Date:2022-07-28 06:43:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:@wake is one when sk_stream_write_space() calls us.* This sends EPOLLOUT only if notsent_bytes is half the limit.* This mimics the strategy used in sock_def_write_space().
Proto:static inline bool tcp_stream_memory_free(const struct sock *sk, int wake)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
const struct sock * | sk | |
int | wake |
1946 | notsent_bytes = READ_ONCE( Tail(+1) of data held in tcp send buffer ) - READ_ONCE( Next sequence we send ) |
1949 | Return notsent_bytes << wake < tcp_notsent_lowat(tp) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |