Searched refs:swap_bios (Results 1 – 2 of 2) sorted by relevance
113 static int swap_bios = DEFAULT_SWAP_BIOS; variable116 int latch = READ_ONCE(swap_bios); in get_swap_bios()1173 while (latch < md->swap_bios) { in __set_swap_bios_limit()1176 md->swap_bios--; in __set_swap_bios_limit()1178 while (latch > md->swap_bios) { in __set_swap_bios_limit()1181 md->swap_bios++; in __set_swap_bios_limit()1207 if (unlikely(latch != md->swap_bios)) in __map_bio()1774 md->swap_bios = get_swap_bios(); in alloc_dev()1775 sema_init(&md->swap_bios_semaphore, md->swap_bios); in alloc_dev()3064 module_param(swap_bios, int, S_IRUGO | S_IWUSR);[all …]
107 int swap_bios; member
Completed in 16 milliseconds