Lines Matching refs:cache

1327 	struct wpa_ft_pmk_cache *cache;  in wpa_ft_pmk_cache_init()  local
1329 cache = os_zalloc(sizeof(*cache)); in wpa_ft_pmk_cache_init()
1330 if (cache) { in wpa_ft_pmk_cache_init()
1331 dl_list_init(&cache->pmk_r0); in wpa_ft_pmk_cache_init()
1332 dl_list_init(&cache->pmk_r1); in wpa_ft_pmk_cache_init()
1335 return cache; in wpa_ft_pmk_cache_init()
1339 void wpa_ft_pmk_cache_deinit(struct wpa_ft_pmk_cache *cache) in wpa_ft_pmk_cache_deinit() argument
1344 dl_list_for_each_safe(r0, r0prev, &cache->pmk_r0, in wpa_ft_pmk_cache_deinit()
1348 dl_list_for_each_safe(r1, r1prev, &cache->pmk_r1, in wpa_ft_pmk_cache_deinit()
1352 os_free(cache); in wpa_ft_pmk_cache_deinit()
1365 struct wpa_ft_pmk_cache *cache = wpa_auth->ft_pmk_cache; in wpa_ft_store_pmk_r0() local
1408 dl_list_add(&cache->pmk_r0, &r0->list); in wpa_ft_store_pmk_r0()
1424 struct wpa_ft_pmk_cache *cache = wpa_auth->ft_pmk_cache; in wpa_ft_fetch_pmk_r0() local
1429 dl_list_for_each(r0, &cache->pmk_r0, struct wpa_ft_pmk_r0_sa, list) { in wpa_ft_fetch_pmk_r0()
1452 struct wpa_ft_pmk_cache *cache = wpa_auth->ft_pmk_cache; in wpa_ft_store_pmk_r1() local
1497 dl_list_add(&cache->pmk_r1, &r1->list); in wpa_ft_store_pmk_r1()
1518 struct wpa_ft_pmk_cache *cache = wpa_auth->ft_pmk_cache; in wpa_ft_fetch_pmk_r1() local
1524 dl_list_for_each(r1, &cache->pmk_r1, struct wpa_ft_pmk_r1_sa, list) { in wpa_ft_fetch_pmk_r1()
4963 struct wpa_ft_pmk_cache *cache = wpa_auth->ft_pmk_cache; in wpa_ft_push_pmk_r1() local
4972 dl_list_for_each(r0, &cache->pmk_r0, struct wpa_ft_pmk_r0_sa, list) { in wpa_ft_push_pmk_r1()