Lines Matching refs:swap_bios
126 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()
2059 md->swap_bios = get_swap_bios(); in alloc_dev()
2060 sema_init(&md->swap_bios_semaphore, md->swap_bios); in alloc_dev()
3365 module_param(swap_bios, int, S_IRUGO | S_IWUSR);
3366 MODULE_PARM_DESC(swap_bios, "Maximum allowed inflight swap IOs");