| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | lstring.c | 68 if (newsize > tb->size) { in luaS_resize() 69 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize() 70 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL; in luaS_resize() 75 tb->hash[i] = NULL; in luaS_resize() 80 tb->hash[h] = p; in luaS_resize() 87 lua_assert(tb->hash[newsize] == NULL && tb->hash[tb->size - 1] == NULL); in luaS_resize() 88 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize() 90 tb->size = newsize; in luaS_resize() 122 if (tb->nuse >= cast(lu_int32, tb->size) && tb->size <= MAX_INT/2) in newshrstr() 124 list = &tb->hash[lmod(h, tb->size)]; in newshrstr() [all …]
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lstring.c | 24 stringtable *tb; in luaS_resize() local 29 tb = &G(L)->strt; in luaS_resize() 32 for (i=0; i<tb->size; i++) { in luaS_resize() 44 luaM_freearray(L, tb->hash, tb->size, TString *); in luaS_resize() 45 tb->size = newsize; in luaS_resize() 46 tb->hash = newhash; in luaS_resize() 53 stringtable *tb; in newlstr() local 64 tb = &G(L)->strt; in newlstr() 65 h = lmod(h, tb->size); in newlstr() 68 tb->nuse++; in newlstr() [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | ticker.c | 50 ticker_t ta, tb; in TEST_BEGIN() local 53 ticker_copy(&tb, &ta); in TEST_BEGIN() 54 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); in TEST_BEGIN() 55 assert_true(ticker_ticks(&tb, NTICKS + 1), "Expected ticker fire"); in TEST_BEGIN() 56 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); in TEST_BEGIN() 59 ticker_copy(&tb, &ta); in TEST_BEGIN() 60 assert_u_eq(ticker_read(&tb), NTICKS - 1, "Unexpected ticker value"); in TEST_BEGIN() 61 assert_true(ticker_ticks(&tb, NTICKS), "Expected ticker fire"); in TEST_BEGIN() 62 assert_u_eq(ticker_read(&tb), NTICKS, "Unexpected ticker value"); in TEST_BEGIN()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | sa.c | 458 return (tb); in sa_add_layout_entry() 474 if (tb) { in sa_find_layout() 475 for (; tb && tb->lot_hash == hash; in sa_find_layout() 476 tb = AVL_NEXT(&sa->sa_layout_hash_tree, tb)) { in sa_find_layout() 488 *lot = tb; in sa_find_layout() 957 tb[i].sa_name = in sa_attr_table_setup() 1011 *user_table = tb; in sa_setup() 1188 ASSERT(tb); in sa_attr_iter() 1715 ASSERT(tb); in sa_find_idx_tab() 1756 tb, idx_tab); in sa_find_idx_tab() [all …]
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 726 rn = rnh->rnh_lookup(tb->addr_ptr, tb->mask_ptr, &rnh->rh); in ta_add_radix() 750 rn = rnh->rnh_addaddr(tb->addr_ptr, tb->mask_ptr, &rnh->rh,tb->ent_ptr); in ta_add_radix() 821 rn = rnh->rnh_deladdr(tb->addr_ptr, tb->mask_ptr, &rnh->rh); in ta_del_radix() 832 tb->ent_ptr = rn; in ta_del_radix() 1644 ent = &tb->ent; in ta_del_chash() 2209 tb->ife = ife; in ta_prepare_add_ifidx() 2229 ife = tb->ife; in ta_add_ifidx() 2268 tb->ife = NULL; in ta_add_ifidx() 2341 tb->ife = ife; in ta_del_ifidx() 2812 res = badd(&tb->na.number, &tb->na, cfg->main_ptr, cfg->used, in ta_add_numarray() [all …]
|
| /f-stack/dpdk/drivers/baseband/fpga_lte_fec/ |
| H A D | fpga_lte_fec.c | 1407 if (tb->cab > tb->c) { in validate_enc_op() 1410 tb->cab, tb->c); in validate_enc_op() 1414 && tb->r < tb->cab) { in validate_enc_op() 1421 && tb->c > tb->cab) { in validate_enc_op() 1430 if (tb->ncb_neg < tb->k_neg || tb->ncb_neg > kw_neg) { in validate_enc_op() 1439 if (tb->ncb_pos < tb->k_pos || tb->ncb_pos > kw_pos) { in validate_enc_op() 1445 if (tb->r > (tb->c - 1)) { in validate_enc_op() 1448 tb->r, tb->c - 1); in validate_enc_op() 1731 && tb->c > tb->c_neg) { in validate_dec_op() 1749 if (tb->cab > tb->c) { in validate_dec_op() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | kern_thread.c | 304 tb->n = 0; in tidbatch_prep() 311 KASSERT(tb->n < nitems(tb->tab), in tidbatch_add() 313 tb->tab[tb->n] = td->td_tid; in tidbatch_add() 314 tb->n++; in tidbatch_add() 321 KASSERT(tb->n <= nitems(tb->tab), in tidbatch_process() 323 if (tb->n == nitems(tb->tab)) { in tidbatch_process() 324 tid_free_batch(tb->tab, tb->n); in tidbatch_process() 325 tb->n = 0; in tidbatch_process() 333 KASSERT(tb->n <= nitems(tb->tab), in tidbatch_final() 335 if (tb->n != 0) { in tidbatch_final() [all …]
|
| H A D | subr_taskqueue.c | 401 struct taskqueue_busy *tb; in taskqueue_drain_tq_active() local 413 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in taskqueue_drain_tq_active() 414 if ((int)(tb->tb_seq - seq) <= 0) { in taskqueue_drain_tq_active() 451 struct taskqueue_busy tb; in taskqueue_run_locked() local 458 tb.tb_running = NULL; in taskqueue_run_locked() 468 tb.tb_running = task; in taskqueue_run_locked() 469 tb.tb_seq = ++queue->tq_seq; in taskqueue_run_locked() 487 LIST_REMOVE(&tb, tb_link); in taskqueue_run_locked() 502 struct taskqueue_busy *tb; in task_is_running() local 505 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in task_is_running() [all …]
|
| H A D | subr_gtaskqueue.c | 297 struct gtaskqueue_busy *tb; in gtaskqueue_drain_tq_active() local 309 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in gtaskqueue_drain_tq_active() 310 if ((int)(tb->tb_seq - seq) <= 0) { in gtaskqueue_drain_tq_active() 346 struct gtaskqueue_busy tb; in gtaskqueue_run_locked() local 352 tb.tb_running = NULL; in gtaskqueue_run_locked() 359 tb.tb_running = gtask; in gtaskqueue_run_locked() 360 tb.tb_seq = ++queue->tq_seq; in gtaskqueue_run_locked() 378 LIST_REMOVE(&tb, tb_link); in gtaskqueue_run_locked() 384 struct gtaskqueue_busy *tb; in task_is_running() local 387 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in task_is_running() [all …]
|
| /f-stack/dpdk/drivers/baseband/acc100/ |
| H A D | rte_acc100_pmd.c | 2107 if (tb->cab > tb->c) { in validate_enc_op() 2110 tb->cab, tb->c); in validate_enc_op() 2114 && tb->r < tb->cab) { in validate_enc_op() 2121 && tb->c > tb->cab) { in validate_enc_op() 2130 if (tb->ncb_neg < tb->k_neg || tb->ncb_neg > kw_neg) { in validate_enc_op() 2139 if (tb->ncb_pos < tb->k_pos || tb->ncb_pos > kw_pos) { in validate_enc_op() 2148 tb->r, tb->c - 1); in validate_enc_op() 2605 && tb->c > tb->c_neg) { in validate_dec_op() 2623 if (tb->cab > tb->c) { in validate_dec_op() 2626 tb->cab, tb->c); in validate_dec_op() [all …]
|
| /f-stack/dpdk/drivers/baseband/fpga_5gnr_fec/ |
| H A D | rte_fpga_5gnr_fec.c | 1079 tb = &ldpc_enc->tb_params; in validate_enc_op() 1080 if (tb->c == 0) { in validate_enc_op() 1086 if (tb->cab > tb->c) { in validate_enc_op() 1089 tb->cab, tb->c); in validate_enc_op() 1093 && tb->r < tb->cab) { in validate_enc_op() 1100 && tb->c > tb->cab) { in validate_enc_op() 1106 if (tb->r > (tb->c - 1)) { in validate_enc_op() 1109 tb->r, tb->c - 1); in validate_enc_op() 1173 if (tb->c < 1) { in validate_dec_op() 1179 if (tb->cab > tb->c) { in validate_dec_op() [all …]
|
| /f-stack/dpdk/examples/qos_sched/ |
| H A D | profile_ov.cfg | 17 tb rate = 8400000 ; Bytes per second 18 tb size = 100000 ; Bytes 39 tb rate = 16800000 ; Bytes per second 40 tb size = 1000000 ; Bytes
|
| H A D | profile.cfg | 32 tb rate = 1250000000 ; Bytes per second 33 tb size = 1000000 ; Bytes 55 tb rate = 305175 ; Bytes per second 56 tb size = 1000000 ; Bytes
|
| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_event_eth_tx_adapter.c | 441 struct rte_eth_dev_tx_buffer *tb; in txa_service_tx_buf_alloc() local 445 tb = rte_zmalloc_socket(txa->mem_name, in txa_service_tx_buf_alloc() 449 if (tb == NULL) in txa_service_tx_buf_alloc() 451 return tb; in txa_service_tx_buf_alloc() 718 struct rte_eth_dev_tx_buffer *tb; in txa_service_queue_add() local 774 if (tb == NULL) in txa_service_queue_add() 786 rte_eth_tx_buffer_set_err_callback(tb, in txa_service_queue_add() 789 tqi->tx_buf = tb; in txa_service_queue_add() 812 struct rte_eth_dev_tx_buffer *tb; in txa_service_queue_del() local 849 tb = tqi->tx_buf; in txa_service_queue_del() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | sa_impl.h | 266 #define SA_HDR_SIZE_MATCH_LAYOUT(hdr, tb) \ argument 268 (tb->lot_var_sizes > 1 ? P2ROUNDUP((tb->lot_var_sizes - 1) * \
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/salsa20/ |
| H A D | randombytes_salsa20_random.c | 118 struct _timeb tb; in sodium_hrtime() local 121 _ftime(&tb); in sodium_hrtime() 123 return ((uint64_t) tb.time) * 1000000U + ((uint64_t) tb.millitm) * 1000U; in sodium_hrtime()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-shared-linux-o32.ld | 94 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 95 .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) } 164 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
| H A D | cvmx-shared-linux-n32.ld | 96 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 97 .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) } 155 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
| H A D | cvmx-shared-linux.ld | 95 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 96 .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) } 154 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | qos_scheduler.rst | 142 tb rate = 1250000000; Bytes per second 143 tb size = 1000000; Bytes 166 tb rate = 305175; Bytes per second 167 tb size = 1000000; Bytes
|
| /f-stack/freebsd/net/altq/ |
| H A D | altq_cdnr.h | 289 struct tbe tb; /* token bucket */ member
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | math.shlib | 80 *TB|*tb|*T|*t) factor='1024^4' ;;
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf_ioctl.c | 758 struct tb_profile tb; in pf_enable_altq() local 769 tb.rate = altq->ifbandwidth; in pf_enable_altq() 770 tb.depth = altq->tbrsize; in pf_enable_altq() 771 error = tbr_set(&ifp->if_snd, &tb); in pf_enable_altq() 781 struct tb_profile tb; in pf_disable_altq() local 798 tb.rate = 0; in pf_disable_altq() 799 error = tbr_set(&ifp->if_snd, &tb); in pf_disable_altq()
|
| /f-stack/freebsd/contrib/openzfs/cmd/arc_summary/ |
| H A D | arc_summary2 | 105 def handle_Exception(ex_cls, ex, tb):
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | po.m4 | 277 tb
|