Searched refs:pagecount (Results 1 - 7 of 7) sorted by relevance
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | block.cpp | 281 uint64_t* pages, size_t pagecount, uint16_t* idx) { 310 LTRACEF("page count %lu\n", pagecount); 311 assert(pagecount > 0); 318 desc = vring_.AllocDescChain((uint16_t)(2u + pagecount), &i); 321 LTRACEF("failed to allocate descriptor chain of length %zu\n", 2u + pagecount); 338 for (size_t n = 0; n < pagecount; n++) { 280 QueueTxn(block_txn_t* txn, bool write, size_t bytes, uint64_t* pages, size_t pagecount, uint16_t* idx) argument
|
H A D | block.h | 58 uint64_t* pages, size_t pagecount, uint16_t* idx);
|
/fuchsia/zircon/system/dev/block/ahci/ |
H A D | ahci.c | 240 size_t pagecount = ((offset_vmo & (PAGE_SIZE - 1)) + bytes + (PAGE_SIZE - 1)) / local 243 if (pagecount > AHCI_MAX_PAGES) { 244 zxlogf(SPEW, "ahci.%d: txn %p too many pages (%zd)\n", port->nr, txn, pagecount); 253 pagecount * PAGE_SIZE, pages, pagecount, &pmt); 262 .phys_count = pagecount,
|
/fuchsia/zircon/system/dev/block/sdhci/ |
H A D | sdhci.c | 409 uint64_t pagecount = ((req->buf_offset & PAGE_MASK) + req_len + PAGE_MASK) / local 411 if (pagecount > SDMMC_PAGES_COUNT) { 412 zxlogf(ERROR, "sdhci: too many pages %lu vs %lu\n", pagecount, SDMMC_PAGES_COUNT); 423 pagecount * PAGE_SIZE, phys, pagecount, &pmt); 444 .phys_count = pagecount,
|
/fuchsia/zircon/system/dev/block/aml-sd-emmc/ |
H A D | aml-sd-emmc.c | 684 uint64_t pagecount = ((req->buf_offset & PAGE_MASK) + req_len + PAGE_MASK) / local 686 if (pagecount > SDMMC_PAGES_COUNT) { 687 zxlogf(ERROR, "aml-sd-emmc.c: too many pages %lu vs %lu\n", pagecount, SDMMC_PAGES_COUNT); 698 pagecount * PAGE_SIZE, phys, pagecount, &pmt); 720 .phys_count = pagecount,
|
/fuchsia/zircon/system/dev/block/imx-sdhci/ |
H A D | imx-sdhci.c | 516 uint64_t pagecount = ((req->buf_offset & PAGE_MASK) + req_len + PAGE_MASK) / local 518 if (pagecount > SDMMC_PAGES_COUNT) { 519 SDHCI_ERROR("too many pages %lu vs %lu\n", pagecount, SDMMC_PAGES_COUNT); 530 pagecount * PAGE_SIZE, phys, pagecount, &pmt); 551 .phys_count = pagecount,
|
/fuchsia/zircon/system/dev/block/nvme/ |
H A D | nvme.c | 366 size_t pagecount = (byteoffset + bytes + PAGE_MASK) >> PAGE_SHIFT; local 374 if ((r = zx_bti_pin(nvme->bti, opt, vmo, pageoffset, pagecount << PAGE_SHIFT, 375 pages, pagecount, &utxn->pmt)) != ZX_OK) { 388 // The second is the second page if pagecount is 2. 389 // The second is the address of an array of page 2..n if pagecount > 2 391 if (pagecount == 2) { 393 } else if (pagecount > 2) { 397 zxlogf(TRACE, "nvme: txn=%p utxn id=%u pages=%zu op=%s\n", txn, utxn->id, pagecount,
|
Completed in 121 milliseconds