Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
Ddm-core.h114 int swap_bios; member
Ddm.c152 static int swap_bios = DEFAULT_SWAP_BIOS; variable
155 int latch = READ_ONCE(swap_bios); in get_swap_bios()
1284 while (latch < md->swap_bios) { in __set_swap_bios_limit()
1287 md->swap_bios--; in __set_swap_bios_limit()
1289 while (latch > md->swap_bios) { in __set_swap_bios_limit()
1292 md->swap_bios++; in __set_swap_bios_limit()
1319 if (unlikely(latch != md->swap_bios)) in __map_bio()
1883 md->swap_bios = get_swap_bios(); in alloc_dev()
1884 sema_init(&md->swap_bios_semaphore, md->swap_bios); in alloc_dev()
3182 module_param(swap_bios, int, S_IRUGO | S_IWUSR);
[all …]