Home
last modified time | relevance | path

Searched refs:pagecount (Results 1 – 8 of 8) sorted by relevance

/system/dev/bus/virtio/
A Dblock.cpp289 size_t pagecount, uint16_t* idx) { in QueueTxn() argument
313 LTRACEF("page count %lu\n", pagecount); in QueueTxn()
320 desc = vring_.AllocDescChain((uint16_t)(2u + pagecount), &i); in QueueTxn()
323 LTRACEF("failed to allocate descriptor chain of length %zu\n", 2u + pagecount); in QueueTxn()
340 for (size_t n = 0; n < pagecount; n++) { in QueueTxn()
A Dblock.h72 size_t pagecount, uint16_t* idx);
/system/dev/block/mtk-sdmmc/
A Dmtk-sdmmc.cpp565 const uint64_t pagecount = ((req->buf_offset & kPageMask) + req_len + kPageMask) / PAGE_SIZE; in RequestPrepareDma() local
567 if (pagecount > SDMMC_PAGES_COUNT) { in RequestPrepareDma()
574 PAGE_SIZE * pagecount, phys, pagecount, &req->pmt); in RequestPrepareDma()
582 if (pagecount > 1) { in RequestPrepareDma()
585 .phys_count = pagecount, in RequestPrepareDma()
/system/dev/block/ahci/
A Dahci.c242 size_t pagecount = ((offset_vmo & (PAGE_SIZE - 1)) + bytes + (PAGE_SIZE - 1)) / in ahci_do_txn() local
245 if (pagecount > AHCI_MAX_PAGES) { in ahci_do_txn()
246 zxlogf(SPEW, "ahci.%d: txn %p too many pages (%zd)\n", port->nr, txn, pagecount); in ahci_do_txn()
255 pagecount * PAGE_SIZE, pages, pagecount, &pmt); in ahci_do_txn()
264 .phys_count = pagecount, in ahci_do_txn()
/system/dev/block/sdhci/
A Dsdhci.c413 uint64_t pagecount = ((req->buf_offset & PAGE_MASK) + req_len + PAGE_MASK) / in sdhci_build_dma_desc() local
415 if (pagecount > SDMMC_PAGES_COUNT) { in sdhci_build_dma_desc()
416 zxlogf(ERROR, "sdhci: too many pages %lu vs %lu\n", pagecount, SDMMC_PAGES_COUNT); in sdhci_build_dma_desc()
427 pagecount * PAGE_SIZE, phys, pagecount, &pmt); in sdhci_build_dma_desc()
448 .phys_count = pagecount, in sdhci_build_dma_desc()
/system/dev/block/aml-sd-emmc/
A Daml-sd-emmc.c692 uint64_t pagecount = ((req->buf_offset & PAGE_MASK) + req_len + PAGE_MASK) / in aml_sd_emmc_setup_data_descs_dma() local
694 if (pagecount > SDMMC_PAGES_COUNT) { in aml_sd_emmc_setup_data_descs_dma()
695 zxlogf(ERROR, "aml-sd-emmc.c: too many pages %lu vs %lu\n", pagecount, SDMMC_PAGES_COUNT); in aml_sd_emmc_setup_data_descs_dma()
706 pagecount * PAGE_SIZE, phys, pagecount, &pmt); in aml_sd_emmc_setup_data_descs_dma()
728 .phys_count = pagecount, in aml_sd_emmc_setup_data_descs_dma()
/system/dev/block/imx-sdhci/
A Dimx-sdhci.c519 uint64_t pagecount = ((req->buf_offset & PAGE_MASK) + req_len + PAGE_MASK) / in imx_sdhci_build_dma_desc() local
521 if (pagecount > SDMMC_PAGES_COUNT) { in imx_sdhci_build_dma_desc()
522 SDHCI_ERROR("too many pages %lu vs %lu\n", pagecount, SDMMC_PAGES_COUNT); in imx_sdhci_build_dma_desc()
533 pagecount * PAGE_SIZE, phys, pagecount, &pmt); in imx_sdhci_build_dma_desc()
554 .phys_count = pagecount, in imx_sdhci_build_dma_desc()
/system/dev/block/nvme/
A Dnvme.c336 size_t pagecount = (byteoffset + bytes + PAGE_MASK) >> PAGE_SHIFT; in io_process_txn() local
344 if ((r = zx_bti_pin(nvme->bti, opt, vmo, pageoffset, pagecount << PAGE_SHIFT, in io_process_txn()
345 pages, pagecount, &utxn->pmt)) != ZX_OK) { in io_process_txn()
361 if (pagecount == 2) { in io_process_txn()
363 } else if (pagecount > 2) { in io_process_txn()
367 zxlogf(TRACE, "nvme: txn=%p utxn id=%u pages=%zu op=%s\n", txn, utxn->id, pagecount, in io_process_txn()

Completed in 27 milliseconds