Home
last modified time | relevance | path

Searched refs:cipso_v4_cache (Results 1 – 1 of 1) sorted by relevance

/net/ipv4/
Dcipso_ipv4.c85 static struct cipso_v4_map_cache_bkt *cipso_v4_cache = NULL; variable
253 cipso_v4_cache = kcalloc(CIPSO_V4_CACHE_BUCKETS, in cipso_v4_cache_init()
256 if (cipso_v4_cache == NULL) in cipso_v4_cache_init()
260 spin_lock_init(&cipso_v4_cache[iter].lock); in cipso_v4_cache_init()
261 cipso_v4_cache[iter].size = 0; in cipso_v4_cache_init()
262 INIT_LIST_HEAD(&cipso_v4_cache[iter].list); in cipso_v4_cache_init()
282 spin_lock_bh(&cipso_v4_cache[iter].lock); in cipso_v4_cache_invalidate()
285 &cipso_v4_cache[iter].list, list) { in cipso_v4_cache_invalidate()
289 cipso_v4_cache[iter].size = 0; in cipso_v4_cache_invalidate()
290 spin_unlock_bh(&cipso_v4_cache[iter].lock); in cipso_v4_cache_invalidate()
[all …]