Searched refs:calipso_cache (Results 1 – 1 of 1) sorted by relevance
84 static struct calipso_map_cache_bkt *calipso_cache; variable136 calipso_cache = kcalloc(CALIPSO_CACHE_BUCKETS, in calipso_cache_init()139 if (!calipso_cache) in calipso_cache_init()143 spin_lock_init(&calipso_cache[iter].lock); in calipso_cache_init()144 calipso_cache[iter].size = 0; in calipso_cache_init()145 INIT_LIST_HEAD(&calipso_cache[iter].list); in calipso_cache_init()165 spin_lock_bh(&calipso_cache[iter].lock); in calipso_cache_invalidate()168 &calipso_cache[iter].list, list) { in calipso_cache_invalidate()172 calipso_cache[iter].size = 0; in calipso_cache_invalidate()173 spin_unlock_bh(&calipso_cache[iter].lock); in calipso_cache_invalidate()[all …]