Searched refs:calipso_cache (Results 1 – 1 of 1) sorted by relevance
84 static struct calipso_map_cache_bkt *calipso_cache; variable133 calipso_cache = kcalloc(CALIPSO_CACHE_BUCKETS, in calipso_cache_init()136 if (!calipso_cache) in calipso_cache_init()140 spin_lock_init(&calipso_cache[iter].lock); in calipso_cache_init()141 calipso_cache[iter].size = 0; in calipso_cache_init()142 INIT_LIST_HEAD(&calipso_cache[iter].list); in calipso_cache_init()162 spin_lock_bh(&calipso_cache[iter].lock); in calipso_cache_invalidate()165 &calipso_cache[iter].list, list) { in calipso_cache_invalidate()169 calipso_cache[iter].size = 0; in calipso_cache_invalidate()170 spin_unlock_bh(&calipso_cache[iter].lock); in calipso_cache_invalidate()[all …]