Searched refs:xfs_refcache_new_size (Results 1 – 2 of 2) sorted by relevance
53 int xfs_refcache_new_size; in xfs_refcache_resize_proc_handler() local57 xfs_refcache_new_size = *valp; in xfs_refcache_resize_proc_handler()59 if (!ret && write && xfs_refcache_new_size != xfs_refcache_old_size) { in xfs_refcache_resize_proc_handler()60 xfs_refcache_resize(xfs_refcache_new_size); in xfs_refcache_resize_proc_handler()62 if (xfs_refcache_new_size < xfs_refcache_purge_count) in xfs_refcache_resize_proc_handler()63 xfs_refcache_purge_count = xfs_refcache_new_size; in xfs_refcache_resize_proc_handler()
352 xfs_refcache_resize(int xfs_refcache_new_size) in xfs_refcache_resize() argument366 if (xfs_refcache && (xfs_refcache_new_size < xfs_refcache_size)) { in xfs_refcache_resize()373 for (i = xfs_refcache_new_size; i < xfs_refcache_size; i++) { in xfs_refcache_resize()385 xfs_refcache_size = xfs_refcache_new_size; in xfs_refcache_resize()390 if (xfs_refcache_index >= xfs_refcache_new_size) in xfs_refcache_resize()407 xfs_refcache_size = xfs_refcache_new_size; in xfs_refcache_resize()