Searched refs:calipso_cache (Results 1 – 1 of 1) sorted by relevance
98 static struct calipso_map_cache_bkt *calipso_cache; variable147 calipso_cache = kcalloc(CALIPSO_CACHE_BUCKETS, in calipso_cache_init()150 if (!calipso_cache) in calipso_cache_init()154 spin_lock_init(&calipso_cache[iter].lock); in calipso_cache_init()155 calipso_cache[iter].size = 0; in calipso_cache_init()156 INIT_LIST_HEAD(&calipso_cache[iter].list); in calipso_cache_init()176 spin_lock_bh(&calipso_cache[iter].lock); in calipso_cache_invalidate()179 &calipso_cache[iter].list, list) { in calipso_cache_invalidate()183 calipso_cache[iter].size = 0; in calipso_cache_invalidate()184 spin_unlock_bh(&calipso_cache[iter].lock); in calipso_cache_invalidate()[all …]