Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm.c126 static int swap_bios = DEFAULT_SWAP_BIOS; variable
129 int latch = READ_ONCE(swap_bios); in get_swap_bios()
1388 while (latch < md->swap_bios) { in __set_swap_bios_limit()
1391 md->swap_bios--; in __set_swap_bios_limit()
1393 while (latch > md->swap_bios) { in __set_swap_bios_limit()
1396 md->swap_bios++; in __set_swap_bios_limit()
1419 if (unlikely(latch != md->swap_bios)) in __map_bio()
2074 md->swap_bios = get_swap_bios(); in alloc_dev()
2075 sema_init(&md->swap_bios_semaphore, md->swap_bios); in alloc_dev()
3404 module_param(swap_bios, int, S_IRUGO | S_IWUSR);
[all …]
Ddm-core.h124 int swap_bios; member