sdp = CIRCLEQ_NEXT(sdp, swd_next)) { if (sdp->swd_flags & SWF_FAKE) continue;
sdp = CIRCLEQ_NEXT(sdp, swd_next))
swapdrum_getsdp(pgno)	int pgno;{	struct swapdev *sdp;	struct swappri *spp;	for (spp = LIST_FIRST(&swap_priority); spp != NULL;	     spp = LIST_NEXT(spp, spi_swappri))		for (sdp = CIRCLEQ_FIRST(&spp->spi_swapdev);		     sdp != (void *)&spp->spi_swapdev;		     sdp = CIRCLEQ_NEXT(sdp, swd_next)) {			if (sdp->swd_flags & SWF_FAKE)				continue;			if (pgno >= sdp->swd_drumoffset &&			    pgno < (sdp->swd_drumoffset + sdp->swd_drumsize)) {				return sdp;			}		}	return NULL;}