Searched refs:cipso_v4_cache (Results 1 – 1 of 1) sorted by relevance
73 static struct cipso_v4_map_cache_bkt *cipso_v4_cache; variable171 cipso_v4_cache = kcalloc(CIPSO_V4_CACHE_BUCKETS, in cipso_v4_cache_init()174 if (!cipso_v4_cache) in cipso_v4_cache_init()178 spin_lock_init(&cipso_v4_cache[iter].lock); in cipso_v4_cache_init()179 cipso_v4_cache[iter].size = 0; in cipso_v4_cache_init()180 INIT_LIST_HEAD(&cipso_v4_cache[iter].list); in cipso_v4_cache_init()199 spin_lock_bh(&cipso_v4_cache[iter].lock); in cipso_v4_cache_invalidate()202 &cipso_v4_cache[iter].list, list) { in cipso_v4_cache_invalidate()206 cipso_v4_cache[iter].size = 0; in cipso_v4_cache_invalidate()207 spin_unlock_bh(&cipso_v4_cache[iter].lock); in cipso_v4_cache_invalidate()[all …]