Home
last modified time | relevance | path

Searched refs:drbd_pp_vacant (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_receiver.c153 /* Yes, testing drbd_pp_vacant outside the lock is racy. in __drbd_alloc_pages()
155 if (drbd_pp_vacant >= number) { in __drbd_alloc_pages()
159 drbd_pp_vacant -= number; in __drbd_alloc_pages()
186 drbd_pp_vacant += i; in __drbd_alloc_pages()
324 if (drbd_pp_vacant > (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count) in drbd_free_pages()
331 drbd_pp_vacant += i; in drbd_free_pages()
H A Ddrbd_main.c129 int drbd_pp_vacant; variable
2109 drbd_pp_vacant--; in drbd_destroy_mempools()
2112 /* D_ASSERT(device, atomic_read(&drbd_pp_vacant)==0); */ in drbd_destroy_mempools()
2192 drbd_pp_vacant = number; in drbd_create_mempools()
H A Ddrbd_int.h1411 extern int drbd_pp_vacant;
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_receiver.c154 /* Yes, testing drbd_pp_vacant outside the lock is racy. in __drbd_alloc_pages()
156 if (drbd_pp_vacant >= number) { in __drbd_alloc_pages()
160 drbd_pp_vacant -= number; in __drbd_alloc_pages()
187 drbd_pp_vacant += i; in __drbd_alloc_pages()
325 if (drbd_pp_vacant > (DRBD_MAX_BIO_SIZE/PAGE_SIZE) * drbd_minor_count) in drbd_free_pages()
332 drbd_pp_vacant += i; in drbd_free_pages()
H A Ddrbd_main.c128 int drbd_pp_vacant; variable
2078 drbd_pp_vacant--; in drbd_destroy_mempools()
2081 /* D_ASSERT(device, atomic_read(&drbd_pp_vacant)==0); */ in drbd_destroy_mempools()
2158 drbd_pp_vacant = number; in drbd_create_mempools()
H A Ddrbd_int.h1350 extern int drbd_pp_vacant;

Completed in 32 milliseconds