Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Ddm-bufio.c193 static unsigned long dm_bufio_cache_size_latch; variable
320 dm_bufio_cache_size_latch = READ_ONCE(dm_bufio_cache_size); in __cache_size_refresh()
325 if (!dm_bufio_cache_size_latch) { in __cache_size_refresh()
328 dm_bufio_cache_size_latch = dm_bufio_default_cache_size; in __cache_size_refresh()
331 dm_bufio_cache_size_per_client = dm_bufio_cache_size_latch / in __cache_size_refresh()
826 if (dm_bufio_cache_size_latch != 1) { in __alloc_buffer_wait_no_callback()
835 if (dm_bufio_cache_size_latch != 1 && !tried_noio_alloc) { in __alloc_buffer_wait_no_callback()
922 if (unlikely(READ_ONCE(dm_bufio_cache_size) != dm_bufio_cache_size_latch)) { in __get_memory_limit()