| /freebsd-14.2/contrib/wpa/src/drivers/ |
| H A D | driver_nl80211_event.c | 548 if (!tb[NL80211_ATTR_MLO_LINK_ID] || !tb[NL80211_ATTR_MAC] || in nl80211_parse_mlo_link_info() 1925 if (!tb[NL80211_ATTR_MAC] || !tb[NL80211_ATTR_IE]) in mlme_event_dh_event() 2161 !tb[NL80211_ATTR_MAC] || !tb[NL80211_ATTR_IE]) in nl80211_new_peer_candidate() 2378 if (!tb[NL80211_ATTR_MAC] || !tb[NL80211_ATTR_TDLS_OPERATION]) in nl80211_tdls_oper_event() 2429 if (!tb[NL80211_ATTR_MAC] || !tb[NL80211_ATTR_CONN_FAILED_REASON]) in nl80211_connect_failed_event() 2459 struct nlattr **tb) in nl80211_radar_event() argument 2464 if (!tb[NL80211_ATTR_WIPHY_FREQ] || !tb[NL80211_ATTR_RADAR_EVENT]) in nl80211_radar_event() 3967 tb[NL80211_ATTR_MAC], tb[NL80211_ATTR_TIMED_OUT], in do_process_drv_event() 3968 tb[NL80211_ATTR_WIPHY_FREQ], tb[NL80211_ATTR_ACK], in do_process_drv_event() 4246 tb[NL80211_ATTR_MAC], tb[NL80211_ATTR_TIMED_OUT], in process_bss_event() [all …]
|
| H A D | driver_nl80211_capa.c | 111 if (tb == NULL) in wiphy_info_supported_iftypes() 211 if (tb == NULL) in wiphy_info_iface_comb() 227 if (tb == NULL) in wiphy_info_supp_cmds() 264 if (!tb) in get_akm_suites_info() 416 if (!tb) in wiphy_info_iftype_akm_suites() 427 if (!tb) in wiphy_info_akm_suites() 443 if (tb == NULL) in wiphy_info_cipher_suites() 499 if (tb) in wiphy_info_max_roc() 540 if (tb == NULL) in wiphy_info_ext_feature_flags() 732 if (tb == NULL) in wiphy_info_feature_flags() [all …]
|
| /freebsd-14.2/contrib/sendmail/src/ |
| H A D | timers.c | 57 addtimer(ta, tb) in addtimer() argument 59 TIMER *tb; 65 tb->ti_wall_sec++; 72 tb->ti_cpu_sec++; 73 tb->ti_cpu_usec -= 1000000; 78 subtimer(ta, tb) in subtimer() argument 80 TIMER *tb; 84 if (tb->ti_wall_usec < 0) 86 tb->ti_wall_sec--; 91 if (tb->ti_cpu_usec < 0) [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/module/lua/ |
| H A D | lstring.c | 67 if (newsize > tb->size) { in luaS_resize() 68 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize() 69 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL; in luaS_resize() 74 tb->hash[i] = NULL; in luaS_resize() 79 tb->hash[h] = p; in luaS_resize() 86 lua_assert(tb->hash[newsize] == NULL && tb->hash[tb->size - 1] == NULL); in luaS_resize() 87 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *); in luaS_resize() 89 tb->size = newsize; in luaS_resize() 121 if (tb->nuse >= cast(lu_int32, tb->size) && tb->size <= MAX_INT/2) in newshrstr() 123 list = &tb->hash[lmod(h, tb->size)]; in newshrstr() [all …]
|
| /freebsd-14.2/contrib/lua/src/ |
| H A D | lstring.c | 87 int osize = tb->size; in luaS_resize() 98 tb->hash = newvect; in luaS_resize() 99 tb->size = nsize; in luaS_resize() 129 tb->size = MINSTRTABSIZE; in luaS_init() 166 TString **p = &tb->hash[lmod(ts->hash, tb->size)]; in luaS_remove() 170 tb->nuse--; in luaS_remove() 193 TString **list = &tb->hash[lmod(h, tb->size)]; in internshrstr() 204 if (tb->nuse >= tb->size) { /* need to grow string table? */ in internshrstr() 205 growstrtab(L, tb); in internshrstr() 206 list = &tb->hash[lmod(h, tb->size)]; /* rehash with new size */ in internshrstr() [all …]
|
| /freebsd-14.2/contrib/elftoolchain/size/ |
| H A D | size.c | 80 } *tb; variable 831 if ((tb = calloc(1, sizeof(*tb))) == NULL) in tbl_new() 846 assert(tb != NULL && tb->col > 0 && tb->row > 0 && col < tb->col); in tbl_print() 848 if ((tb->tbl[col][tb->row - 1] = strdup(s)) == NULL) in tbl_print() 870 assert(tb != NULL && tb->col > 0); in tbl_append() 871 tb->row++; in tbl_append() 873 tb->tbl[i] = realloc(tb->tbl[i], sizeof(*tb->tbl[i]) * tb->row); in tbl_append() 876 tb->tbl[i][tb->row - 1] = NULL; in tbl_append() 894 str = (tb->tbl[j][i] != NULL ? tb->tbl[j][i] : ""); in tbl_flush() 917 free(tb); in tbl_flush() [all …]
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/ |
| H A D | testmode.c | 430 if (tb[MT76_TM_ATTR_RESET]) { in mt76_testmode_cmd() 437 if (tb[MT76_TM_ATTR_TX_COUNT]) in mt76_testmode_cmd() 440 if (tb[MT76_TM_ATTR_TX_RATE_IDX]) in mt76_testmode_cmd() 460 if (tb[MT76_TM_ATTR_TX_LENGTH]) { in mt76_testmode_cmd() 470 if (tb[MT76_TM_ATTR_TX_IPG]) in mt76_testmode_cmd() 473 if (tb[MT76_TM_ATTR_TX_TIME]) in mt76_testmode_cmd() 479 if (tb[MT76_TM_ATTR_STATE]) { in mt76_testmode_cmd() 487 if (tb[MT76_TM_ATTR_TX_POWER]) { in mt76_testmode_cmd() 522 if (tb[i]) in mt76_testmode_cmd() 526 if (tb[MT76_TM_ATTR_STATE]) in mt76_testmode_cmd() [all …]
|
| /freebsd-14.2/sys/contrib/dev/athk/ath11k/ |
| H A D | testmode.c | 196 const void **tb; in ath11k_tm_wmi_event_segmented() local 202 if (IS_ERR(tb)) { in ath11k_tm_wmi_event_segmented() 203 ret = PTR_ERR(tb); in ath11k_tm_wmi_event_segmented() 208 ev = tb[WMI_TAG_ARRAY_BYTE]; in ath11k_tm_wmi_event_segmented() 211 kfree(tb); in ath11k_tm_wmi_event_segmented() 220 kfree(tb); in ath11k_tm_wmi_event_segmented() 313 if (!tb[ATH11K_TM_ATTR_DATA]) { in ath11k_tm_cmd_wmi() 318 if (!tb[ATH11K_TM_ATTR_WMI_CMDID]) { in ath11k_tm_cmd_wmi() 412 if (!tb[ATH11K_TM_ATTR_DATA]) { in ath11k_tm_cmd_wmi_ftm() 487 if (!tb[ATH11K_TM_ATTR_CMD]) in ath11k_tm_cmd() [all …]
|
| H A D | wmi.c | 283 tb = kcalloc(WMI_TAG_MAX, sizeof(*tb), gfp); in ath11k_wmi_tlv_parse_alloc() 284 if (!tb) in ath11k_wmi_tlv_parse_alloc() 289 kfree(tb); in ath11k_wmi_tlv_parse_alloc() 293 return tb; in ath11k_wmi_tlv_parse_alloc() 4182 kfree(tb); in ath11k_wmi_obss_color_collision_event() 5302 kfree(tb); in ath11k_pull_vdev_start_resp_tlv() 5484 kfree(tb); in ath11k_pull_reg_chan_list_update_ev() 5919 kfree(tb); in ath11k_pull_reg_chan_list_ext_update_ev() 5950 kfree(tb); in ath11k_pull_peer_del_resp_ev() 5978 kfree(tb); in ath11k_pull_vdev_del_resp_ev() [all …]
|
| /freebsd-14.2/contrib/llvm-project/libunwind/src/ |
| H A D | Unwind_AIXExtras.cpp | 31 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()
|
| H A D | UnwindLevel1-gcc-ext.c | 107 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-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | sa.c | 457 return (tb); in sa_add_layout_entry() 473 if (tb) { in sa_find_layout() 474 for (; tb && tb->lot_hash == hash; in sa_find_layout() 475 tb = AVL_NEXT(&sa->sa_layout_hash_tree, tb)) { in sa_find_layout() 487 *lot = tb; in sa_find_layout() 956 tb[i].sa_name = in sa_attr_table_setup() 1010 *user_table = tb; in sa_setup() 1187 ASSERT(tb); in sa_attr_iter() 1716 ASSERT(tb); in sa_find_idx_tab() 1757 tb, idx_tab); in sa_find_idx_tab() [all …]
|
| /freebsd-14.2/sys/contrib/dev/athk/ath10k/ |
| H A D | testmode.c | 385 if (!tb[ATH10K_TM_ATTR_DATA]) { in ath10k_tm_cmd_wmi() 390 if (!tb[ATH10K_TM_ATTR_WMI_CMDID]) { in ath10k_tm_cmd_wmi() 395 buf = nla_data(tb[ATH10K_TM_ATTR_DATA]); in ath10k_tm_cmd_wmi() 396 buf_len = nla_len(tb[ATH10K_TM_ATTR_DATA]); in ath10k_tm_cmd_wmi() 431 struct nlattr *tb[ATH10K_TM_ATTR_MAX + 1]; in ath10k_tm_cmd() local 439 if (!tb[ATH10K_TM_ATTR_CMD]) in ath10k_tm_cmd() 442 switch (nla_get_u32(tb[ATH10K_TM_ATTR_CMD])) { in ath10k_tm_cmd() 444 return ath10k_tm_cmd_get_version(ar, tb); in ath10k_tm_cmd() 446 return ath10k_tm_cmd_utf_start(ar, tb); in ath10k_tm_cmd() 448 return ath10k_tm_cmd_utf_stop(ar, tb); in ath10k_tm_cmd() [all …]
|
| H A D | wmi-tlv.c | 159 tb = kcalloc(WMI_TLV_TAG_MAX, sizeof(*tb), gfp); in ath10k_wmi_tlv_parse_alloc() 160 if (!tb) in ath10k_wmi_tlv_parse_alloc() 165 kfree(tb); in ath10k_wmi_tlv_parse_alloc() 169 return tb; in ath10k_wmi_tlv_parse_alloc() 198 kfree(tb); in ath10k_wmi_tlv_event_bcn_tx_status() 223 kfree(tb); in ath10k_wmi_tlv_event_bcn_tx_status() 310 kfree(tb); in ath10k_wmi_tlv_op_pull_peer_stats_info() 389 kfree(tb); in ath10k_wmi_tlv_event_diag_data() 417 kfree(tb); in ath10k_wmi_tlv_event_diag() 451 kfree(tb); in ath10k_wmi_tlv_event_p2p_noa() [all …]
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 736 rn = rnh->rnh_lookup(tb->addr_ptr, tb->mask_ptr, &rnh->rh); in ta_add_addr_radix() 760 rn = rnh->rnh_addaddr(tb->addr_ptr, tb->mask_ptr, &rnh->rh,tb->ent_ptr); in ta_add_addr_radix() 831 rn = rnh->rnh_deladdr(tb->addr_ptr, tb->mask_ptr, &rnh->rh); in ta_del_addr_radix() 1654 ent = &tb->ent; in ta_del_chash() 2219 tb->ife = ife; in ta_prepare_add_ifidx() 2239 ife = tb->ife; in ta_add_ifidx() 2278 tb->ife = NULL; in ta_add_ifidx() 2348 tb->ife = ife; in ta_del_ifidx() 4169 rn = rnh->rnh_lookup(tb->addr_ptr, tb->mask_ptr, &rnh->rh); in ta_add_mac_radix() 4190 rn = rnh->rnh_addaddr(tb->addr_ptr, tb->mask_ptr, &rnh->rh, tb->ent_ptr); in ta_add_mac_radix() [all …]
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | rename9.sh | 102 struct stat fb, tb, fa, ta; 112 bzero(&tb, sizeof(tb)); 129 stat(toFile, &tb); 136 if (tb.st_ino == ta.st_ino) { 146 toFile, (uintmax_t)tb.st_ino, (uintmax_t)tb.st_nlink, 147 tb.st_blocks);
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_thread.c | 301 tb->n = 0; in tidbatch_prep() 308 KASSERT(tb->n < nitems(tb->tab), in tidbatch_add() 310 tb->tab[tb->n] = td->td_tid; in tidbatch_add() 311 tb->n++; in tidbatch_add() 318 KASSERT(tb->n <= nitems(tb->tab), in tidbatch_process() 320 if (tb->n == nitems(tb->tab)) { in tidbatch_process() 321 tid_free_batch(tb->tab, tb->n); in tidbatch_process() 330 KASSERT(tb->n <= nitems(tb->tab), in tidbatch_final() 333 tid_free_batch(tb->tab, tb->n); in tidbatch_final() 348 tb->n = 0; in tdcountbatch_prep() [all …]
|
| H A D | subr_taskqueue.c | 130 struct taskqueue_busy *tb; in task_get_busy() local 135 return (tb); in task_get_busy() 236 struct taskqueue_busy *tb; in taskqueue_enqueue_locked() local 244 if (tb != NULL && tb->tb_canceling) { in taskqueue_enqueue_locked() 438 struct taskqueue_busy *tb; in taskqueue_drain_tq_active() local 488 struct taskqueue_busy tb; in taskqueue_run_locked() local 495 tb.tb_running = NULL; in taskqueue_run_locked() 505 tb.tb_running = task; in taskqueue_run_locked() 507 tb.tb_canceling = false; in taskqueue_run_locked() 570 if (tb != NULL) { in taskqueue_cancel_locked() [all …]
|
| /freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7921/ |
| H A D | testmode.c | 114 struct nlattr *tb[NUM_MT76_TM_ATTRS]; in mt7921_testmode_cmd() local 123 err = nla_parse_deprecated(tb, MT76_TM_ATTR_MAX, data, len, in mt7921_testmode_cmd() 128 if (tb[MT76_TM_ATTR_DRV_DATA]) { in mt7921_testmode_cmd() 132 data = tb[MT76_TM_ATTR_DRV_DATA]; in mt7921_testmode_cmd() 151 struct nlattr *tb[NUM_MT76_TM_ATTRS]; in mt7921_testmode_dump() local 164 err = nla_parse_deprecated(tb, MT76_TM_ATTR_MAX, data, len, in mt7921_testmode_dump() 169 if (tb[MT76_TM_ATTR_DRV_DATA]) { in mt7921_testmode_dump() 173 data = tb[MT76_TM_ATTR_DRV_DATA]; in mt7921_testmode_dump()
|
| /freebsd-14.2/contrib/bearssl/src/int/ |
| H A D | i32_muladd.c | 33 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()
|
| H A D | i31_muladd.c | 34 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()
|
| H A D | i15_muladd.c | 64 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-14.2/sys/contrib/dev/athk/ath12k/ |
| H A D | wmi.c | 378 tb = kcalloc(WMI_TAG_MAX, sizeof(*tb), gfp); in ath12k_wmi_tlv_parse_alloc() 379 if (!tb) in ath12k_wmi_tlv_parse_alloc() 384 kfree(tb); in ath12k_wmi_tlv_parse_alloc() 388 return tb; in ath12k_wmi_tlv_parse_alloc() 4561 kfree(tb); in ath12k_pull_vdev_start_resp_tlv() 4909 kfree(tb); in ath12k_pull_reg_chan_list_ext_update_ev() 4940 kfree(tb); in ath12k_pull_peer_del_resp_ev() 4968 kfree(tb); in ath12k_pull_vdev_del_resp_ev() 4997 kfree(tb); in ath12k_pull_bcn_tx_status_ev() 5024 kfree(tb); in ath12k_pull_vdev_stopped_param_tlv() [all …]
|
| /freebsd-14.2/lib/libc/powerpc64/sys/ |
| H A D | __vdso_gettc.c | 46 u_quad_t tb; in __vdso_gettc() local 51 __asm __volatile ("mftb %0" : "=r"(tb)); in __vdso_gettc() 52 *tc = tb; in __vdso_gettc()
|
| /freebsd-14.2/contrib/bsnmp/lib/ |
| H A D | snmp.c | 288 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() 360 struct asn_buf tb; in pdu_encode_secparams() local 365 tb.asn_ptr = buf; in pdu_encode_secparams() 366 tb.asn_len = 256; in pdu_encode_secparams() 387 auth_off = sizeof(buf) - tb.asn_len + ASN_MAXLENLEN; in pdu_encode_secparams() 398 if (asn_put_octetstring(&tb, (u_char *)pdu->msg_salt, in pdu_encode_secparams() [all …]
|