HomeSort by: relevance | last modified time | path
    Searched refs:cb (Results 1 - 25 of 215) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/sys/netinet/
dccp_tcplike.c 123 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; local in function:tcplike_rto_timeout
127 mutex_enter(&(cb->mutex));
129 cb->ssthresh = cb->cwnd >>1;
130 cb->cwnd = 1; /* allowing 1 packet to be sent */
131 cb->outstanding = 0; /* is this correct? */
132 cb->rto_timer_callout = 0;
133 cb->rto = cb->rto << 1;
134 TIMEOUT_DEBUG((LOG_INFO, "RTO Timeout. New RTO = %u\n", cb->rto))
211 struct tcplike_send_ccb *cb; local in function:tcplike_send_init
272 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; local in function:tcplike_send_term
289 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; local in function:tcplike_send_free
322 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; local in function:tcplike_send_packet
387 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; local in function:tcplike_send_packet_sent
421 struct tcplike_send_ccb *cb = (struct tcplike_send_ccb *) ccb; local in function:tcplike_send_packet_recv
881 struct tcplike_recv_ccb *cb = (struct tcplike_recv_ccb *) ccb; local in function:tcplike_recv_term
897 struct tcplike_recv_ccb *cb = (struct tcplike_recv_ccb *) ccb; local in function:tcplike_recv_free
927 struct tcplike_recv_ccb *cb = (struct tcplike_recv_ccb *) ccb; local in function:tcplike_recv_packet_recv
    [all...]
dccp_tfrc.c 228 * args: cb - sender congestion control block
233 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_time_send
237 if (cb->state == TFRC_SSTATE_TERM) {
242 if (callout_pending(&cb->ch_stimer)) {
250 /*inp = cb->pcb->d_inpcb;*/
254 callout_stop(&cb->ch_stimer);
256 dccp_output(cb->pcb, 1);
258 tfrc_send_packet_sent(cb, 0, -1);
266 * args: cb - sender congestion control block
271 tfrc_set_send_timer(struct tfrc_send_ccb * cb, struct timeval t_now
369 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_time_no_feedback
487 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_send_term
561 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_send_free
606 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_send_packet
723 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_send_packet_sent
838 struct tfrc_send_ccb *cb = (struct tfrc_send_ccb *) ccb; local in function:tfrc_send_packet_recv
1648 struct tfrc_recv_ccb *cb = (struct tfrc_recv_ccb *) ccb; local in function:tfrc_recv_free
1697 struct tfrc_recv_ccb *cb = (struct tfrc_recv_ccb *) ccb; local in function:tfrc_recv_packet_recv
    [all...]
  /src/lib/libc/citrus/
citrus_prop.h 72 } cb; member in struct:_citrus_prop_hint_t
75 #define _CITRUS_PROP_HINT_BOOL(name, cb) \
76 { name, _CITRUS_PROP_BOOL, { .boolean = { cb } } }
77 #define _CITRUS_PROP_HINT_STR(name, cb) \
78 { name, _CITRUS_PROP_STR, { .str = { cb } } }
79 #define _CITRUS_PROP_HINT_CHR(name, cb) \
80 { name, _CITRUS_PROP_CHR, { .chr = { cb } } }
81 #define _CITRUS_PROP_HINT_NUM(name, cb) \
82 { name, _CITRUS_PROP_NUM, { .num = { cb } } }
  /src/tests/lib/libc/sys/
t_aio_cancel.c 112 struct aiocb cb; local in function:ATF_TC_BODY
121 memset(&cb, 0, sizeof(cb));
122 cb.aio_fildes = fd;
123 cb.aio_buf = wbuf;
124 cb.aio_nbytes = blksz;
125 cb.aio_offset = 0;
127 rv = aio_write(&cb);
130 crv = aio_cancel(fd, &cb);
136 err = aio_error(&cb);
168 struct aiocb cb; local in function:ATF_TC_BODY
205 struct aiocb cb; local in function:ATF_TC_BODY
    [all...]
  /src/sys/dev/pci/
cxdtv_boards.c 62 const struct cxdtv_board *cb; local in function:cxdtv_board_lookup
66 cb = &cxdtv_boards[i];
67 if (vendor == cb->cb_vendor && product == cb->cb_product)
68 return cb;
  /src/sys/dev/ic/
oosiop.c 129 struct oosiop_cb *cb; local in function:oosiop_attach
169 /* Use first cb to reselection msgin buffer */
170 cb = TAILQ_FIRST(&sc->sc_free_cb);
171 sc->sc_reselbuf = cb->xferdma->dm_segs[0].ds_addr +
249 struct oosiop_cb *cb; local in function:oosiop_alloc_cb
259 cb = malloc(sizeof(struct oosiop_cb) * ncb, M_DEVBUF, M_WAITOK|M_ZERO);
283 0, BUS_DMA_NOWAIT, &cb[i].cmddma);
290 &cb[i].datadma);
298 0, BUS_DMA_NOWAIT, &cb[i].xferdma);
304 err = bus_dmamap_load(sc->sc_dmat, cb[i].xferdma, &xfer[i]
531 struct oosiop_cb *cb; local in function:oosiop_setup_dma
587 struct oosiop_cb *cb; local in function:oosiop_phasemismatch
732 struct oosiop_cb *cb; local in function:oosiop_scsipi_request
913 struct oosiop_cb *cb; local in function:oosiop_timeout
1017 struct oosiop_cb *cb; local in function:oosiop_intr
1158 struct oosiop_cb *cb; local in function:oosiop_scriptintr
    [all...]
oosiopvar.h 53 #define OOSIOP_XFERSCR_SYNC(sc, cb, ops) \
54 bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_DINSCROFF, \
56 #define OOSIOP_DINSCR_SYNC(sc, cb, ops) \
57 bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_DINSCROFF, \
59 #define OOSIOP_DOUTSCR_SYNC(sc, cb, ops) \
60 bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_DOUTSCROFF,\
62 #define OOSIOP_XFERMSG_SYNC(sc, cb, ops) \
63 bus_dmamap_sync((sc)->sc_dmat, (cb)->xferdma, OOSIOP_MSGINOFF, \
arcofivar.h 42 void (*cb)(void *); member in struct:arcofi_softc::__anonffb7a5170208
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_deadlock_detector1.cc 49 void MutexInit(DDCallback *cb, DDMutex *m) override;
50 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) override;
51 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
53 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) override;
54 void MutexDestroy(DDCallback *cb, DDMutex *m) override;
56 DDReport *GetReport(DDCallback *cb) override;
59 void ReportDeadlock(DDCallback *cb, DDMutex *m);
93 void DD::MutexInit(DDCallback *cb, DDMutex *m) {
95 m->stk = cb->Unwind();
104 void DD::MutexBeforeLock(DDCallback *cb,
    [all...]
sanitizer_deadlock_detector_interface.h 81 virtual void MutexInit(DDCallback *cb, DDMutex *m) {}
82 virtual void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock) {}
83 virtual void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
85 virtual void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock) {}
86 virtual void MutexDestroy(DDCallback *cb, DDMutex *m) {}
88 virtual DDReport *GetReport(DDCallback *cb) { return nullptr; }
sanitizer_deadlock_detector2.cc 93 void MutexInit(DDCallback *cb, DDMutex *m);
94 void MutexBeforeLock(DDCallback *cb, DDMutex *m, bool wlock);
95 void MutexAfterLock(DDCallback *cb, DDMutex *m, bool wlock,
97 void MutexBeforeUnlock(DDCallback *cb, DDMutex *m, bool wlock);
98 void MutexDestroy(DDCallback *cb, DDMutex *m);
100 DDReport *GetReport(DDCallback *cb);
104 u32 allocateId(DDCallback *cb);
149 void DD::MutexInit(DDCallback *cb, DDMutex *m) {
150 VPrintf(2, "#%llu: DD::MutexInit(%p)\n", cb->lt->ctx, m);
171 u32 DD::allocateId(DDCallback *cb) {
    [all...]
sanitizer_quarantine.h 74 // void *cb.Allocate(uptr size);
75 // void cb.Deallocate(void *ptr);
103 void Put(Cache *c, Callback cb, Node *ptr, uptr size) {
106 c->Enqueue(cb, ptr, size);
109 cb.Recycle(ptr);
113 Drain(c, cb);
116 void NOINLINE Drain(Cache *c, Callback cb) {
122 Recycle(atomic_load_relaxed(&min_size_), cb);
125 void NOINLINE DrainAndRecycle(Cache *c, Callback cb) {
131 Recycle(0, cb);
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/
dd_rtl.cc 115 Callback cb(thr); local in function:__dsan::MutexBeforeLock
119 ctx->dd->MutexInit(&cb, &h->dd);
120 ctx->dd->MutexBeforeLock(&cb, &h->dd, writelock);
122 ReportDeadlock(thr, ctx->dd->GetReport(&cb));
128 Callback cb(thr); local in function:__dsan::MutexAfterLock
132 ctx->dd->MutexInit(&cb, &h->dd);
133 ctx->dd->MutexAfterLock(&cb, &h->dd, writelock, trylock);
135 ReportDeadlock(thr, ctx->dd->GetReport(&cb));
141 Callback cb(thr); local in function:__dsan::MutexBeforeUnlock
144 ctx->dd->MutexBeforeUnlock(&cb, &h->dd, writelock)
152 Callback cb(thr); local in function:__dsan::MutexDestroy
    [all...]
  /src/sys/altq/
altq_cdnr.c 139 struct cdnr_block *cb; local in function:altq_cdnr_input
163 cb = acc_classify(&top->tc_classifier, m, af);
164 if (cb != NULL)
165 tca = &cb->cb_action;
197 cb = tca->tca_next;
198 tca = (*cb->cb_input)(cb, &pktinfo);
223 struct cdnr_block *cb; local in function:cdnr_handle2cb
225 cb = (struct cdnr_block *)handle;
226 if (handle != ALIGN(cb))
244 struct cdnr_block *cb; local in function:cdnr_cballoc
301 struct cdnr_block *cb = cblock; local in function:cdnr_cbdestroy
372 struct cdnr_block *cb; local in function:tca_import_action
393 struct cdnr_block *cb; local in function:tca_invalidate_action
429 struct cdnr_block *cb; local in function:top_destroy
467 struct cdnr_block *cb; local in function:element_create
867 struct cdnr_block *cb; local in function:cdnrcmd_add_element
884 struct cdnr_block *cb; local in function:cdnrcmd_delete_element
902 struct cdnr_block *cb; local in function:cdnrcmd_add_filter
1006 struct cdnr_block *cb; local in function:cdnrcmd_tcm_stats
1078 struct cdnr_block *cb; local in function:cdnrcmd_get_stats
    [all...]
  /src/common/lib/libc/arch/or1k/string/
memcpy.c 52 const unsigned char *cb = b; local in function:memcpy
62 *ca++ = *cb++;
68 const int offset = (uintptr_t)cb & (sizeof(*la) - 1);
69 const unsigned long *lb = (const unsigned long *) (cb - offset);
128 cb = (const unsigned char *)lb + offset;
131 *ca++ = *cb++;
  /src/bin/ksh/
edit.c 208 TTY_state cb; local in function:x_mode
212 cb = tty_state;
215 edchars.erase = cb.c_cc[VERASE];
216 edchars.kill = cb.c_cc[VKILL];
217 edchars.intr = cb.c_cc[VINTR];
218 edchars.quit = cb.c_cc[VQUIT];
219 edchars.eof = cb.c_cc[VEOF];
221 edchars.werase = cb.c_cc[VWERASE];
224 cb.c_lflag &= ~(ICANON|ECHO);
227 cb.c_iflag &= ~(INLCR|ICRNL)
    [all...]
  /src/tests/lib/libobjc/
t_threads.m 106 objc_thread_callback cb;
109 cb = objc_set_thread_callback(becomeMultiThreaded);
110 printf("Old Callback: %p\n", cb);
111 ATF_CHECK(cb == 0);
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_sw_fence.c 473 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); local in function:dma_i915_sw_fence_wake
475 i915_sw_fence_set_error_once(cb->fence, dma->error);
476 i915_sw_fence_complete(cb->fence);
477 kfree(cb);
482 struct i915_sw_dma_fence_cb_timer *cb = from_timer(cb, t, timer); local in function:timer_i915_sw_fence_wake
485 fence = xchg(&cb->base.fence, NULL);
490 cb->dma->ops->get_driver_name(cb->dma)
502 struct i915_sw_dma_fence_cb_timer *cb = local in function:dma_i915_sw_fence_wake_timer
517 struct i915_sw_dma_fence_cb_timer *cb = local in function:irq_i915_sw_fence_work
531 struct i915_sw_dma_fence_cb *cb; local in function:i915_sw_fence_await_dma_fence
592 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); local in function:__dma_i915_sw_fence_wake
    [all...]
i915_sw_fence_work.h 31 struct i915_sw_dma_fence_cb cb; member in struct:dma_fence_work
  /src/sys/dev/i2c/
ssdfb_i2c.c 138 uint8_t cb = SSDFB_I2C_CTRL_BYTE_DATA_MASK; local in function:ssdfb_i2c_probe_transfer_size
150 sc->sc_i2c_addr, &cb, sizeof(cb), buf, len, flags);
167 ssdfb_i2c_transfer(struct ssdfb_i2c_softc *sc, uint8_t cb, uint8_t *data,
175 sc->sc_i2c_addr, &cb, sizeof(cb), data, xfer_size, flags);
183 sc->sc_i2c_addr, &cb, sizeof(cb), data, len, flags);
194 uint8_t cb = 0; local in function:ssdfb_i2c_cmd
201 sc->sc_i2c_addr, &cb, sizeof(cb), cmd, len, flags)
268 uint8_t cb = SSDFB_I2C_CTRL_BYTE_DATA_MASK; local in function:ssdfb_i2c_transfer_rect_ssd1306
310 uint8_t cb = SSDFB_I2C_CTRL_BYTE_DATA_MASK; local in function:ssdfb_i2c_transfer_rect_sh1106
356 uint8_t cb = SSDFB_I2C_CTRL_BYTE_DATA_MASK; local in function:ssdfb_smbus_transfer_rect
    [all...]
tvpllvar.h 51 uint8_t cb; member in struct:tvpll_data::tvpll_entry
  /src/sys/external/bsd/drm2/dist/drm/scheduler/
sched_entity.c 233 * @cb: our callback structure
238 struct dma_fence_cb *cb)
240 struct drm_sched_job *job = container_of(cb, struct drm_sched_job,
321 &entity->cb);
354 struct dma_fence_cb *cb)
357 container_of(cb, struct drm_sched_entity, cb);
368 struct dma_fence_cb *cb)
371 container_of(cb, struct drm_sched_entity, cb);
    [all...]
  /src/sys/dev/
keylock.c 93 keylock_register(void *cb_arg, int npos, int (*cb)(void *))
98 keylock_pos_cb = cb;
108 keylock_unregister(void *cb_arg, int (*cb)(void *))
110 if (keylock_pos_cb != cb || keylock_pos_cb_arg != cb_arg)
  /src/usr.sbin/bootp/common/
getif.c 121 nmatch(u_char *ca, u_char *cb)
128 while (n && (*ca == *cb)) {
130 cb++;
137 while (n && ((*ca & n) == (*cb & n))) {
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_rtl_mutex.cc 44 Callback cb(thr, pc); local in function:__tsan::DDMutexInit
45 ctx->dd->MutexInit(&cb, &s->dd);
95 Callback cb(thr, pc); local in function:__tsan::MutexDestroy
96 ctx->dd->MutexDestroy(&cb, &s->dd);
97 ctx->dd->MutexInit(&cb, &s->dd);
149 Callback cb(thr, pc); local in function:__tsan::MutexPreLock
150 ctx->dd->MutexBeforeLock(&cb, &s->dd, true);
152 ReportDeadlock(thr, pc, ctx->dd->GetReport(&cb));
197 Callback cb(thr, pc); local in function:__tsan::MutexPostLock
199 ctx->dd->MutexBeforeLock(&cb, &s->dd, true)
209 Callback cb(thr, pc); local in function:__tsan::MutexPostLock
242 Callback cb(thr, pc); local in function:__tsan::MutexUnlock
251 Callback cb(thr, pc); local in function:__tsan::MutexUnlock
262 Callback cb(thr, pc); local in function:__tsan::MutexPreReadLock
292 Callback cb(thr, pc); local in function:__tsan::MutexPostReadLock
304 Callback cb(thr, pc); local in function:__tsan::MutexPostReadLock
326 Callback cb(thr, pc); local in function:__tsan::MutexReadUnlock
336 Callback cb(thr, pc); local in function:__tsan::MutexReadUnlock
374 Callback cb(thr, pc); local in function:__tsan::MutexReadOrWriteUnlock
383 Callback cb(thr, pc); local in function:__tsan::MutexReadOrWriteUnlock
    [all...]

Completed in 18 milliseconds

1 2 3 4 5 6 7 8 9