Home
last modified time | relevance | path

Searched refs:tb (Results 1 – 25 of 94) sorted by relevance

1234

/freebsd-13-stable/contrib/wpa/src/drivers/
HDdriver_nl80211_event.c345 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in qca_drv_connect_fail_reason_code_handler() local
351 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in qca_drv_connect_fail_reason_code_handler()
354 if (!tb[NL80211_ATTR_VENDOR_DATA]) { in qca_drv_connect_fail_reason_code_handler()
360 nla_data(tb[NL80211_ATTR_VENDOR_DATA]), in qca_drv_connect_fail_reason_code_handler()
361 nla_len(tb[NL80211_ATTR_VENDOR_DATA]), NULL); in qca_drv_connect_fail_reason_code_handler()
429 struct nlattr *tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_MAX + 1]; in qca_nl80211_link_reconfig_event() local
437 if (nla_parse(tb, QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_MAX, in qca_nl80211_link_reconfig_event()
439 !tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_AP_MLD_ADDR]) in qca_nl80211_link_reconfig_event()
442 ap_mld = nla_data(tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_AP_MLD_ADDR]); in qca_nl80211_link_reconfig_event()
468 if (!tb[QCA_WLAN_VENDOR_ATTR_LINK_RECONFIG_REMOVED_LINKS]) in qca_nl80211_link_reconfig_event()
[all …]
HDdriver_nl80211_capa.c106 struct nlattr *tb) in wiphy_info_supported_iftypes() argument
111 if (tb == NULL) in wiphy_info_supported_iftypes()
114 nla_for_each_nested(nl_mode, tb, i) { in wiphy_info_supported_iftypes()
206 struct nlattr *tb) in wiphy_info_iface_comb() argument
211 if (tb == NULL) in wiphy_info_iface_comb()
214 nla_for_each_nested(nl_combi, tb, rem_combi) { in wiphy_info_iface_comb()
222 struct nlattr *tb) in wiphy_info_supp_cmds() argument
227 if (tb == NULL) in wiphy_info_supp_cmds()
230 nla_for_each_nested(nl_cmd, tb, i) { in wiphy_info_supp_cmds()
258 static unsigned int get_akm_suites_info(struct nlattr *tb) in get_akm_suites_info() argument
[all …]
/freebsd-13-stable/contrib/sendmail/src/
HDtimers.c57 addtimer(ta, tb) in addtimer() argument
59 TIMER *tb;
61 tb->ti_wall_sec += ta->ti_wall_sec;
62 tb->ti_wall_usec += ta->ti_wall_usec;
63 if (tb->ti_wall_usec > 1000000)
65 tb->ti_wall_sec++;
66 tb->ti_wall_usec -= 1000000;
68 tb->ti_cpu_sec += ta->ti_cpu_sec;
69 tb->ti_cpu_usec += ta->ti_cpu_usec;
70 if (tb->ti_cpu_usec > 1000000)
[all …]
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
HDlstring.c65 stringtable *tb = &G(L)->strt; in luaS_resize() local
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()
73 for (i=0; i<tb->size; i++) { in luaS_resize()
74 GCObject *p = tb->hash[i]; in luaS_resize()
75 tb->hash[i] = NULL; in luaS_resize()
79 gch(p)->next = tb->hash[h]; /* chain it */ in luaS_resize()
80 tb->hash[h] = p; in luaS_resize()
85 if (newsize < tb->size) { in luaS_resize()
[all …]
/freebsd-13-stable/contrib/lua/src/
HDlstring.c86 stringtable *tb = &G(L)->strt; in luaS_resize() local
87 int osize = tb->size; in luaS_resize()
90 tablerehash(tb->hash, osize, nsize); /* depopulate shrinking part */ in luaS_resize()
91 newvect = luaM_reallocvector(L, tb->hash, osize, nsize, TString*); in luaS_resize()
94 tablerehash(tb->hash, nsize, osize); /* restore to original size */ in luaS_resize()
98 tb->hash = newvect; in luaS_resize()
99 tb->size = nsize; in luaS_resize()
126 stringtable *tb = &G(L)->strt; in luaS_init() local
127 tb->hash = luaM_newvector(L, MINSTRTABSIZE, TString*); in luaS_init()
128 tablerehash(tb->hash, 0, MINSTRTABSIZE); /* clear array */ in luaS_init()
[all …]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_delta/
HDtext_delta.c430 struct txdelta_baton tb = { 0 }; in svn_txdelta_run() local
433 tb.source = source; in svn_txdelta_run()
434 tb.target = target; in svn_txdelta_run()
435 tb.more_source = TRUE; in svn_txdelta_run()
436 tb.more = TRUE; in svn_txdelta_run()
437 tb.pos = 0; in svn_txdelta_run()
438 tb.buf = apr_palloc(scratch_pool, 2 * SVN_DELTA_WINDOW_SIZE); in svn_txdelta_run()
439 tb.result_pool = result_pool; in svn_txdelta_run()
442 tb.context = svn_checksum_ctx_create(checksum_kind, scratch_pool); in svn_txdelta_run()
450 SVN_ERR(txdelta_next_window(&window, &tb, iterpool)); in svn_txdelta_run()
[all …]
/freebsd-13-stable/contrib/elftoolchain/size/
HDsize.c80 } *tb; variable
829 assert(tb == NULL); in tbl_new()
831 if ((tb = calloc(1, sizeof(*tb))) == NULL) in tbl_new()
833 if ((tb->tbl = calloc(col, sizeof(*tb->tbl))) == NULL) in tbl_new()
835 if ((tb->width = calloc(col, sizeof(*tb->width))) == NULL) in tbl_new()
837 tb->col = col; in tbl_new()
838 tb->row = 0; in tbl_new()
846 assert(tb != NULL && tb->col > 0 && tb->row > 0 && col < tb->col); in tbl_print()
847 assert(s != NULL && tb->tbl[col][tb->row - 1] == NULL); in tbl_print()
848 if ((tb->tbl[col][tb->row - 1] = strdup(s)) == NULL) in tbl_print()
[all …]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_diff/
HDdiff_tree.c1258 struct tee_baton_t *tb = processor->baton; in tee_dir_opened() local
1262 SVN_ERR(tb->p1->dir_opened(&(nb->baton1), in tee_dir_opened()
1270 tb->p1, in tee_dir_opened()
1274 SVN_ERR(tb->p2->dir_opened(&(nb->baton2), in tee_dir_opened()
1282 tb->p2, in tee_dir_opened()
1301 struct tee_baton_t *tb = processor->baton; in tee_dir_added() local
1304 SVN_ERR(tb->p1->dir_added(relpath, in tee_dir_added()
1310 tb->p1, in tee_dir_added()
1313 SVN_ERR(tb->p2->dir_added(relpath, in tee_dir_added()
1319 tb->p2, in tee_dir_added()
[all …]
/freebsd-13-stable/contrib/llvm-project/libunwind/src/
HDUnwind_AIXExtras.cpp31 if (!TBTable->tb.name_present) in getFuncNameFromTBTable()
38 if (TBTable->tb.fixedparms || TBTable->tb.floatparms) in getFuncNameFromTBTable()
43 if (TBTable->tb.has_tboff) { in getFuncNameFromTBTable()
51 if (TBTable->tb.int_hndl) in getFuncNameFromTBTable()
55 if (TBTable->tb.has_ctl) { in getFuncNameFromTBTable()
HDUnwindLevel1-gcc-ext.c107 if (TBTable->tb.fixedparms || TBTable->tb.floatparms) in _Unwind_FindEnclosingFunction()
110 if (TBTable->tb.has_tboff) in _Unwind_FindEnclosingFunction()
337 void *tb, void *db) { in __register_frame_info_bases() argument
340 (void)tb; in __register_frame_info_bases()
343 fde, ob, tb, db); in __register_frame_info_bases()
355 void *ob, void *tb, in __register_frame_info_table_bases() argument
359 (void)tb; in __register_frame_info_table_bases()
362 "(%p,%p, %p, %p)", fde, ob, tb, db); in __register_frame_info_table_bases()
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
HDsa.c409 sa_lot_t *tb, *findtb; in sa_add_layout_entry() local
414 tb = kmem_zalloc(sizeof (sa_lot_t), KM_SLEEP); in sa_add_layout_entry()
415 tb->lot_attr_count = attr_count; in sa_add_layout_entry()
416 tb->lot_attrs = kmem_alloc(sizeof (sa_attr_type_t) * attr_count, in sa_add_layout_entry()
418 bcopy(attrs, tb->lot_attrs, sizeof (sa_attr_type_t) * attr_count); in sa_add_layout_entry()
419 tb->lot_num = lot_num; in sa_add_layout_entry()
420 tb->lot_hash = hash; in sa_add_layout_entry()
421 tb->lot_instance = 0; in sa_add_layout_entry()
438 list_create(&tb->lot_idx_tab, sizeof (sa_idx_tab_t), in sa_add_layout_entry()
442 if (sa->sa_attr_table[tb->lot_attrs[i]].sa_length == 0) in sa_add_layout_entry()
[all …]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_x/
HDtree.c1910 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in window_consumer() local
1915 SVN_ERR(tb->interpreter(window, tb->interpreter_baton)); in window_consumer()
1920 SVN_ERR(svn_fs_x__dag_finalize_edits(tb->node, tb->result_checksum, in window_consumer()
1921 tb->pool)); in window_consumer()
1932 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in apply_textdelta() local
1934 svn_fs_x__txn_id_t txn_id = svn_fs_x__root_txn_id(tb->root); in apply_textdelta()
1938 SVN_ERR(svn_fs_x__get_dag_path(&dag_path, tb->root, tb->path, 0, TRUE, in apply_textdelta()
1943 if (tb->root->txn_flags & SVN_FS_TXN_CHECK_LOCKS) in apply_textdelta()
1944 SVN_ERR(svn_fs_x__allow_locked_operation(tb->path, tb->root->fs, in apply_textdelta()
1948 SVN_ERR(svn_fs_x__make_path_mutable(tb->root, dag_path, tb->path, in apply_textdelta()
[all …]
/freebsd-13-stable/sys/netpfil/ipfw/
HDip_fw_table_algo.c663 struct ta_buf_radix *tb; in ta_prepare_add_addr_radix() local
671 tb = (struct ta_buf_radix *)ta_buf; in ta_prepare_add_addr_radix()
684 mask = (struct sockaddr *)&tb->addr.a4.ma; in ta_prepare_add_addr_radix()
685 tb->ent_ptr = ent; in ta_prepare_add_addr_radix()
696 mask = (struct sockaddr *)&tb->addr.a6.ma; in ta_prepare_add_addr_radix()
697 tb->ent_ptr = xent; in ta_prepare_add_addr_radix()
706 tb->addr_ptr = addr; in ta_prepare_add_addr_radix()
708 tb->mask_ptr = mask; in ta_prepare_add_addr_radix()
720 struct ta_buf_radix *tb; in ta_add_addr_radix() local
724 tb = (struct ta_buf_radix *)ta_buf; in ta_add_addr_radix()
[all …]
/freebsd-13-stable/sys/kern/
HDsubr_taskqueue.c130 struct taskqueue_busy *tb; in task_get_busy() local
133 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in task_get_busy()
134 if (tb->tb_running == task) in task_get_busy()
135 return (tb); in task_get_busy()
236 struct taskqueue_busy *tb; in taskqueue_enqueue_locked() local
243 tb = task_get_busy(queue, task); in taskqueue_enqueue_locked()
244 if (tb != NULL && tb->tb_canceling) { in taskqueue_enqueue_locked()
438 struct taskqueue_busy *tb; in taskqueue_drain_tq_active() local
450 LIST_FOREACH(tb, &queue->tq_active, tb_link) { in taskqueue_drain_tq_active()
451 if ((int)(tb->tb_seq - seq) <= 0) { in taskqueue_drain_tq_active()
[all …]
HDkern_thread.c299 tidbatch_prep(struct tidbatch *tb) in tidbatch_prep() argument
302 tb->n = 0; in tidbatch_prep()
306 tidbatch_add(struct tidbatch *tb, struct thread *td) in tidbatch_add() argument
309 KASSERT(tb->n < nitems(tb->tab), in tidbatch_add()
310 ("%s: count too high %d", __func__, tb->n)); in tidbatch_add()
311 tb->tab[tb->n] = td->td_tid; in tidbatch_add()
312 tb->n++; in tidbatch_add()
316 tidbatch_process(struct tidbatch *tb) in tidbatch_process() argument
319 KASSERT(tb->n <= nitems(tb->tab), in tidbatch_process()
320 ("%s: count too high %d", __func__, tb->n)); in tidbatch_process()
[all …]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_base/
HDtree.c3701 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in txn_body_txdelta_finalize_edits() local
3702 SVN_ERR(svn_fs_base__dag_finalize_edits(tb->node, in txn_body_txdelta_finalize_edits()
3703 tb->result_checksum, in txn_body_txdelta_finalize_edits()
3704 tb->root->txn, in txn_body_txdelta_finalize_edits()
3708 return add_change(tb->root->fs, tb->root->txn, tb->path, in txn_body_txdelta_finalize_edits()
3709 svn_fs_base__dag_get_id(tb->node), in txn_body_txdelta_finalize_edits()
3722 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in write_to_string() local
3723 svn_stringbuf_appendbytes(tb->target_string, data, *len); in write_to_string()
3733 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in window_consumer() local
3738 SVN_ERR(tb->interpreter(window, tb->interpreter_baton)); in window_consumer()
[all …]
/freebsd-13-stable/contrib/bearssl/src/int/
HDi32_muladd.c33 uint32_t a0, a1, b0, hi, g, q, tb; in br_i32_muladd_small() local
107 tb = 1; in br_i32_muladd_small()
120 tb = MUX(EQ(nxw, mw), tb, GT(nxw, mw)); in br_i32_muladd_small()
135 under = ~over & (tb | (~chf & LT(clow, hi))); in br_i32_muladd_small()
HDi31_muladd.c34 uint32_t a0, a1, b0, hi, g, q, tb; in br_i31_muladd_small() local
127 tb = 1; in br_i31_muladd_small()
141 tb = MUX(EQ(nxw, mw), tb, GT(nxw, mw)); in br_i31_muladd_small()
154 under = ~over & (tb | LT(cc, hi)); in br_i31_muladd_small()
HDi15_muladd.c64 uint32_t cc, tb, over, under; in br_i15_muladd_small() local
146 tb = 1; in br_i15_muladd_small()
159 tb = MUX(EQ(nxw, mw), tb, GT(nxw, mw)); in br_i15_muladd_small()
170 under = ~over & (tb | LT(cc, hi)); in br_i15_muladd_small()
/freebsd-13-stable/contrib/subversion/subversion/libsvn_fs_fs/
HDtree.c3005 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in window_consumer() local
3010 SVN_ERR(tb->interpreter(window, tb->interpreter_baton)); in window_consumer()
3015 SVN_ERR(svn_fs_fs__dag_finalize_edits(tb->node, tb->result_checksum, in window_consumer()
3016 tb->pool)); in window_consumer()
3026 txdelta_baton_t *tb = (txdelta_baton_t *) baton; in apply_textdelta() local
3028 const svn_fs_fs__id_part_t *txn_id = root_txn_id(tb->root); in apply_textdelta()
3032 SVN_ERR(open_path(&parent_path, tb->root, tb->path, 0, TRUE, pool)); in apply_textdelta()
3036 if (tb->root->txn_flags & SVN_FS_TXN_CHECK_LOCKS) in apply_textdelta()
3037 SVN_ERR(svn_fs_fs__allow_locked_operation(tb->path, tb->root->fs, in apply_textdelta()
3041 SVN_ERR(make_path_mutable(tb->root, parent_path, tb->path, pool)); in apply_textdelta()
[all …]
/freebsd-13-stable/contrib/bsnmp/lib/
HDsnmp.c288 struct asn_buf tb; in parse_secparams() local
291 tb.asn_ptr = buf; in parse_secparams()
292 tb.asn_len = 256; in parse_secparams()
299 tb.asn_len = len; in parse_secparams()
301 if (asn_get_sequence(&tb, &octs_len) != ASN_ERR_OK) { in parse_secparams()
307 if (asn_get_octetstring(&tb, (u_char *)&pdu->engine.engine_id, in parse_secparams()
314 if (asn_get_integer(&tb, &pdu->engine.engine_boots) != ASN_ERR_OK) { in parse_secparams()
319 if (asn_get_integer(&tb, &pdu->engine.engine_time) != ASN_ERR_OK) { in parse_secparams()
325 if (asn_get_octetstring(&tb, (u_char *)&pdu->user.sec_name, &octs_len) in parse_secparams()
333 if (asn_get_octetstring(&tb, (u_char *)&pdu->msg_digest, &octs_len) != in parse_secparams()
[all …]
/freebsd-13-stable/lib/libc/powerpc64/sys/
HD__vdso_gettc.c47 u_quad_t tb; in __vdso_gettc() local
52 __asm __volatile ("mftb %0" : "=r"(tb)); in __vdso_gettc()
53 *tc = tb; in __vdso_gettc()
/freebsd-13-stable/contrib/bearssl/T0/
HDTPointerBlob.cs72 TPointerBlob tb = tp as TPointerBlob; in Equals()
73 return tb != null && Blob == tb.Blob; in Equals()
/freebsd-13-stable/lib/libc/nameser/
HDns_samedomain.c200 char ta[NS_MAXDNAME], tb[NS_MAXDNAME]; in ns_samename() local
203 ns_makecanon(b, tb, sizeof tb) < 0) in ns_samename()
205 if (strcasecmp(ta, tb) == 0) in ns_samename()
/freebsd-13-stable/usr.bin/leave/
HDleave.c140 char tb[80]; in doalarm() local
146 strftime(tb, sizeof(tb), "%+", localtime(&daytime)); in doalarm()
147 printf("Alarm set for %s. (pid %d)\n", tb, pid); in doalarm()

1234