Home
last modified time | relevance | path

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

12345678910>>...38

/kernel/linux/linux-5.10/lib/
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
147 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc() argument
164 if (!nested_table_alloc(ht, (union nested_table __rcu **)tbl->buckets, in nested_bucket_table_alloc()
175 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc() argument
[all …]
Dtest_rhashtable.c115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() argument
123 err = rhashtable_insert_fast(ht, &obj->node, params); in insert_retry()
137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() argument
152 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup()
175 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats() argument
181 rhashtable_walk_enter(ht, &hti); in test_bucket_stats()
202 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
204 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() argument
226 err = insert_retry(ht, obj, test_rht_params); in test_rhashtable()
[all …]
/kernel/linux/linux-6.6/lib/
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
147 static struct bucket_table *nested_bucket_table_alloc(struct rhashtable *ht, in nested_bucket_table_alloc() argument
164 if (!nested_table_alloc(ht, (union nested_table __rcu **)tbl->buckets, in nested_bucket_table_alloc()
175 static struct bucket_table *bucket_table_alloc(struct rhashtable *ht, in bucket_table_alloc() argument
[all …]
Dtest_rhashtable.c115 static int insert_retry(struct rhashtable *ht, struct test_obj *obj, in insert_retry() argument
123 err = rhashtable_insert_fast(ht, &obj->node, params); in insert_retry()
137 static int __init test_rht_lookup(struct rhashtable *ht, struct test_obj *array, in test_rht_lookup() argument
152 obj = rhashtable_lookup_fast(ht, &key, test_rht_params); in test_rht_lookup()
175 static void test_bucket_stats(struct rhashtable *ht, unsigned int entries) in test_bucket_stats() argument
181 rhashtable_walk_enter(ht, &hti); in test_bucket_stats()
202 total, atomic_read(&ht->nelems), entries, chain_len); in test_bucket_stats()
204 if (total != atomic_read(&ht->nelems) || total != entries) in test_bucket_stats()
208 static s64 __init test_rhashtable(struct rhashtable *ht, struct test_obj *array, in test_rhashtable() argument
226 err = insert_retry(ht, obj, test_rht_params); in test_rhashtable()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
DHalHWImg8723B_RF.c588 "FCC", "2.4G", "20M", "HT", "1T", "01", "26",
589 "ETSI", "2.4G", "20M", "HT", "1T", "01", "32",
590 "MKK", "2.4G", "20M", "HT", "1T", "01", "32",
591 "FCC", "2.4G", "20M", "HT", "1T", "02", "26",
592 "ETSI", "2.4G", "20M", "HT", "1T", "02", "32",
593 "MKK", "2.4G", "20M", "HT", "1T", "02", "32",
594 "FCC", "2.4G", "20M", "HT", "1T", "03", "32",
595 "ETSI", "2.4G", "20M", "HT", "1T", "03", "32",
596 "MKK", "2.4G", "20M", "HT", "1T", "03", "32",
597 "FCC", "2.4G", "20M", "HT", "1T", "04", "32",
[all …]
/kernel/linux/linux-5.10/net/sched/
Dcls_u32.c79 /* The 'ht' field MUST be the last field in structure to allow for
82 struct tc_u_knode __rcu *ht[]; member
111 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify() local
123 n = rcu_dereference_bh(ht->ht[sel]); in u32_classify()
168 ht = rcu_dereference_bh(n->ht_down); in u32_classify()
169 if (!ht) { in u32_classify()
200 ht = rcu_dereference_bh(n->ht_down); in u32_classify()
202 if (ht->divisor) { in u32_classify()
209 sel = ht->divisor & u32_hash_fold(*data, &n->sel, in u32_classify()
242 ht = rcu_dereference_bh(n->ht_up); in u32_classify()
[all …]
/kernel/linux/linux-6.6/net/sched/
Dcls_u32.c80 /* The 'ht' field MUST be the last field in structure to allow for
83 struct tc_u_knode __rcu *ht[]; member
123 struct tc_u_hnode *ht = rcu_dereference_bh(tp->root); in u32_classify() local
135 n = rcu_dereference_bh(ht->ht[sel]); in u32_classify()
180 ht = rcu_dereference_bh(n->ht_down); in u32_classify()
181 if (!ht) { in u32_classify()
212 ht = rcu_dereference_bh(n->ht_down); in u32_classify()
214 if (ht->divisor) { in u32_classify()
221 sel = ht->divisor & u32_hash_fold(*data, &n->sel, in u32_classify()
254 ht = rcu_dereference_bh(n->ht_up); in u32_classify()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_hashtab.c45 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() argument
49 ht->order = order; in drm_ht_create()
50 ht->table = NULL; in drm_ht_create()
51 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create()
52 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create()
54 ht->table = vzalloc(array_size(size, sizeof(*ht->table))); in drm_ht_create()
55 if (!ht->table) { in drm_ht_create()
62 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() argument
69 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
71 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list()
[all …]
/kernel/linux/linux-6.6/include/linux/
Drhashtable.h113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() argument
116 return (char *)he - ht->p.head_offset; in rht_obj()
125 static inline unsigned int rht_key_get_hash(struct rhashtable *ht, in rht_key_get_hash() argument
131 /* params must be equal to ht->p if it isn't constant. */ in rht_key_get_hash()
133 hash = ht->p.hashfn(key, ht->key_len, hash_rnd); in rht_key_get_hash()
144 unsigned int key_len = ht->p.key_len; in rht_key_get_hash()
156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() argument
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn()
165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() argument
168 const char *ptr = rht_obj(ht, he); in rht_head_hashfn()
[all …]
/kernel/linux/linux-5.10/include/linux/
Drhashtable.h113 static inline void *rht_obj(const struct rhashtable *ht, in rht_obj() argument
116 return (char *)he - ht->p.head_offset; in rht_obj()
125 static inline unsigned int rht_key_get_hash(struct rhashtable *ht, in rht_key_get_hash() argument
131 /* params must be equal to ht->p if it isn't constant. */ in rht_key_get_hash()
133 hash = ht->p.hashfn(key, ht->key_len, hash_rnd); in rht_key_get_hash()
144 unsigned int key_len = ht->p.key_len; in rht_key_get_hash()
156 struct rhashtable *ht, const struct bucket_table *tbl, in rht_key_hashfn() argument
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn()
165 struct rhashtable *ht, const struct bucket_table *tbl, in rht_head_hashfn() argument
168 const char *ptr = rht_obj(ht, he); in rht_head_hashfn()
[all …]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/
DHalHWImg8723B_RF.c455 "FCC", "20M", "HT", "1T", "01", "26",
456 "ETSI", "20M", "HT", "1T", "01", "32",
457 "MKK", "20M", "HT", "1T", "01", "32",
458 "FCC", "20M", "HT", "1T", "02", "26",
459 "ETSI", "20M", "HT", "1T", "02", "32",
460 "MKK", "20M", "HT", "1T", "02", "32",
461 "FCC", "20M", "HT", "1T", "03", "32",
462 "ETSI", "20M", "HT", "1T", "03", "32",
463 "MKK", "20M", "HT", "1T", "03", "32",
464 "FCC", "20M", "HT", "1T", "04", "32",
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_hashtab.c45 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() argument
49 ht->order = order; in drm_ht_create()
50 ht->table = NULL; in drm_ht_create()
51 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create()
52 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create()
54 ht->table = vzalloc(array_size(size, sizeof(*ht->table))); in drm_ht_create()
55 if (!ht->table) { in drm_ht_create()
63 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() argument
70 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
72 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list()
[all …]
/kernel/linux/linux-6.6/kernel/
Dsmpboot.c87 struct smp_hotplug_thread *ht; member
109 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local
118 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn()
119 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn()
127 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
129 ht->park(td->cpu); in smpboot_thread_fn()
144 if (ht->setup) in smpboot_thread_fn()
145 ht->setup(td->cpu); in smpboot_thread_fn()
152 if (ht->unpark) in smpboot_thread_fn()
153 ht->unpark(td->cpu); in smpboot_thread_fn()
[all …]
/kernel/linux/linux-5.10/kernel/
Dsmpboot.c87 struct smp_hotplug_thread *ht; member
109 struct smp_hotplug_thread *ht = td->ht; in smpboot_thread_fn() local
118 if (ht->cleanup && td->status != HP_THREAD_NONE) in smpboot_thread_fn()
119 ht->cleanup(td->cpu, cpu_online(td->cpu)); in smpboot_thread_fn()
127 if (ht->park && td->status == HP_THREAD_ACTIVE) { in smpboot_thread_fn()
129 ht->park(td->cpu); in smpboot_thread_fn()
144 if (ht->setup) in smpboot_thread_fn()
145 ht->setup(td->cpu); in smpboot_thread_fn()
152 if (ht->unpark) in smpboot_thread_fn()
153 ht->unpark(td->cpu); in smpboot_thread_fn()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/filters/
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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HT.h6 * The HT Capability element is present in beacons, association request,
22 * Represent Channel Width in HT Capabilities
30 * Represent Extension Channel Offset in HT Capabilities
41 //HT capability info
57 //MAC HT parameters info
65 //Extended HT Capability Info
77 * The HT Information element is present in beacons
119 * The Data structure is used to keep HT related variables when card is
142 // HT related information for "Self"
143 …struct ht_capability_ele SelfHTCap; // This is HT cap element sent to peer STA, which also indica…
[all …]
/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HT.h6 * The HT Capability element is present in beacons, association request,
22 * Represent Channel Width in HT Capabilities
30 * Represent Extension Channel Offset in HT Capabilities
41 //HT capability info
57 //MAC HT parameters info
65 //Extended HT Capability Info
77 * The HT Information element is present in beacons
119 * The Data structure is used to keep HT related variables when card is
142 // HT related information for "Self"
143 …struct ht_capability_ele SelfHTCap; // This is HT cap element sent to peer STA, which also indica…
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
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()
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/tc-tests/filters/
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
/kernel/linux/linux-5.10/include/drm/
Ddrm_hashtab.h52 int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
53 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
54 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
57 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
60 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
61 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
62 void drm_ht_remove(struct drm_open_hash *ht);
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
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->stbc[0], in mt76x02_phy_set_txpower()
115 mt76x02_tx_power_mask(t->ofdm[7], t->vht[8], t->ht[7], in mt76x02_phy_set_txpower()
118 mt76x02_tx_power_mask(t->ht[14], 0, t->vht[8], t->vht[9])); in mt76x02_phy_set_txpower()
120 mt76x02_tx_power_mask(t->ht[7], 0, t->stbc[8], t->stbc[9])); in mt76x02_phy_set_txpower()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/cfg/
D22000.c191 * HT size; mac80211 would otherwise pick the HE max (256) by default.
227 * HT size; mac80211 would otherwise pick the HE max (256) by default.
240 * HT size; mac80211 would otherwise pick the HE max (256) by default.
253 * HT size; mac80211 would otherwise pick the HE max (256) by default.
265 * HT size; mac80211 would otherwise pick the HE max (256) by default.
278 * HT size; mac80211 would otherwise pick the HE max (256) by default.
291 * HT size; mac80211 would otherwise pick the HE max (256) by default.
303 * HT size; mac80211 would otherwise pick the HE max (256) by default.
317 * HT size; mac80211 would otherwise pick the HE max (256) by default.
330 * HT size; mac80211 would otherwise pick the HE max (256) by default.
[all …]

12345678910>>...38