Lines Matching refs:entry

48 	struct ieee80211_mesh_fast_tx *entry = ptr;  in __mesh_fast_tx_entry_free()  local
50 kfree_rcu(entry, fast_tx.rcu_head); in __mesh_fast_tx_entry_free()
426 struct ieee80211_mesh_fast_tx *entry) in mesh_fast_tx_entry_free() argument
428 hlist_del_rcu(&entry->walk_list); in mesh_fast_tx_entry_free()
429 rhashtable_remove_fast(&cache->rht, &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_entry_free()
430 kfree_rcu(entry, fast_tx.rcu_head); in mesh_fast_tx_entry_free()
437 struct ieee80211_mesh_fast_tx *entry; in mesh_fast_tx_get() local
441 entry = rhashtable_lookup(&cache->rht, key, fast_tx_rht_params); in mesh_fast_tx_get()
442 if (!entry) in mesh_fast_tx_get()
445 if (!(entry->mpath->flags & MESH_PATH_ACTIVE) || in mesh_fast_tx_get()
446 mpath_expired(entry->mpath)) { in mesh_fast_tx_get()
448 entry = rhashtable_lookup(&cache->rht, key, fast_tx_rht_params); in mesh_fast_tx_get()
449 if (entry) in mesh_fast_tx_get()
450 mesh_fast_tx_entry_free(cache, entry); in mesh_fast_tx_get()
455 mesh_path_refresh(sdata, entry->mpath, NULL); in mesh_fast_tx_get()
456 if (entry->mppath) in mesh_fast_tx_get()
457 entry->mppath->exp_time = jiffies; in mesh_fast_tx_get()
458 entry->timestamp = jiffies; in mesh_fast_tx_get()
460 return entry; in mesh_fast_tx_get()
468 struct ieee80211_mesh_fast_tx *entry, *prev; in mesh_fast_tx_cache() local
575 entry = kmemdup(&build, sizeof(build), GFP_ATOMIC); in mesh_fast_tx_cache()
576 if (!entry) in mesh_fast_tx_cache()
581 &entry->rhash, in mesh_fast_tx_cache()
584 kfree(entry); in mesh_fast_tx_cache()
594 &entry->rhash, fast_tx_rht_params); in mesh_fast_tx_cache()
599 hlist_add_head(&entry->walk_list, &cache->walk_head); in mesh_fast_tx_cache()
611 struct ieee80211_mesh_fast_tx *entry; in mesh_fast_tx_gc() local
618 hlist_for_each_entry_safe(entry, n, &cache->walk_head, walk_list) in mesh_fast_tx_gc()
619 if (!time_is_after_jiffies(entry->timestamp + timeout)) in mesh_fast_tx_gc()
620 mesh_fast_tx_entry_free(cache, entry); in mesh_fast_tx_gc()
628 struct ieee80211_mesh_fast_tx *entry; in mesh_fast_tx_flush_mpath() local
632 hlist_for_each_entry_safe(entry, n, &cache->walk_head, walk_list) in mesh_fast_tx_flush_mpath()
633 if (entry->mpath == mpath) in mesh_fast_tx_flush_mpath()
634 mesh_fast_tx_entry_free(cache, entry); in mesh_fast_tx_flush_mpath()
642 struct ieee80211_mesh_fast_tx *entry; in mesh_fast_tx_flush_sta() local
646 hlist_for_each_entry_safe(entry, n, &cache->walk_head, walk_list) in mesh_fast_tx_flush_sta()
647 if (rcu_access_pointer(entry->mpath->next_hop) == sta) in mesh_fast_tx_flush_sta()
648 mesh_fast_tx_entry_free(cache, entry); in mesh_fast_tx_flush_sta()
657 struct ieee80211_mesh_fast_tx *entry; in mesh_fast_tx_flush_addr() local
664 entry = rhashtable_lookup_fast(&cache->rht, &key, fast_tx_rht_params); in mesh_fast_tx_flush_addr()
665 if (entry) in mesh_fast_tx_flush_addr()
666 mesh_fast_tx_entry_free(cache, entry); in mesh_fast_tx_flush_addr()