vnx 196 uvm/uvm_swap.c #define getvndxfer(vnx) do { \ vnx 198 uvm/uvm_swap.c vnx = pool_get(&vndxfer_pool, PR_WAITOK); \ vnx 202 uvm/uvm_swap.c #define putvndxfer(vnx) { \ vnx 203 uvm/uvm_swap.c pool_put(&vndxfer_pool, (void *)(vnx)); \ vnx 1287 uvm/uvm_swap.c struct vndxfer *vnx; vnx 1298 uvm/uvm_swap.c getvndxfer(vnx); vnx 1299 uvm/uvm_swap.c vnx->vx_flags = VX_BUSY; vnx 1300 uvm/uvm_swap.c vnx->vx_error = 0; vnx 1301 uvm/uvm_swap.c vnx->vx_pending = 0; vnx 1302 uvm/uvm_swap.c vnx->vx_bp = bp; vnx 1303 uvm/uvm_swap.c vnx->vx_sdp = sdp; vnx 1352 uvm/uvm_swap.c vnx->vx_error = error; /* pass error up */ vnx 1412 uvm/uvm_swap.c nbp->vb_xfer = vnx; /* patch it back in to vnx */ vnx 1419 uvm/uvm_swap.c if (vnx->vx_error != 0) { vnx 1423 uvm/uvm_swap.c vnx->vx_pending++; vnx 1443 uvm/uvm_swap.c vnx->vx_flags &= ~VX_BUSY; vnx 1444 uvm/uvm_swap.c if (vnx->vx_pending == 0) { vnx 1445 uvm/uvm_swap.c if (vnx->vx_error != 0) { vnx 1446 uvm/uvm_swap.c bp->b_error = vnx->vx_error; vnx 1449 uvm/uvm_swap.c putvndxfer(vnx); vnx 1501 uvm/uvm_swap.c struct vndxfer *vnx = vbp->vb_xfer; vnx 1502 uvm/uvm_swap.c struct buf *pbp = vnx->vx_bp; /* parent buffer */ vnx 1503 uvm/uvm_swap.c struct swapdev *sdp = vnx->vx_sdp; vnx 1516 uvm/uvm_swap.c vnx->vx_pending--; vnx 1523 uvm/uvm_swap.c vnx->vx_error = vbp->vb_buf.b_error; vnx 1542 uvm/uvm_swap.c if (vnx->vx_error != 0) { vnx 1545 uvm/uvm_swap.c pbp->b_error = vnx->vx_error; vnx 1546 uvm/uvm_swap.c if ((vnx->vx_flags & VX_BUSY) == 0 && vnx->vx_pending == 0) { vnx 1547 uvm/uvm_swap.c putvndxfer(vnx); vnx 1551 uvm/uvm_swap.c KASSERT(vnx->vx_pending == 0); vnx 1552 uvm/uvm_swap.c if ((vnx->vx_flags & VX_BUSY) == 0) { vnx 1554 uvm/uvm_swap.c pbp, vnx->vx_error, 0, 0); vnx 1555 uvm/uvm_swap.c putvndxfer(vnx);