Home
last modified time | relevance | path

Searched refs:tcb (Results 1 – 25 of 1764) sorted by relevance

12345678910>>...71

/dports/security/masscan/masscan-1.3.2/src/
H A Dproto-tcp.c631 if (tcb->is_payload_dynamic && tcb->payload_length && tcb->payload) in tcpcon_destroy_tcb()
731 while (tcb && !EQUALS(tcb, &tmp)) { in tcpcon_create_tcb()
732 tcb = tcb->next; in tcpcon_create_tcb()
739 tcb = MALLOC(sizeof(*tcb)); in tcpcon_create_tcb()
741 memset(tcb, 0, sizeof(*tcb)); in tcpcon_create_tcb()
808 while (tcb && !EQUALS(tcb, &tmp)) { in tcb_lookup()
809 tcb = tcb->next; in tcb_lookup()
861 tcb->ip_them, tcb->port_them, in tcpcon_send_packet()
862 tcb->ip_me, tcb->port_me, in tcpcon_send_packet()
1014 memset(&tcb, 0, sizeof(tcb)); in tcpcon_send_FIN()
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/osf-share/
H A Dcma_sched.h96 ((tcb)->sched.class == cma__c_class_fore ? cma__sched_prio_fore (tcb) \
97 :((tcb)->sched.class == cma__c_class_back ? cma__sched_prio_back (tcb) \
98 :((tcb)->sched.class == cma__c_class_rt ? cma__sched_prio_rt (tcb) \
99 :((tcb)->sched.class == cma__c_class_idle ? cma__sched_prio_idle (tcb) \
102 #define cma__sched_prio_fore(tcb) cma__sched_prio_fore_var (tcb)
103 #define cma__sched_prio_back(tcb) ((tcb)->sched.fixed_prio \
104 ? cma__sched_prio_back_fix (tcb) : cma__sched_prio_back_var (tcb) )
105 #define cma__sched_prio_rt(tcb) ((tcb)->sched.priority)
106 #define cma__sched_prio_idle(tcb) ((tcb)->sched.priority)
122 # define cma__sched_prio_back_var(tcb) cma__sched_prio_fore_var (tcb)
[all …]
/dports/devel/avr-gdb/gdb-7.3.1/gdb/osf-share/
H A Dcma_sched.h96 ((tcb)->sched.class == cma__c_class_fore ? cma__sched_prio_fore (tcb) \
97 :((tcb)->sched.class == cma__c_class_back ? cma__sched_prio_back (tcb) \
98 :((tcb)->sched.class == cma__c_class_rt ? cma__sched_prio_rt (tcb) \
99 :((tcb)->sched.class == cma__c_class_idle ? cma__sched_prio_idle (tcb) \
102 #define cma__sched_prio_fore(tcb) cma__sched_prio_fore_var (tcb) argument
103 #define cma__sched_prio_back(tcb) ((tcb)->sched.fixed_prio \ argument
104 ? cma__sched_prio_back_fix (tcb) : cma__sched_prio_back_var (tcb) )
105 #define cma__sched_prio_rt(tcb) ((tcb)->sched.priority) argument
106 #define cma__sched_prio_idle(tcb) ((tcb)->sched.priority) argument
122 # define cma__sched_prio_back_var(tcb) cma__sched_prio_fore_var (tcb) argument
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/osf-share/
H A Dcma_sched.h96 ((tcb)->sched.class == cma__c_class_fore ? cma__sched_prio_fore (tcb) \
97 :((tcb)->sched.class == cma__c_class_back ? cma__sched_prio_back (tcb) \
98 :((tcb)->sched.class == cma__c_class_rt ? cma__sched_prio_rt (tcb) \
99 :((tcb)->sched.class == cma__c_class_idle ? cma__sched_prio_idle (tcb) \
102 #define cma__sched_prio_fore(tcb) cma__sched_prio_fore_var (tcb) argument
103 #define cma__sched_prio_back(tcb) ((tcb)->sched.fixed_prio \ argument
104 ? cma__sched_prio_back_fix (tcb) : cma__sched_prio_back_var (tcb) )
105 #define cma__sched_prio_rt(tcb) ((tcb)->sched.priority) argument
106 #define cma__sched_prio_idle(tcb) ((tcb)->sched.priority) argument
122 # define cma__sched_prio_back_var(tcb) cma__sched_prio_fore_var (tcb) argument
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/internet/model/
H A Dtcp-bbr.cc240 return tcb->m_initialCWnd * tcb->m_segmentSize; in InFlight()
342 tcb->m_ssThresh = InFlight (tcb, 1); in CheckDrain()
390 tcb->m_cWnd = std::max (m_priorCwnd, tcb->m_cWnd.Get ()); in RestoreCwnd()
534tcb->m_cWnd = std::max ((int) tcb->m_cWnd.Get () - (int) rs.m_bytesLoss, (int) tcb->m_segmentSize); in ModulateCwndForRecovery()
539 tcb->m_cWnd = std::max (tcb->m_cWnd.Get (), tcb->m_bytesInFlight.Get () + rs.m_ackedSacked); in ModulateCwndForRecovery()
579 else if (tcb->m_cWnd < m_targetCWnd || m_delivered < tcb->m_initialCWnd * tcb->m_segmentSize) in SetCwnd()
581 tcb->m_cWnd = tcb->m_cWnd.Get () + rs.m_ackedSacked; in SetCwnd()
583 tcb->m_cWnd = std::max (tcb->m_cWnd.Get (), m_minPipeCwnd); in SetCwnd()
711 tcb->m_ssThresh = tcb->m_initialSsThresh; in CongestionStateSet()
738tcb->m_cWnd = tcb->m_bytesInFlight.Get () + std::max (tcb->m_lastAckedSackedBytes, tcb->m_segmentS… in CongestionStateSet()
[all …]
H A Dtcp-vegas.cc147 EnableVegas (tcb); in CongestionStateSet()
218 if (diff > m_gamma && (tcb->m_cWnd < tcb->m_ssThresh)) in IncreaseWindow()
228 tcb->m_cWnd = segCwnd * tcb->m_segmentSize; in IncreaseWindow()
229 tcb->m_ssThresh = GetSsThresh (tcb, 0); in IncreaseWindow()
233 else if (tcb->m_cWnd < tcb->m_ssThresh) in IncreaseWindow()
247 tcb->m_cWnd = segCwnd * tcb->m_segmentSize; in IncreaseWindow()
248 tcb->m_ssThresh = GetSsThresh (tcb, 0); in IncreaseWindow()
258 tcb->m_cWnd = segCwnd * tcb->m_segmentSize; in IncreaseWindow()
268 tcb->m_ssThresh = std::max (tcb->m_ssThresh, 3 * tcb->m_cWnd / 4); in IncreaseWindow()
276 else if (tcb->m_cWnd < tcb->m_ssThresh) in IncreaseWindow()
[all …]
H A Dtcp-dctcp.cc114 NS_LOG_FUNCTION (this << tcb); in Init()
116 tcb->m_useEcn = TcpSocketState::On; in Init()
146 if (tcb->m_lastAckedSeq >= m_nextSeq) in PktsAcked()
156 Reset (tcb); in PktsAcked()
171 NS_LOG_FUNCTION (this << tcb); in Reset()
172 m_nextSeq = tcb->m_nextTxSequence; in Reset()
180 NS_LOG_FUNCTION (this << tcb); in CeState0to1()
207 NS_LOG_FUNCTION (this << tcb); in CeState1to0()
268 CeState0to1 (tcb); in CwndEvent()
271 CeState1to0 (tcb); in CwndEvent()
[all …]
H A Dtcp-linux-reno.cc65 uint32_t sndCwnd = tcb->m_cWnd; in SlowStart()
66tcb->m_cWnd = std::min ((sndCwnd + (segmentsAcked * tcb->m_segmentSize)), (uint32_t)tcb->m_ssThres… in SlowStart()
67 … NS_LOG_INFO ("In SlowStart, updated to cwnd " << tcb->m_cWnd << " ssthresh " << tcb->m_ssThresh); in SlowStart()
68 return segmentsAcked - ((tcb->m_cWnd - sndCwnd) / tcb->m_segmentSize); in SlowStart()
79 uint32_t w = tcb->m_cWnd / tcb->m_segmentSize; in CongestionAvoidance()
91 tcb->m_cWnd += tcb->m_segmentSize; in CongestionAvoidance()
102 tcb->m_cWnd += delta * tcb->m_segmentSize; in CongestionAvoidance()
114 if (tcb->m_cWnd < tcb->m_ssThresh) in IncreaseWindow()
116 NS_LOG_DEBUG ("In slow start, m_cWnd " << tcb->m_cWnd << " m_ssThresh " << tcb->m_ssThresh); in IncreaseWindow()
121 … NS_LOG_DEBUG ("In cong. avoidance, m_cWnd " << tcb->m_cWnd << " m_ssThresh " << tcb->m_ssThresh); in IncreaseWindow()
[all …]
H A Dtcp-congestion-ops.cc53 NS_LOG_FUNCTION (this << tcb << segmentsAcked); in IncreaseWindow()
67 NS_LOG_FUNCTION (this << tcb << newState); in CongestionStateSet()
74 NS_LOG_FUNCTION (this << tcb << event); in CwndEvent()
88 NS_LOG_FUNCTION (this << tcb); in CongControl()
168 NS_LOG_FUNCTION (this << tcb << segmentsAcked); in SlowStart()
172 tcb->m_cWnd += tcb->m_segmentSize; in SlowStart()
173 … NS_LOG_INFO ("In SlowStart, updated to cwnd " << tcb->m_cWnd << " ssthresh " << tcb->m_ssThresh); in SlowStart()
196 … double adder = static_cast<double> (tcb->m_segmentSize * tcb->m_segmentSize) / tcb->m_cWnd.Get (); in CongestionAvoidance()
218 if (tcb->m_cWnd < tcb->m_ssThresh) in IncreaseWindow()
223 if (tcb->m_cWnd >= tcb->m_ssThresh) in IncreaseWindow()
[all …]
H A Dtcp-hybla.cc71 TcpHybla::RecalcParam (const Ptr<TcpSocketState> &tcb) in RecalcParam() argument
87 if (rtt == tcb->m_minRtt) in PktsAcked()
89 RecalcParam (tcb); in PktsAcked()
97 NS_LOG_FUNCTION (this << tcb << segmentsAcked); in SlowStart()
99 NS_ASSERT (tcb->m_cWnd <= tcb->m_ssThresh); in SlowStart()
112 tcb->m_cWnd = std::min (tcb->m_cWnd + incr, tcb->m_ssThresh); in SlowStart()
115 " ssthresh " << tcb->m_ssThresh << in SlowStart()
127 NS_LOG_FUNCTION (this << tcb << segmentsAcked); in CongestionAvoidance()
138 segCwnd = tcb->GetCwndInSegments (); in CongestionAvoidance()
157 tcb->m_cWnd += inc * tcb->m_segmentSize; in CongestionAvoidance()
[all …]
H A Dtcp-prr-recovery.cc82 DoRecovery (tcb, deliveredBytes); in EnterRecovery()
88 NS_LOG_FUNCTION (this << tcb << deliveredBytes); in DoRecovery()
92 if (tcb->m_bytesInFlight > tcb->m_ssThresh) in DoRecovery()
98 int limit = static_cast<int> (tcb->m_ssThresh - tcb->m_bytesInFlight); in DoRecovery()
105 if (tcb->m_isRetransDataAcked) in DoRecovery()
114 sendCount = std::min (limit, static_cast<int> (tcb->m_ssThresh - tcb->m_bytesInFlight)); in DoRecovery()
119 tcb->m_cWnd = tcb->m_bytesInFlight + sendCount; in DoRecovery()
120 tcb->m_cWndInfl = tcb->m_cWnd; in DoRecovery()
124 TcpPrrRecovery::ExitRecovery (Ptr<TcpSocketState> tcb) in ExitRecovery() argument
126 NS_LOG_FUNCTION (this << tcb); in ExitRecovery()
[all …]
H A Dtcp-cubic.cc157 m_endSeq = tcb->m_highTxMark; in HystartReset()
167 if (tcb->m_cWnd < tcb->m_ssThresh) in IncreaseWindow()
172 HystartReset (tcb); in IncreaseWindow()
183 tcb->m_cWnd += segmentsAcked * tcb->m_segmentSize; in IncreaseWindow()
190 if (tcb->m_cWnd >= tcb->m_ssThresh && segmentsAcked > 0) in IncreaseWindow()
202 tcb->m_cWnd += tcb->m_segmentSize; in IncreaseWindow()
320 && tcb->m_cWnd <= tcb->m_ssThresh in PktsAcked()
321 && tcb->m_cWnd >= m_hystartLowWindow * tcb->m_segmentSize) in PktsAcked()
372 tcb->m_ssThresh = tcb->m_cWnd; in HystartUpdate()
430 CubicReset (tcb); in CongestionStateSet()
[all …]
/dports/emulators/dynamips-community/dynamips-0.2.17/unstable/
H A Dppc32_jit.c441 ia = tcb->start_ia + ((tcb->ppc_trans_pos-1)<<2); in insn_emit_breakpoint()
469 ppc32_set_ia(&tcb->jit_ptr,tcb->start_ia+(tcb->ppc_trans_pos<<2)); in ppc32_jit_tcb_add_end()
582 tcb->jit_chunks[tcb->jit_chunk_pos++] = tcb->jit_buffer; in ppc32_jit_tcb_adjust_buffer()
600 if (!(tcb = malloc(sizeof(*tcb)))) in ppc32_jit_tcb_alloc()
604 memset(tcb,0,sizeof(*tcb)); in ppc32_jit_tcb_alloc()
655 tcb->next->prev = tcb->prev; in ppc32_jit_tcb_free()
660 tcb->prev->next = tcb->next; in ppc32_jit_tcb_free()
669 *(tcb->phys_pprev) = tcb->phys_next; in ppc32_jit_tcb_free()
713 tcb->jit_ptr = tcb->jit_buffer->ptr; in ppc32_jit_tcb_create()
1191 cpu->tcb_phys_hash[tcb->phys_hash] = tcb; in ppc32_jit_tcb_compile()
[all …]
/dports/lang/fpc/fpc-3.2.2/compiler/
H A Dncgrtti.pas265 tcb.end_anonymous_record;
278 tcb.begin_anonymous_record(
286 tcb.end_anonymous_record;
883 tcb.end_anonymous_record;
892 write_rtti_name(tcb,def);
993 tcb.end_anonymous_record;
1293 tcb.free;
1497 tcb.emit_tai(
1819 tcb.free;
1866 tcb.free;
[all …]
H A Dobjcgutl.pas374 tcb.free;
502 tcb.free;
552 tcb.free;
780 tcb.free;
852 tcb.free;
990 tcb.free;
1046 tcb.free;
1217 tcb:=nil;
1302 tcb.free;
1382 tcb.free;
[all …]
/dports/lang/fpc-source/fpc-3.2.2/compiler/
H A Dncgrtti.pas265 tcb.end_anonymous_record;
278 tcb.begin_anonymous_record(
286 tcb.end_anonymous_record;
883 tcb.end_anonymous_record;
892 write_rtti_name(tcb,def);
993 tcb.end_anonymous_record;
1293 tcb.free;
1497 tcb.emit_tai(
1819 tcb.free;
1866 tcb.free;
[all …]
H A Dobjcgutl.pas374 tcb.free;
502 tcb.free;
552 tcb.free;
780 tcb.free;
852 tcb.free;
990 tcb.free;
1046 tcb.free;
1217 tcb:=nil;
1302 tcb.free;
1382 tcb.free;
[all …]
/dports/editors/fpc-ide/fpc-3.2.2/compiler/
H A Dncgrtti.pas265 tcb.end_anonymous_record;
278 tcb.begin_anonymous_record(
286 tcb.end_anonymous_record;
883 tcb.end_anonymous_record;
892 write_rtti_name(tcb,def);
993 tcb.end_anonymous_record;
1293 tcb.free;
1497 tcb.emit_tai(
1819 tcb.free;
1866 tcb.free;
[all …]
H A Dobjcgutl.pas374 tcb.free;
502 tcb.free;
552 tcb.free;
780 tcb.free;
852 tcb.free;
990 tcb.free;
1046 tcb.free;
1217 tcb:=nil;
1302 tcb.free;
1382 tcb.free;
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-bottom-half/cloudlibc/src/common/
H A Dtls.h20 __wasi_tcb_t *tcb; in tcb_get() local
22 return tcb; in tcb_get()
37 __wasi_tcb_t *tcb; in tcb_get() local
39 return tcb; in tcb_get()
53 __wasi_tcb_t *tcb; in tcb_get() local
55 return tcb; in tcb_get()
69 __wasi_tcb_t *tcb; in tcb_get() local
71 return tcb; in tcb_get()
166 __wasi_tcb_t *tcb = tcb_addr(buf); in tls_replace() local
167 *tcb = *tcb_get(); in tls_replace()
[all …]
/dports/ftp/pftpd/pftpd-1.0.3/plib/
H A Dtimeout.c45 } tcb; variable
74 tp = tcb->top; in timeout_thread()
78 pthread_cond_wait(&tcb->cv, &tcb->mtx); in timeout_thread()
86 pthread_cond_timedwait(&tcb->cv, &tcb->mtx, &when); in timeout_thread()
90 tcb->state = 0; in timeout_thread()
112 tcb.state = 0; in timeout_init()
196 prev = &tcb.top; in timeout_reset()
197 cur = tcb.top; in timeout_reset()
208 if (tcb.top && tcb.state == 0) in timeout_reset()
213 tcb.state = 1; in timeout_reset()
[all …]
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gcc.target/sh/
H A Dpr54760-3.c12 int* tcb = (int*)__builtin_thread_pointer (); in test00() local
13 int r = tcb[4]; in test00()
17 tcb = (int*)__builtin_thread_pointer (); in test00()
18 return tcb[255] + r; in test00()
25 return tcb[500]; in test01()
32 tcb[50] = a; in test02()
36 tcb = (int*)__builtin_thread_pointer (); in test02()
37 tcb[40] = b; in test02()
48 s ^= x[i] + tcb[40]; in test03()
61 tcb[20] = s; in test04()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.target/sh/
H A Dpr54760-3.c11 int* tcb = (int*)__builtin_thread_pointer (); in test00() local
12 int r = tcb[4]; in test00()
16 tcb = (int*)__builtin_thread_pointer (); in test00()
17 return tcb[255] + r; in test00()
24 return tcb[500]; in test01()
31 tcb[50] = a; in test02()
35 tcb = (int*)__builtin_thread_pointer (); in test02()
36 tcb[40] = b; in test02()
47 s ^= x[i] + tcb[40]; in test03()
60 tcb[20] = s; in test04()
[all …]
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.target/sh/
H A Dpr54760-3.c11 int* tcb = (int*)__builtin_thread_pointer (); in test00() local
12 int r = tcb[4]; in test00()
16 tcb = (int*)__builtin_thread_pointer (); in test00()
17 return tcb[255] + r; in test00()
24 return tcb[500]; in test01()
31 tcb[50] = a; in test02()
35 tcb = (int*)__builtin_thread_pointer (); in test02()
36 tcb[40] = b; in test02()
47 s ^= x[i] + tcb[40]; in test03()
60 tcb[20] = s; in test04()
[all …]
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.target/sh/
H A Dpr54760-3.c11 int* tcb = (int*)__builtin_thread_pointer (); in test00() local
12 int r = tcb[4]; in test00()
16 tcb = (int*)__builtin_thread_pointer (); in test00()
17 return tcb[255] + r; in test00()
24 return tcb[500]; in test01()
31 tcb[50] = a; in test02()
35 tcb = (int*)__builtin_thread_pointer (); in test02()
36 tcb[40] = b; in test02()
47 s ^= x[i] + tcb[40]; in test03()
60 tcb[20] = s; in test04()
[all …]

12345678910>>...71