Lines Matching refs:swap_bios
128 static int swap_bios = DEFAULT_SWAP_BIOS; variable
131 int latch = READ_ONCE(swap_bios); in get_swap_bios()
1381 while (latch < md->swap_bios) { in __set_swap_bios_limit()
1384 md->swap_bios--; in __set_swap_bios_limit()
1386 while (latch > md->swap_bios) { in __set_swap_bios_limit()
1389 md->swap_bios++; in __set_swap_bios_limit()
1413 if (unlikely(latch != md->swap_bios)) in __map_bio()
2091 md->swap_bios = get_swap_bios(); in alloc_dev()
2092 sema_init(&md->swap_bios_semaphore, md->swap_bios); in alloc_dev()
3503 module_param(swap_bios, int, 0644);
3504 MODULE_PARM_DESC(swap_bios, "Maximum allowed inflight swap IOs");