Lines Matching refs:n_prp
545 int n_prp) in nvme_cmd_qpair_fill_prp_list() argument
563 for (idx = 0; idx < n_prp; idx++) { in nvme_cmd_qpair_fill_prp_list()
575 int n_prp; in compute_n_prp() local
579 n_prp = size / CONFIG_MMU_PAGE_SIZE; in compute_n_prp()
580 if (n_prp == 0) { in compute_n_prp()
581 n_prp = 1; in compute_n_prp()
588 if (n_prp == 1) { in compute_n_prp()
590 n_prp++; in compute_n_prp()
593 n_prp++; in compute_n_prp()
596 return n_prp; in compute_n_prp()
606 int n_prp; in nvme_cmd_qpair_fill_dptr() local
613 n_prp = compute_n_prp((uintptr_t)request->payload, in nvme_cmd_qpair_fill_dptr()
615 if (n_prp <= 2) { in nvme_cmd_qpair_fill_dptr()
618 if (n_prp == 2) { in nvme_cmd_qpair_fill_dptr()
629 return nvme_cmd_qpair_fill_prp_list(qpair, request, n_prp); in nvme_cmd_qpair_fill_dptr()