Home
last modified time | relevance | path

Searched refs:cl_cache (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c2854 LASSERT(cli->cl_cache == NULL); /* only once */ in osc_set_info_async()
2855 cli->cl_cache = val; in osc_set_info_async()
2856 atomic_inc(&cli->cl_cache->ccc_users); in osc_set_info_async()
2857 cli->cl_lru_left = &cli->cl_cache->ccc_lru_left; in osc_set_info_async()
2861 spin_lock(&cli->cl_cache->ccc_lru_lock); in osc_set_info_async()
2862 list_add(&cli->cl_lru_osc, &cli->cl_cache->ccc_lru); in osc_set_info_async()
2863 spin_unlock(&cli->cl_cache->ccc_lru_lock); in osc_set_info_async()
3214 if (cli->cl_cache != NULL) { in osc_cleanup()
3215 LASSERT(atomic_read(&cli->cl_cache->ccc_users) > 0); in osc_cleanup()
3216 spin_lock(&cli->cl_cache->ccc_lru_lock); in osc_cleanup()
[all …]
Dosc_page.c596 struct cl_client_cache *cache = cli->cl_cache; in osc_cache_too_much()
818 struct cl_client_cache *cache = cli->cl_cache; in osc_lru_reclaim()
878 if (cli->cl_cache == NULL) /* shall not be in LRU */ in osc_lru_reserve()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd.h318 struct cl_client_cache *cl_cache; member