| 4989 | } |
| 4990 | |
| 4991 | void |
| 4992 | bdone(struct buf *bp) |
| 4993 | { |
| 4994 | struct mtx *mtxp; |
| 4995 | |
| 4996 | mtxp = mtx_pool_find(mtxpool_sleep, bp); |
| 4997 | mtx_lock(mtxp); |
| 4998 | bp->b_flags |= B_DONE; |
| 4999 | wakeup(bp); |
| 5000 | mtx_unlock(mtxp); |
| 5001 | } |
| 5002 | |
| 5003 | void |
| 5004 | bwait(struct buf *bp, u_char pri, const char *wchan) |
no test coverage detected