PAGELIST_WRITE
? PAGELIST_READ : PAGELIST_WRITE;
pagelistinfo->dma_dir = (type == PAGELIST_WRITE) ?
if (pagelist->type != PAGELIST_WRITE &&