Searched refs:cl_cache (Results 1 – 3 of 3) sorted by relevance
2911 LASSERT(cli->cl_cache == NULL); /* only once */ in osc_set_info_async()2912 cli->cl_cache = (struct cl_client_cache *)val; in osc_set_info_async()2913 atomic_inc(&cli->cl_cache->ccc_users); in osc_set_info_async()2914 cli->cl_lru_left = &cli->cl_cache->ccc_lru_left; in osc_set_info_async()2918 spin_lock(&cli->cl_cache->ccc_lru_lock); in osc_set_info_async()2919 list_add(&cli->cl_lru_osc, &cli->cl_cache->ccc_lru); in osc_set_info_async()2920 spin_unlock(&cli->cl_cache->ccc_lru_lock); in osc_set_info_async()3261 if (cli->cl_cache != NULL) { in osc_cleanup()3262 LASSERT(atomic_read(&cli->cl_cache->ccc_users) > 0); in osc_cleanup()3263 spin_lock(&cli->cl_cache->ccc_lru_lock); in osc_cleanup()[all …]
595 struct cl_client_cache *cache = cli->cl_cache; in osc_cache_too_much()816 struct cl_client_cache *cache = cli->cl_cache; in osc_lru_reclaim()875 if (cli->cl_cache == NULL) /* shall not be in LRU */ in osc_lru_reserve()
391 struct cl_client_cache *cl_cache; member