| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_51/ |
| H A D | fe.h | 36 t[1] += t[0] >> 51; in fe25519_reduce() 38 t[2] += t[1] >> 51; in fe25519_reduce() 40 t[3] += t[2] >> 51; in fe25519_reduce() 42 t[4] += t[3] >> 51; in fe25519_reduce() 47 t[1] += t[0] >> 51; in fe25519_reduce() 49 t[2] += t[1] >> 51; in fe25519_reduce() 51 t[3] += t[2] >> 51; in fe25519_reduce() 53 t[4] += t[3] >> 51; in fe25519_reduce() 63 t[1] += t[0] >> 51; in fe25519_reduce() 65 t[2] += t[1] >> 51; in fe25519_reduce() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | zthr.c | 239 if (t->zthr_checkfunc(t->zthr_arg, t)) { in zthr_procedure() 241 t->zthr_func(t->zthr_arg, t); in zthr_procedure() 245 cv_wait_idle(&t->zthr_cv, &t->zthr_state_lock); in zthr_procedure() 248 &t->zthr_state_lock, t->zthr_sleep_timeout, in zthr_procedure() 287 zthr_t *t = kmem_zalloc(sizeof (*t), KM_SLEEP); in zthr_create_timer() local 305 return (t); in zthr_create_timer() 318 kmem_free(t, sizeof (*t)); in zthr_destroy() 388 cv_wait(&t->zthr_cv, &t->zthr_state_lock); in zthr_cancel() 425 t->zthr_thread = thread_create_named(t->zthr_name, NULL, 0, in zthr_resume() 504 while ((t->zthr_haswaiters) && (t->zthr_thread != NULL)) in zthr_wait_cycle_done() [all …]
|
| /f-stack/freebsd/ddb/ |
| H A D | db_expr.c | 56 int t; in db_term() local 115 int t; in db_unary() local 164 int t; in db_mult_expr() local 170 while (t == tSTAR || t == tSLASH || t == tPCT || t == tHASH || in db_mult_expr() 174 t == tSTAR ? '*' : t == tSLASH ? '/' : t == tPCT ? '%' : in db_mult_expr() 209 int t; in db_add_expr() local 215 while (t == tPLUS || t == tMINUS || t == tBIT_OR) { in db_add_expr() 246 int t; in db_shift_expr() local 251 while (t == tSHIFT_L || t == tSHIFT_R) { in db_shift_expr() 287 while (t == tLOG_EQ || t == tLOG_NOT_EQ || t == tGREATER || in db_logical_relation_expr() [all …]
|
| /f-stack/freebsd/arm64/include/ |
| H A D | bus.h | 289 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o) 291 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v) 301 (*(t)->__bs_opname_s(r,sz))((t)->bs_cookie, h, o) 303 (*(t)->__bs_opname_s(w,sz))((t)->bs_cookie, h, o, v) 305 (*(t)->__bs_opname(peek, sz))((t)->bs_cookie, h, o, vp) 307 (*(t)->__bs_opname(poke, sz))((t)->bs_cookie, h, o, v) 315 (*(t)->bs_map)((t)->bs_cookie, (a), (s), (c), (hp)) 317 (*(t)->bs_unmap)((t)->bs_cookie, (h), (s)) 328 (*(t)->bs_free)((t)->bs_cookie, (h), (s)) 334 (*(t)->bs_barrier)((t)->bs_cookie, (h), (o), (l), (f)) [all …]
|
| H A D | atomic.h | 76 atomic_##op##_##bar##t##flav(volatile uint##t##_t *p, uint##t##_t val) 141 atomic_cmpset_##bar##t##flav(volatile uint##t##_t *p, \ 142 uint##t##_t cmpval, uint##t##_t newval) 147 uint##t##_t *cmpval, uint##t##_t newval) 271 atomic_fetchadd_##t##flav(volatile uint##t##_t *p, uint##t##_t val) 321 atomic_swap_##t##flav(volatile uint##t##_t *p, uint##t##_t val) 325 atomic_readandclear_##t##flav(volatile uint##t##_t *p) 412 mask = ((uint##t##_t)1) << (val & (t - 1)); \ 430 mask = ((uint##t##_t)1) << (val & (t - 1)); \ 460 atomic_load_acq_##t(volatile uint##t##_t *p) \ in _ATOMIC_TEST_OP() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/lua/ |
| H A D | ltable.c | 51 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument 53 #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) argument 54 #define hashboolean(t,p) hashpow2(t, p) argument 61 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument 64 #define hashpointer(t,p) hashmod(t, IntPoint(p)) argument 318 luaH_setint(L, t, i + 1, &t->array[i]); in luaH_resize() 338 int nsize = isdummy(t->node) ? 0 : sizenode(t); in luaH_resizearray() 375 return t; in luaH_new() 381 luaM_freearray(L, t->node, cast(size_t, sizenode(t))); in luaH_free() 382 luaM_freearray(L, t->array, t->sizearray); in luaH_free() [all …]
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | ltable.c | 50 #define hashpow2(t,n) (gnode(t, lmod((n), sizenode(t)))) argument 52 #define hashstr(t,str) hashpow2(t, (str)->tsv.hash) argument 53 #define hashboolean(t,p) hashpow2(t, p) argument 60 #define hashmod(t,n) (gnode(t, ((n) % ((sizenode(t)-1)|1)))) argument 63 #define hashpointer(t,p) hashmod(t, IntPoint(p)) argument 311 setobjt2t(L, luaH_setnum(L, t, i+1), &t->array[i]); in resize() 328 int nsize = (t->node == dummynode) ? 0 : sizenode(t); in luaH_resizearray() 370 return t; in luaH_new() 376 luaM_freearray(L, t->node, sizenode(t), Node); in luaH_free() 377 luaM_freearray(L, t->array, t->sizearray, TValue); in luaH_free() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_scalarmult/curve25519/sandy2x/ |
| H A D | fe51_invert.c | 23 fe51 t; in fe51_invert() local 26 /* 4 */ fe51_square(&t,&z2); in fe51_invert() 27 /* 8 */ fe51_square(&t,&t); in fe51_invert() 28 /* 9 */ fe51_mul(&z9,&t,x); in fe51_invert() 30 /* 22 */ fe51_square(&t,&z11); in fe51_invert() 40 /* 2^40 - 2^0 */ fe51_mul(&t,&t,&z2_20_0); in fe51_invert() 42 /* 2^50 - 2^10 */ fe51_nsquare(&t,&t,10); in fe51_invert() 49 /* 2^200 - 2^0 */ fe51_mul(&t,&t,&z2_100_0); in fe51_invert() 51 /* 2^250 - 2^50 */ fe51_nsquare(&t,&t, 50); in fe51_invert() 52 /* 2^250 - 2^0 */ fe51_mul(&t,&t,&z2_50_0); in fe51_invert() [all …]
|
| /f-stack/freebsd/mips/include/ |
| H A D | bus.h | 246 (*(t)->__bs_opname(r,sz))((t)->bs_cookie, h, o) 248 (*(t)->__bs_opname(w,sz))((t)->bs_cookie, h, o, v) 258 (*(t)->__bs_opname_s(r,sz))((t)->bs_cookie, h, o) 260 (*(t)->__bs_opname_s(w,sz))((t)->bs_cookie, h, o, v) 268 (*(t)->bs_map)((t)->bs_cookie, (a), (s), (c), (hp)) 270 (*(t)->bs_unmap)((t)->bs_cookie, (h), (s)) 281 (*(t)->bs_free)((t)->bs_cookie, (h), (s)) 287 (*(t)->bs_barrier)((t)->bs_cookie, (h), (o), (l), (f)) 295 #define bus_space_read_1(t, h, o) __bs_rs(1,(t),(h),(o)) argument 296 #define bus_space_read_2(t, h, o) __bs_rs(2,(t),(h),(o)) argument [all …]
|
| /f-stack/dpdk/drivers/event/sw/ |
| H A D | sw_evdev_selftest.c | 168 memset(t, 0, sizeof(*t)); in init() 213 for (i = t->nb_qids; i < t->nb_qids + num_qids; i++) { in create_lb_qids() 257 for (i = t->nb_qids; i < t->nb_qids + num_qids; i++) { in create_directed_qids() 449 cleanup(t); in run_prio_packet_test() 463 create_directed_qids(t, 3, t->port) < 0) in test_single_directed_packet() 531 cleanup(t); in test_single_directed_packet() 543 create_directed_qids(t, 1, t->port) < 0) in test_directed_forward_credits() 575 cleanup(t); in test_directed_forward_credits() 585 create_directed_qids(t, 1, t->port) < 0) { in test_priority_directed() 3415 free(t); in test_sw_eventdev() [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | atomic.c | 143 {(t)-1, (t)-1, (t)-2}, \ 144 {(t)-1, (t) 0, (t)-2}, \ 145 {(t)-1, (t) 1, (t)-2}, \ 147 {(t) 0, (t)-1, (t)-2}, \ 148 {(t) 0, (t) 0, (t)-2}, \ 149 {(t) 0, (t) 1, (t)-2}, \ 151 {(t) 1, (t)-1, (t)-2}, \ 152 {(t) 1, (t) 0, (t)-2}, \ 153 {(t) 1, (t) 1, (t)-2}, \ 155 {(t)0, (t)-(1 << 22), (t)-2}, \ [all …]
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_table_hash_ext.c | 247 t->bucket_mask = t->n_buckets - 1; in rte_table_hash_ext_create() 263 t->key_mem = &t->memory[key_offset]; in rte_table_hash_ext_create() 266 t->data_mem = &t->memory[data_offset]; in rte_table_hash_ext_create() 276 t->key_stack[i] = t->n_keys - 1 - i; in rte_table_hash_ext_create() 277 t->key_stack_tos = t->n_keys; in rte_table_hash_ext_create() 282 t->bkt_ext_stack_tos = t->n_buckets_ext; in rte_table_hash_ext_create() 309 sig = t->f_hash(key, t->key_mask, t->key_size, t->seed); in rte_table_hash_ext_entry_add() 410 sig = t->f_hash(key, t->key_mask, t->key_size, t->seed); in rte_table_hash_ext_entry_delete() 436 t->key_stack[t->key_stack_tos++] = in rte_table_hash_ext_entry_delete() 489 sig = (uint64_t) t->f_hash(key, t->key_mask, t->key_size, t->seed); in rte_table_hash_ext_lookup_unoptimized() [all …]
|
| H A D | rte_table_hash_lru.c | 224 t->bucket_mask = t->n_buckets - 1; in rte_table_hash_lru_create() 237 t->key_mem = &t->memory[key_offset]; in rte_table_hash_lru_create() 239 t->data_mem = &t->memory[data_offset]; in rte_table_hash_lru_create() 249 t->key_stack[i] = t->n_keys - 1 - i; in rte_table_hash_lru_create() 250 t->key_stack_tos = t->n_keys; in rte_table_hash_lru_create() 284 sig = t->f_hash(key, t->key_mask, t->key_size, t->seed); in rte_table_hash_lru_entry_add() 349 keycpy(bkt_key, key, t->key_mask, t->key_size); in rte_table_hash_lru_entry_add() 368 sig = t->f_hash(key, t->key_mask, t->key_size, t->seed); in rte_table_hash_lru_entry_delete() 425 sig = (uint64_t) t->f_hash(key, t->key_mask, t->key_size, t->seed); in rte_table_hash_lru_lookup_unoptimized() 942 memcpy(stats, &t->stats, sizeof(t->stats)); in rte_table_hash_lru_stats_read() [all …]
|
| H A D | rte_table_hash_cuckoo.c | 98 if (t == NULL) { in rte_table_hash_cuckoo_create() 122 rte_free(t); in rte_table_hash_cuckoo_create() 132 t->seed = p->seed; in rte_table_hash_cuckoo_create() 139 return t; in rte_table_hash_cuckoo_create() 150 rte_free(t); in rte_table_hash_cuckoo_free() 176 existing_entry = &t->memory[pos * t->entry_size]; in rte_table_hash_cuckoo_entry_add() 191 new_entry = &t->memory[pos * t->entry_size]; in rte_table_hash_cuckoo_entry_add() 218 uint8_t *entry_ptr = &t->memory[pos * t->entry_size]; in rte_table_hash_cuckoo_entry_delete() 223 memset(&t->memory[pos * t->entry_size], 0, t->entry_size); in rte_table_hash_cuckoo_entry_delete() 306 memcpy(stats, &t->stats, sizeof(t->stats)); in rte_table_hash_cuckoo_stats_read() [all …]
|
| H A D | rte_swx_table_em.c | 271 return &t->keys[(uint64_t)key_id << t->key_size_shl]; in table_key() 448 t->params.key_mask0 = t->key_mask; in __table_create() 456 t->key_stack[i] = t->params.n_keys_max - 1 - i; in __table_create() 457 t->key_stack_tos = t->params.n_keys_max; in __table_create() 472 if (!t) in table_free() 475 env_free(t, t->total_size); in table_free() 513 t->key_stack[--t->key_stack_tos]; in table_add() 520 if (t->bkt_ext_stack_tos && t->key_stack_tos) { in table_add() 562 t->key_stack[t->key_stack_tos++] = in table_del() 571 t->bkt_ext_stack[t->bkt_ext_stack_tos++] in table_del() [all …]
|
| /f-stack/dpdk/drivers/event/opdl/ |
| H A D | opdl_test.c | 98 memset(t, 0, sizeof(*t)); in init() 158 for (i = t->nb_qids ; i < t->nb_qids + num_qids; i++) { in create_queues_type() 239 cleanup(t); in ordered_basic() 318 cleanup(t); in ordered_basic() 468 cleanup(t); in atomic_basic() 690 cleanup(t); in single_link_w_stats() 747 cleanup(t); in single_link() 1000 free(t); in opdl_selftest() 1006 free(t); in opdl_selftest() 1022 free(t); in opdl_selftest() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libzpool/ |
| H A D | taskq.c | 44 taskq_ent_t *t; in task_alloc() local 83 return (t); in task_alloc() 126 t->tqent_next->tqent_prev = t; in taskq_dispatch() 127 t->tqent_prev->tqent_next = t; in taskq_dispatch() 182 t->tqent_next->tqent_prev = t; in taskq_dispatch_ent() 183 t->tqent_prev->tqent_next = t; in taskq_dispatch_ent() 229 t->tqent_prev->tqent_next = t->tqent_next; in taskq_thread() 230 t->tqent_next->tqent_prev = t->tqent_prev; in taskq_thread() 237 t->tqent_func(t->tqent_arg); in taskq_thread() 256 int t; in taskq_create() local [all …]
|
| /f-stack/freebsd/arm/include/ |
| H A D | bus.h | 264 (*(t)->__bs_opname(type,sz))((t), h, o, a, c) 266 (*(t)->__bs_opname(type,sz))((t), h, o, v, c) 272 (*(t)->__bs_opname_s(r,sz))((t), h, o) 274 (*(t)->__bs_opname_s(w,sz))((t), h, o, v) 286 return (t->MBR(t, h, o)); \ 297 t->MBR(t, h, o, v); \ 304 (*(t)->bs_map)((t), (a), (s), (c), (hp)) 306 (*(t)->bs_unmap)((t), (h), (s)) 308 (*(t)->bs_subregion)((t), (h), (o), (s), (hp)) 317 (*(t)->bs_free)((t), (h), (s)) [all …]
|
| /f-stack/dpdk/app/test-eventdev/ |
| H A D | test_order_common.c | 13 return t->result; in order_test_result() 20 struct test_order *t = p->t; in order_producer() local 55 if (t->err) in order_producer() 138 struct test_order *t; in order_test_setup() local 157 t = evt_test_priv(test); in order_test_setup() 191 t->err = false; in order_test_setup() 195 t->opt = opt; in order_test_setup() 226 if (t->pool == NULL) { in order_mempool_setup() 310 t->err = true; in order_launch_lcores() 355 w->t = t; in order_event_dev_port_setup() [all …]
|
| /f-stack/freebsd/net/ |
| H A D | radix.c | 290 t = t->rn_right; in rn_match() 292 t = t->rn_left; in rn_match() 319 t = t->rn_dupedkey; in rn_match() 332 t = t->rn_dupedkey; in rn_match() 333 for (; t; t = t->rn_dupedkey) in rn_match() 348 t = t->rn_parent; in rn_match() 716 t = t->rn_parent; in rn_addroute() 804 t = t->rn_parent; in rn_delete() 825 for (t = rn_clist; t && t->rn_ybro != tt; t = t->rn_ybro) {} in rn_delete() 921 t->rn_left->rn_parent = t; in rn_delete() [all …]
|
| /f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_core/ed25519/ref10/fe_25_5/ |
| H A D | fe.h | 185 fe25519 t; in fe25519_tobytes() local 188 s[0] = t[0] >> 0; in fe25519_tobytes() 189 s[1] = t[0] >> 8; in fe25519_tobytes() 191 s[3] = (t[0] >> 24) | (t[1] * ((uint32_t) 1 << 2)); in fe25519_tobytes() 194 s[6] = (t[1] >> 22) | (t[2] * ((uint32_t) 1 << 3)); in fe25519_tobytes() 197 s[9] = (t[2] >> 21) | (t[3] * ((uint32_t) 1 << 5)); in fe25519_tobytes() 200 s[12] = (t[3] >> 19) | (t[4] * ((uint32_t) 1 << 6)); in fe25519_tobytes() 207 s[19] = (t[5] >> 24) | (t[6] * ((uint32_t) 1 << 1)); in fe25519_tobytes() 210 s[22] = (t[6] >> 23) | (t[7] * ((uint32_t) 1 << 3)); in fe25519_tobytes() 213 s[25] = (t[7] >> 21) | (t[8] * ((uint32_t) 1 << 4)); in fe25519_tobytes() [all …]
|
| /f-stack/freebsd/crypto/des/ |
| H A D | des_locl.h | 129 t=R^s[S+1] 151 t=ROTATE(t,4); \ 179 t=ROTATE(t,4); \ 214 t=ROTATE(t,4); \ 233 t=ROTATE(t,6); \ 245 u2=(int)t>>8L; \ 248 t>>=16L; \ 262 t=ROTATE(t,6); \ 291 t=ROTATE(t,4); \ 341 #define PERM_OP(a,b,t,n,m) ((t)=((((a)>>(n))^(b))&(m)),\ argument [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_rcu_qsbr.c | 86 rte_free(t[i]); in free_rcu() 251 rte_rcu_qsbr_quiescent(t[0], in test_rcu_qsbr_thread_unregister() 311 temp = t[read_type]; in test_rcu_qsbr_check_reader() 655 params.v = t[0]; in test_rcu_qsbr_dq_create() 710 params.v = t[0]; in test_rcu_qsbr_dq_enqueue() 757 params.v = t[0]; in test_rcu_qsbr_dq_reclaim() 791 params.v = t[0]; in test_rcu_qsbr_dq_delete() 836 params.v = t[0]; in test_rcu_qsbr_dq_functional() 941 rte_rcu_qsbr_dump(NULL, t[0]); in test_rcu_qsbr_dump() 973 temp = t[ti->ir]; in test_rcu_qsbr_reader() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-taskq.c | 125 return (t); in task_alloc() 162 if (t) { in task_alloc() 167 return (t); in task_alloc() 178 ASSERT(t); in task_free() 194 ASSERT(t); in task_done() 260 taskq_ent_t *t = from_timer(t, tmr, tqent_timer); in task_expire() local 364 if (t) in taskq_find() 368 if (t) in taskq_find() 372 if (t) in taskq_find() 525 if (t && t != ERR_PTR(-EBUSY)) { in taskq_cancel_id() [all …]
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_mbuf2.c | 113 struct mbuf *t; in m_pulldown() local 115 for (t = m; t; t = t->m_next) in m_pulldown() 259 for (t = m; t; t = t->m_next) in m_pulldown() 260 printf("%c%d", t == n ? '*' : ' ', t->m_len); in m_pulldown() 325 if (t == NULL) in m_tag_alloc() 329 return t; in m_tag_alloc() 339 m_tag_free(t); in m_tag_delete() 350 p = t; in m_tag_delete_chain() 404 p = m_tag_alloc(t->m_tag_cookie, t->m_tag_id, t->m_tag_len, how); in m_tag_copy() 421 bcopy(t + 1, p + 1, t->m_tag_len); /* Copy the data */ in m_tag_copy() [all …]
|