Searched refs:rht (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/iio/chemical/ |
H A D | sgp40.c | 48 int rht; member 172 ticks = (data->rht / 10) * 65535 / 10000; in sgp40_measure_resistance_raw() 235 *val = data->rht; in sgp40_read_raw() 291 data->rht = val; in sgp40_write_raw() 335 data->rht = 50000; /* 50 % */ in sgp40_probe()
|
/openbmc/linux/net/core/ |
H A D | xdp.c | 210 struct rhashtable *rht; in __mem_id_init_hash_table() local 216 rht = kzalloc(sizeof(*rht), GFP_KERNEL); in __mem_id_init_hash_table() 217 if (!rht) in __mem_id_init_hash_table() 220 ret = rhashtable_init(rht, &mem_id_rht_params); in __mem_id_init_hash_table() 222 kfree(rht); in __mem_id_init_hash_table() 225 mem_id_ht = rht; in __mem_id_init_hash_table()
|
/openbmc/linux/net/mac80211/ |
H A D | mesh_pathtbl.c | 57 rhashtable_free_and_destroy(&cache->rht, in mesh_fast_tx_deinit() 66 rhashtable_init(&cache->rht, &fast_tx_rht_params); in mesh_fast_tx_init() 424 rhashtable_remove_fast(&cache->rht, &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_entry_free() 436 entry = rhashtable_lookup(&cache->rht, key, fast_tx_rht_params); in mesh_fast_tx_get() 443 entry = rhashtable_lookup(&cache->rht, key, fast_tx_rht_params); in mesh_fast_tx_get() 481 if (atomic_read(&cache->rht.nelems) >= MESH_FAST_TX_CACHE_MAX_SIZE) in mesh_fast_tx_cache() 575 prev = rhashtable_lookup_get_insert_fast(&cache->rht, in mesh_fast_tx_cache() 588 rhashtable_replace_fast(&cache->rht, &prev->rhash, in mesh_fast_tx_cache() 609 if (atomic_read(&cache->rht.nelems) < MESH_FAST_TX_CACHE_THRESHOLD_SIZE) in mesh_fast_tx_gc() 659 entry = rhashtable_lookup_fast(&cache->rht, &key, fast_tx_rht_params); in mesh_fast_tx_flush_addr()
|
H A D | ieee80211_i.h | 668 struct rhashtable rht; member
|
/openbmc/linux/security/apparmor/ |
H A D | policy.c | 245 struct rhashtable *rht; in aa_free_profile() local 273 rht = profile->data; in aa_free_profile() 275 rhashtable_free_and_destroy(rht, aa_free_data, NULL); in aa_free_profile() 276 kfree_sensitive(rht); in aa_free_profile()
|
/openbmc/linux/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 640 struct rhash_head rht; member 735 .head_offset = offsetof(struct mac80211_hwsim_data, rht), 5334 err = rhashtable_insert_fast(&hwsim_radios_rht, &data->rht, in mac80211_hwsim_new_radio() 6023 rhashtable_remove_fast(&hwsim_radios_rht, &data->rht, in hwsim_del_radio_nl() 6196 rhashtable_remove_fast(&hwsim_radios_rht, &entry->rht, in remove_user_radios() 6277 rhashtable_remove_fast(&hwsim_radios_rht, &data->rht, in hwsim_exit_net()
|