xnb_shutdown
while (xnb_shutdown(xnb) == EAGAIN) {
xnb_shutdown(xnb);
static int xnb_shutdown(struct xnb_softc *xnb);