Lines Matching refs:bytes_mapped
553 u64 user_va, size_t bcnt, u32 *bytes_mapped,
591 if (bytes_mapped) {
595 *bytes_mapped += min_t(u32, new_mappings, bcnt);
606 size_t bcnt, u32 *bytes_mapped, u32 flags)
647 bytes_mapped, flags);
691 u32 *bytes_mapped, u32 flags)
722 if (bytes_mapped)
723 *bytes_mapped += bcnt;
738 u32 *bytes_mapped, u32 flags)
746 return pagefault_dmabuf_mr(mr, bcnt, bytes_mapped, flags);
757 return pagefault_real_mr(mr, odp, user_va, bcnt, bytes_mapped,
760 return pagefault_implicit_mr(mr, odp, io_virt, bcnt, bytes_mapped,
817 u32 *bytes_mapped)
839 if (bytes_mapped)
840 *bytes_mapped += bcnt;
862 ret = pagefault_mr(mr, io_virt, bcnt, bytes_mapped, 0);
969 * @bytes_mapped: receives the number of bytes that the function was able to
984 void *wqe_end, u32 *bytes_mapped,
994 if (bytes_mapped)
995 *bytes_mapped = 0;
1041 bytes_mapped);
1199 u32 bytes_mapped, total_wqe_bytes;
1255 ret = pagefault_data_segments(dev, pfault, wqe, wqe_end, &bytes_mapped,
1260 if (ret < 0 || total_wqe_bytes > bytes_mapped)
1706 u32 bytes_mapped = 0;
1714 work->frags[i].length, &bytes_mapped,
1755 u32 bytes_mapped = 0;
1766 &bytes_mapped, pf_flags);