Searched refs:tbr (Results 1 – 4 of 4) sorted by relevance
| /f-stack/dpdk/drivers/bus/vmbus/ |
| H A D | vmbus_bufring.c | 73 vmbus_txbr_copyto(const struct vmbus_br *tbr, uint32_t windex, in vmbus_txbr_copyto() argument 76 uint8_t *br_data = tbr->vbr->data; in vmbus_txbr_copyto() 77 uint32_t br_dsize = tbr->dsize; in vmbus_txbr_copyto() 108 vmbus_txbr_write(struct vmbus_br *tbr, const struct iovec iov[], int iovlen, in vmbus_txbr_write() argument 111 struct vmbus_bufring *vbr = tbr->vbr; in vmbus_txbr_write() 112 uint32_t ring_size = tbr->dsize; in vmbus_txbr_write() 127 old_windex = tbr->windex; in vmbus_txbr_write() 132 avail = vmbus_br_availwrite(tbr, old_windex); in vmbus_txbr_write() 141 } while (!rte_atomic32_cmpset(&tbr->windex, old_windex, next_windex)); in vmbus_txbr_write() 146 windex = vmbus_txbr_copyto(tbr, windex, in vmbus_txbr_write() [all …]
|
| H A D | private.h | 134 int vmbus_txbr_write(struct vmbus_br *tbr, const struct iovec iov[], int iovlen,
|
| H A D | vmbus_channel.c | 85 const struct vmbus_br *tbr = &chan->txbr; in rte_vmbus_chan_signal_tx() local 91 if (tbr->vbr->imask) in rte_vmbus_chan_signal_tx()
|
| /f-stack/freebsd/net/altq/ |
| H A D | altq_subr.c | 286 tbr = ifq->altq_tbr; 295 tbr->tbr_token = tbr->tbr_depth; 297 tbr->tbr_token += interval * tbr->tbr_rate; 298 if (tbr->tbr_token > tbr->tbr_depth) 299 tbr->tbr_token = tbr->tbr_depth; 301 tbr->tbr_last = now; 319 tbr->tbr_lastop = op; 352 free(tbr, M_DEVBUF); 358 if (tbr == NULL) { 366 tbr->tbr_filluptime = tbr->tbr_depth / tbr->tbr_rate; [all …]
|