Home
last modified time | relevance | path

Searched full:ht (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/linux/lib/
H A Drhashtable.c37 static u32 head_hashfn(struct rhashtable *ht, in head_hashfn() argument
41 return rht_head_hashfn(ht, tbl, he, ht->p); in head_hashfn()
45 #define ASSERT_RHT_MUTEX(HT) BUG_ON(!lockdep_rht_mutex_is_held(HT)) argument
47 int lockdep_rht_mutex_is_held(struct rhashtable *ht) in lockdep_rht_mutex_is_held() argument
49 return (debug_locks) ? lockdep_is_held(&ht->mutex) : 1; in lockdep_rht_mutex_is_held()
63 #define ASSERT_RHT_MUTEX(HT) argument
122 static union nested_table *nested_table_alloc(struct rhashtable *ht, in nested_table_alloc() argument
133 ntbl = alloc_hooks_tag(ht->alloc_tag, in nested_table_alloc()
148 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc() argument
161 tbl = alloc_hooks_tag(ht->alloc_tag, in nested_bucket_table_alloc()
[all …]
H A Dtest_rhashtable.c116 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() argument
124 err = rhashtable_insert_fast(ht, &obj->node, params); in insert_retry()
138 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() argument
153 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup()
176 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats() argument
182 rhashtable_walk_enter(ht, &hti); in test_bucket_stats()
203 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
205 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
209 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() argument
227 err = insert_retry(ht, ob in test_rhashtable()
267 static struct rhashtable ht; global() variable
472 struct rhashtable *ht; print_ht() local
[all...]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dtable.c2982 "FCC", "2.4G", "20M", "HT", "1T", "01", "34",
2983 "ETSI", "2.4G", "20M", "HT", "1T", "01", "32",
2984 "MKK", "2.4G", "20M", "HT", "1T", "01", "32",
2985 "FCC", "2.4G", "20M", "HT", "1T", "02", "36",
2986 "ETSI", "2.4G", "20M", "HT", "1T", "02", "32",
2987 "MKK", "2.4G", "20M", "HT", "1T", "02", "32",
2988 "FCC", "2.4G", "20M", "HT", "1T", "03", "36",
2989 "ETSI", "2.4G", "20M", "HT", "1T", "03", "32",
2990 "MKK", "2.4G", "20M", "HT", "1T", "03", "32",
2991 "FCC", "2.4G", "20M", "HT", "1T", "04", "36",
[all …]
/linux/drivers/staging/rtl8723bs/hal/
H A DHalHWImg8723B_RF.c445 "FCC", "20M", "HT", "1T", "01", "26",
446 "ETSI", "20M", "HT", "1T", "01", "32",
447 "MKK", "20M", "HT", "1T", "01", "32",
448 "FCC", "20M", "HT", "1T", "02", "26",
449 "ETSI", "20M", "HT", "1T", "02", "32",
450 "MKK", "20M", "HT", "1T", "02", "32",
451 "FCC", "20M", "HT", "1T", "03", "32",
452 "ETSI", "20M", "HT", "1T", "03", "32",
453 "MKK", "20M", "HT", "1T", "03", "32",
454 "FCC", "20M", "HT", "1T", "04", "32",
[all …]
/linux/kernel/
H A Dsmpboot.c83 struct smp_hotplug_thread *ht; member
105 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local
114 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn()
115 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn()
123 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
125 ht->park(td->cpu); in smpboot_thread_fn()
140 if (ht->setup) in smpboot_thread_fn()
141 ht->setup(td->cpu); in smpboot_thread_fn()
148 if (ht->unpark) in smpboot_thread_fn()
149 ht->unpark(td->cpu); in smpboot_thread_fn()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/filters/
H A Du32.json18 …filter protocol ip pref 1 u32 chain (0[ ]+$|0 fh 800: ht divisor 1|0 fh 800::800 order 2048 key ht
63 …filter protocol ip pref 1 u32 chain (0[ ]+$|0 fh 800: ht divisor 1|0 fh 800::800 order 2048 key ht
85 "matchPattern": "pref 99 u32 chain (0[ ]+$|0 fh 42: ht divisor 256|0 fh 800: ht divisor 1)",
130 "matchPattern": "pref 99 u32 chain (0[ ]+$|0 fh 42: ht divisor 256|0 fh 800: ht divisor 1)",
153 …ilter protocol ip pref 98 u32 chain (0[ ]+$|0 fh 801: ht divisor 1|0 fh 801::800 order 2048 key ht
172 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 20 u32 ht 47:47 action drop…
194 …"$TC filter add dev $DEV1 ingress protocol ip prio 98 u32 ht 43: match tcp src 22 FFFF classid 1:3"
196 …"cmdUnderTest": "$TC filter replace dev $DEV1 ingress protocol ip prio 98 u32 ht 43:1 match tcp sr…
199 …r protocol ip pref 99 u32 chain (0[ ]+$|0 fh (43|800): ht divisor 1|0 fh 43::800 order 2048 key ht
219 … ff00ff ff0000ff ffff00ff; do $TC filter add dev $DEV1 ingress prio 99 u32 ht 1: sample u32 0x1020…
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.c11 struct rhashtable ht; member
43 err = rhashtable_init(&handle->ht, &act_counters_ht_params); in mlx5e_tc_act_stats_create()
56 rhashtable_destroy(&handle->ht); in mlx5e_tc_act_stats_free()
66 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_add() local
82 old_act_stats = rhashtable_lookup_get_insert_fast(ht, in mlx5e_tc_act_stats_add()
115 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_del_flow() local
118 act_stats = rhashtable_lookup_fast(ht, in mlx5e_tc_act_stats_del_flow()
122 rhashtable_remove_fast(ht, &act_stats->hash, in mlx5e_tc_act_stats_del_flow()
170 struct rhashtable *ht = &handle->ht; in mlx5e_tc_act_stats_fill_stats() local
176 item = rhashtable_lookup(ht, &fl_act->cookie, act_counters_ht_params); in mlx5e_tc_act_stats_fill_stats()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_phy.c104 mt76x02_tx_power_mask(t->ofdm[4], t->ofdm[6], t->ht[0], in mt76x02_phy_set_txpower()
105 t->ht[2])); in mt76x02_phy_set_txpower()
107 mt76x02_tx_power_mask(t->ht[4], t->ht[6], t->ht[8], in mt76x02_phy_set_txpower()
108 t->ht[10])); in mt76x02_phy_set_txpower()
110 mt76x02_tx_power_mask(t->ht[12], t->ht[14], t->ht[0], in mt76x02_phy_set_txpower()
111 t->ht[2])); in mt76x02_phy_set_txpower()
113 mt76x02_tx_power_mask(t->ht[4], t->ht[6], 0, 0)); in mt76x02_phy_set_txpower()
115 mt76x02_tx_power_mask(t->ofdm[7], t->vht[0], t->ht[7], in mt76x02_phy_set_txpower()
118 mt76x02_tx_power_mask(t->ht[14], 0, t->vht[0], t->vht[1])); in mt76x02_phy_set_txpower()
120 mt76x02_tx_power_mask(t->ht[7], 0, t->vht[0], t->vht[1])); in mt76x02_phy_set_txpower()
/linux/net/netfilter/
H A Dxt_hashlimit.c183 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst() argument
187 ht->rnd); in hash_dst()
189 * Instead of returning hash % ht->cfg.size (implying a divide) in hash_dst()
190 * we return the high 32 bits of the (hash * ht->cfg.size) that will in hash_dst()
194 return reciprocal_scale(hash, ht->cfg.size); in hash_dst()
198 dsthash_find(const struct xt_hashlimit_htable *ht, in dsthash_find() argument
202 u_int32_t hash = hash_dst(ht, dst); in dsthash_find()
204 if (!hlist_empty(&ht->hash[hash])) { in dsthash_find()
205 hlist_for_each_entry_rcu(ent, &ht->hash[hash], node) in dsthash_find()
216 dsthash_alloc_init(struct xt_hashlimit_htable *ht, in dsthash_alloc_init() argument
[all …]
H A Dnft_set_hash.c25 struct rhashtable ht; member
98 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_lookup()
118 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_get()
139 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_update()
149 prev = rhashtable_lookup_get_insert_key(&priv->ht, &arg, &he->node, in nft_rhash_update()
186 prev = rhashtable_lookup_get_insert_key(&priv->ht, &arg, &he->node, in nft_rhash_insert()
228 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_deactivate()
244 rhashtable_remove_fast(&priv->ht, &he->node, nft_rhash_params); in nft_rhash_delete()
258 he = rhashtable_lookup(&priv->ht, &arg, nft_rhash_params); in nft_rhash_delete()
274 rhashtable_walk_enter(&priv->ht, in nft_rhash_walk()
[all...]
/linux/arch/mips/pci/
H A Dfixup-sb1250.c24 * bus, so we set the bus's DMA limit accordingly. However the HT link
25 * down the artificial PCI-HT bridge supports 40-bit addressing and the
26 * SP1011 HT-PCI bridge downstream supports both DAC and a 64-bit bus
27 * width, so we record the PCI-HT bridge's secondary and subordinate bus
74 * The BCM1250, etc. PCI/HT bridge reports as a host bridge.
84 * Set the SP1011 HT/PCI bridge's TRDY timeout to the finite max.
H A Dpci-bcm1480ht.c8 * BCM1480/1455-specific HT support (looking like PCI)
52 * HT's level-sensitive interrupts require EOI, which is generated
162 .name = "BCM1480 HT MEM",
169 .name = "BCM1480 HT I/O",
188 /* CFE doesn't always init all HT paths, so we always scan */ in bcm1480ht_pcibios_init()
/linux/net/sched/
H A Dcls_fw.c30 struct fw_filter __rcu *ht[HTSIZE]; member
63 for (f = rcu_dereference_bh(head->ht[fw_hash(id)]); f; in fw_classify()
99 f = rtnl_dereference(head->ht[fw_hash(handle)]); in fw_get()
143 while ((f = rtnl_dereference(head->ht[h])) != NULL) { in fw_destroy()
144 RCU_INIT_POINTER(head->ht[h], in fw_destroy()
169 fp = &head->ht[fw_hash(f->id)]; in fw_delete()
185 if (rcu_access_pointer(head->ht[h])) { in fw_delete()
287 fp = &head->ht[fw_hash(fnew->id)]; in fw_change()
333 RCU_INIT_POINTER(f->next, head->ht[fw_hash(handle)]); in fw_change()
334 rcu_assign_pointer(head->ht[fw_hash(handle)], f); in fw_change()
[all …]
H A Dcls_route.c43 struct route4_filter __rcu *ht[16 + 16 + 1]; member
166 for (f = rcu_dereference_bh(b->ht[route4_hash_from(id)]); in route4_classify()
172 for (f = rcu_dereference_bh(b->ht[route4_hash_iif(iif)]); in route4_classify()
178 for (f = rcu_dereference_bh(b->ht[route4_hash_wild()]); in route4_classify()
234 for (f = rtnl_dereference(b->ht[h2]); in route4_get()
294 while ((f = rtnl_dereference(b->ht[h2])) != NULL) { in route4_destroy()
298 RCU_INIT_POINTER(b->ht[h2], next); in route4_destroy()
330 fp = &b->ht[from_hash(h >> 16)]; in route4_delete()
352 rt = rtnl_dereference(b->ht[i]); in route4_delete()
449 for (fp = rtnl_dereference(b->ht[h2]); in route4_set_parms()
[all …]
H A Dsch_sfq.c100 unsigned short hash; /* hash value (index in ht[]) */
119 sfq_index *ht; /* Hash table ('divisor' slots) */ member
317 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_drop()
361 x = q->ht[hash]; in sfq_enqueue()
367 q->ht[hash] = x; in sfq_enqueue()
503 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_dequeue()
554 q->ht[slot->hash] = SFQ_EMPTY_SLOT; in sfq_rehash()
560 sfq_index x = q->ht[hash]; in sfq_rehash()
573 q->ht[hash] = x; in sfq_rehash()
769 sfq_free(q->ht); in sfq_destroy()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib_vlan.c88 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_add_qpn() local
98 spin_lock_bh(&ht->ht_lock); in mlx5i_pkey_add_qpn()
99 hlist_add_head(&new_node->hlist, &ht->buckets[key]); in mlx5i_pkey_add_qpn()
100 spin_unlock_bh(&ht->ht_lock); in mlx5i_pkey_add_qpn()
109 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_del_qpn() local
112 node = mlx5i_find_qpn_to_netdev_node(ht->buckets, qpn); in mlx5i_pkey_del_qpn()
114 mlx5_core_warn(epriv->mdev, "QPN to netdev delete from HT failed\n"); in mlx5i_pkey_del_qpn()
118 spin_lock_bh(&ht->ht_lock); in mlx5i_pkey_del_qpn()
120 spin_unlock_bh(&ht->ht_lock); in mlx5i_pkey_del_qpn()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c166 if (ctx->ht.enabled) in iwlagn_update_qos()
603 if (!ctx->ht.enabled) { in _iwl_set_rxon_ht()
611 /* FIXME: if the definition of ht.protection changed, the "translation" in _iwl_set_rxon_ht()
614 rxon->flags |= cpu_to_le32(ctx->ht.protection << in _iwl_set_rxon_ht()
619 /* clear the HT channel mode before set the mode */ in _iwl_set_rxon_ht()
624 if (ctx->ht.protection == in _iwl_set_rxon_ht()
631 switch (ctx->ht.extension_chan_offset) { in _iwl_set_rxon_ht()
646 switch (ctx->ht.extension_chan_offset) { in _iwl_set_rxon_ht()
675 le32_to_cpu(rxon->flags), ctx->ht.protection, in _iwl_set_rxon_ht()
676 ctx->ht.extension_chan_offset); in _iwl_set_rxon_ht()
[all …]
/linux/Documentation/admin-guide/hw-vuln/
H A Dcore-scheduling.rst16 A cross-HT attack involves the attacker and victim running on different Hyper
18 full mitigation of cross-HT attacks is to disable Hyper Threading (HT). Core
19 scheduling is a scheduler feature that can mitigate some (not all) cross-HT
20 attacks. It allows HT to be turned on safely by ensuring that only tasks in a
133 on either HT::
181 Open cross-HT issues that core scheduling does not solve
219 The main use case for Core scheduling is mitigating the cross-HT vulnerabilities
/linux/drivers/staging/rtl8723bs/include/
H A Dhal_data.h56 #define MAX_RATE_SECTION_NUM 3 /* CCK:1, OFDM:1, HT:1 */
237 /* CCK = 0 OFDM = 1 HT-MCS 0-7 = 2 */
245 u8 TxPwrLevelHT40_1S[RF_PATH_MAX_92C_88E][CHANNEL_MAX_NUMBER]; /* For HT 40MHZ pwr */
246 u8 TxPwrLevelHT40_2S[RF_PATH_MAX_92C_88E][CHANNEL_MAX_NUMBER]; /* For HT 40MHZ pwr */
247 s8 TxPwrHt20Diff[RF_PATH_MAX_92C_88E][CHANNEL_MAX_NUMBER];/* HT 20<->40 Pwr diff */
248 u8 TxPwrLegacyHtDiff[RF_PATH_MAX_92C_88E][CHANNEL_MAX_NUMBER];/* For HT<->legacy pwr diff */
268 u8 LegacyHTTxPowerDiff;/* Legacy to HT rate power diff */
/linux/drivers/clk/pxa/
H A Dclk-pxa27x.c46 #define PXA27x_CLKCFG(B, HT, T) \ argument
49 ((HT) ? CLKCFG_HALFTURBO : 0) | \
169 * Control variables are A, L, 2N for CCCR; B, HT, T for CLKCFG.
184 * HT = 0 Half-Turbo mode
205 unsigned int t, ht; in clk_pxa27x_cpll_get_rate() local
211 ht = clkcfg & (1 << 2); in clk_pxa27x_cpll_get_rate()
302 unsigned int t, ht, osc_forced; in clk_pxa27x_core_get_parent() local
311 ht = clkcfg & (1 << 2); in clk_pxa27x_core_get_parent()
313 if (ht || t) in clk_pxa27x_core_get_parent()
/linux/arch/powerpc/platforms/powermac/
H A Dpci.c217 * implement self-view of the HT host yet
628 * to reassign bus numbers for HT. If we ever have P2P bridges in setup_u3_agp()
631 * HT childs. in setup_u3_agp()
714 printk(KERN_ERR "PCI: Failed to get U3/U4 HT resources !\n"); in setup_u3_ht()
725 * /ht node doesn't expose a "ranges" property, we read the register in setup_u3_ht()
741 DBG("PCI: Apple HT bridge decode register: 0x%08x\n", decode); in setup_u3_ht()
746 * That means that we are incorrectly attributing it to HT. in setup_u3_ht()
748 * In a similar vein, region 0xf4000000 is actually the HT IO space but in setup_u3_ht()
808 } else if (of_device_is_compatible(dev, "u3-ht")) { in pmac_add_bridge()
810 disp_name = "U3-HT"; in pmac_add_bridge()
[all …]
/linux/net/hsr/
H A Dhsr_main.h63 static inline void set_hsr_tag_path(struct hsr_tag *ht, u16 path) in set_hsr_tag_path() argument
65 ht->path_and_LSDU_size = in set_hsr_tag_path()
66 htons((ntohs(ht->path_and_LSDU_size) & 0x0FFF) | (path << 12)); in set_hsr_tag_path()
69 static inline void set_hsr_tag_LSDU_size(struct hsr_tag *ht, u16 LSDU_size) in set_hsr_tag_LSDU_size() argument
71 ht->path_and_LSDU_size = htons((ntohs(ht->path_and_LSDU_size) & in set_hsr_tag_LSDU_size()
/linux/include/linux/bcma/
H A Dbcma_regs.h9 #define BCMA_CLKCTLST_FORCEHT 0x00000002 /* Force HT request */
12 #define BCMA_CLKCTLST_HAVEHTREQ 0x00000010 /* HT available request */
18 #define BCMA_CLKCTLST_HAVEHT 0x00020000 /* HT available */
20 #define BCMA_CLKCTLST_BP_ON_HT 0x00080000 /* RO: running on HT clock */
/linux/tools/include/linux/
H A Dhashtable.h31 static inline void __hash_init(struct hlist_head *ht, unsigned int sz) in __hash_init() argument
36 INIT_HLIST_HEAD(&ht[i]); in __hash_init()
69 static inline bool __hash_empty(struct hlist_head *ht, unsigned int sz) in __hash_empty() argument
74 if (!hlist_empty(&ht[i])) in __hash_empty()
/linux/arch/mips/kernel/
H A Dkgdb.c212 struct hard_trap_info *ht; in compute_signal() local
214 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in compute_signal()
215 if (ht->tt == tt) in compute_signal()
216 return ht->signo; in compute_signal()

12345678910>>...14