* bd_set: * * Set a domain in the appropriate bitsets when dirtybuffers * is incremented. */
| 552 | * is incremented. |
| 553 | */ |
| 554 | static void |
| 555 | bd_set(struct bufdomain *bd) |
| 556 | { |
| 557 | |
| 558 | mtx_lock(&bdirtylock); |
| 559 | if (bd->bd_numdirtybuffers > bd->bd_lodirtybuffers) |
| 560 | BIT_SET(BUF_DOMAINS, BD_DOMAIN(bd), &bdlodirty); |
| 561 | if (bd->bd_numdirtybuffers > bd->bd_hidirtybuffers) |
| 562 | BIT_SET(BUF_DOMAINS, BD_DOMAIN(bd), &bdhidirty); |
| 563 | mtx_unlock(&bdirtylock); |
| 564 | } |
| 565 | |
| 566 | /* |
| 567 | * bdirtysub: |
no test coverage detected