Lines Matching refs:lists
150 lru_list = mru->lists + mru->lru_grp; in _xfs_mru_cache_migrate()
176 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate()
220 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert()
283 ASSERT(mru && mru->lists); in _xfs_mru_cache_reap()
284 if (!mru || !mru->lists) in _xfs_mru_cache_reap()
362 mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), KM_SLEEP); in xfs_mru_cache_create()
364 if (!mru->lists) { in xfs_mru_cache_create()
370 INIT_LIST_HEAD(mru->lists + grp); in xfs_mru_cache_create()
387 if (err && mru && mru->lists) in xfs_mru_cache_create()
388 kmem_free(mru->lists); in xfs_mru_cache_create()
405 if (!mru || !mru->lists) in xfs_mru_cache_flush()
425 if (!mru || !mru->lists) in xfs_mru_cache_destroy()
430 kmem_free(mru->lists); in xfs_mru_cache_destroy()
447 ASSERT(mru && mru->lists); in xfs_mru_cache_insert()
448 if (!mru || !mru->lists) in xfs_mru_cache_insert()
489 ASSERT(mru && mru->lists); in xfs_mru_cache_remove()
490 if (!mru || !mru->lists) in xfs_mru_cache_remove()
550 ASSERT(mru && mru->lists); in xfs_mru_cache_lookup()
551 if (!mru || !mru->lists) in xfs_mru_cache_lookup()