Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-bufio.c199 static unsigned long dm_bufio_cache_size_latch; variable
232 * This mutex protects dm_bufio_cache_size_latch and dm_bufio_client_count
368 dm_bufio_cache_size_latch = READ_ONCE(dm_bufio_cache_size); in __cache_size_refresh()
373 if (!dm_bufio_cache_size_latch) { in __cache_size_refresh()
376 dm_bufio_cache_size_latch = dm_bufio_default_cache_size; in __cache_size_refresh()
882 if (dm_bufio_cache_size_latch != 1) { in __alloc_buffer_wait_no_callback()
891 if (dm_bufio_cache_size_latch != 1 && !tried_noio_alloc) { in __alloc_buffer_wait_no_callback()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-bufio.c1056 static unsigned long dm_bufio_cache_size_latch; variable
1085 * This mutex protects dm_bufio_cache_size_latch and dm_bufio_client_count
1146 dm_bufio_cache_size_latch = READ_ONCE(dm_bufio_cache_size); in __cache_size_refresh()
1151 if (!dm_bufio_cache_size_latch) { in __cache_size_refresh()
1154 dm_bufio_cache_size_latch = dm_bufio_default_cache_size; in __cache_size_refresh()
1613 if (dm_bufio_cache_size_latch != 1) { in __alloc_buffer_wait_no_callback()
1622 if (dm_bufio_cache_size_latch != 1 && !tried_noio_alloc) { in __alloc_buffer_wait_no_callback()

Completed in 7 milliseconds