Searched refs:nprps (Results 1 – 3 of 3) sorted by relevance
75 int i, nprps; in nvme_setup_prps() local91 nprps = DIV_ROUND_UP(length, page_size); in nvme_setup_prps()93 if (nprps > dev->prp_entry_num) { in nvme_setup_prps()95 dev->prp_pool = malloc(nprps << 3); in nvme_setup_prps()100 dev->prp_entry_num = nprps; in nvme_setup_prps()105 while (nprps) { in nvme_setup_prps()114 nprps--; in nvme_setup_prps()
326 const unsigned int nprps = DIV_ROUND_UP( in apple_nvme_iod_alloc_size() local 328 const int npages = DIV_ROUND_UP(8 * nprps, PAGE_SIZE - 8); in apple_nvme_iod_alloc_size() 407 int nprps, i; in apple_nvme_setup_prps() local 429 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in apple_nvme_setup_prps() 430 if (nprps <= (256 / 8)) { in apple_nvme_setup_prps()
392 unsigned nprps = DIV_ROUND_UP(max_bytes, NVME_CTRL_PAGE_SIZE); in nvme_pci_npages_prp() local 393 return DIV_ROUND_UP(8 * nprps, NVME_CTRL_PAGE_SIZE - 8); in nvme_pci_npages_prp() 592 int nprps, i; in nvme_pci_setup_prps() local 614 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in nvme_pci_setup_prps() 615 if (nprps <= (256 / 8)) { in nvme_pci_setup_prps()