Home
last modified time | relevance | path

Searched refs:thresh (Results 1 – 5 of 5) sorted by relevance

/mOS-networking-stack/core/src/include/
H A Dtimer.h64 CheckRtmTimeout(mtcp_manager_t mtcp, uint32_t cur_ts, int thresh);
67 CheckTimewaitExpire(mtcp_manager_t mtcp, uint32_t cur_ts, int thresh);
70 CheckConnectionTimeout(mtcp_manager_t mtcp, uint32_t cur_ts, int thresh);
H A Dtcp_out.h27 struct mtcp_sender *sender, uint32_t cur_ts, int thresh);
31 struct mtcp_sender *sender, uint32_t cur_ts, int thresh);
35 struct mtcp_sender *sender, uint32_t cur_ts, int thresh);
/mOS-networking-stack/core/src/
H A Dcore.c865 int thresh; in RunMainLoop() local
936 assert(thresh >= 0); in RunMainLoop()
937 if (thresh == 0) in RunMainLoop()
938 thresh = 1; in RunMainLoop()
939 if (recv_cnt > 0 && thresh > recv_cnt) in RunMainLoop()
940 thresh = recv_cnt; in RunMainLoop()
942 thresh = g_config.mos->max_concurrency; in RunMainLoop()
948 if (thresh == -1) in RunMainLoop()
949 thresh = g_config.mos->max_concurrency; in RunMainLoop()
951 CheckRtmTimeout(mtcp, ts, thresh); in RunMainLoop()
[all …]
H A Dtimer.c381 CheckRtmTimeout(mtcp_manager_t mtcp, uint32_t cur_ts, int thresh) in CheckRtmTimeout() argument
404 if (++cnt > thresh) { in CheckRtmTimeout()
425 if (cnt > thresh) { in CheckRtmTimeout()
441 CheckTimewaitExpire(mtcp_manager_t mtcp, uint32_t cur_ts, int thresh) in CheckTimewaitExpire() argument
452 if (++cnt > thresh) in CheckTimewaitExpire()
494 CheckConnectionTimeout(mtcp_manager_t mtcp, uint32_t cur_ts, int thresh) in CheckConnectionTimeout() argument
504 if (++cnt > thresh) in CheckConnectionTimeout()
H A Dtcp_out.c573 struct mtcp_sender *sender, uint32_t cur_ts, int thresh) in WriteTCPControlList() argument
580 thresh = MIN(thresh, sender->control_list_cnt); in WriteTCPControlList()
587 if (++cnt > thresh) in WriteTCPControlList()
623 struct mtcp_sender *sender, uint32_t cur_ts, int thresh) in WriteTCPDataList() argument
635 if (++cnt > thresh) in WriteTCPDataList()
713 struct mtcp_sender *sender, uint32_t cur_ts, int thresh) in WriteTCPACKList() argument
726 if (++cnt > thresh) in WriteTCPACKList()