Lines Matching refs:umem
35 start = ALIGN_DOWN(umem_dmabuf->umem.address, PAGE_SIZE); in ib_umem_dmabuf_map_pages()
36 end = ALIGN(umem_dmabuf->umem.address + umem_dmabuf->umem.length, in ib_umem_dmabuf_map_pages()
61 umem_dmabuf->umem.sgt_append.sgt.sgl = umem_dmabuf->first_sg; in ib_umem_dmabuf_map_pages()
62 umem_dmabuf->umem.sgt_append.sgt.nents = nmap; in ib_umem_dmabuf_map_pages()
116 struct ib_umem *umem; in ib_umem_dmabuf_get() local
139 umem = &umem_dmabuf->umem; in ib_umem_dmabuf_get()
140 umem->ibdev = device; in ib_umem_dmabuf_get()
141 umem->length = size; in ib_umem_dmabuf_get()
142 umem->address = offset; in ib_umem_dmabuf_get()
143 umem->writable = ib_access_writable(access); in ib_umem_dmabuf_get()
144 umem->is_dmabuf = 1; in ib_umem_dmabuf_get()
146 if (!ib_umem_num_pages(umem)) in ib_umem_dmabuf_get()
174 ibdev_warn_ratelimited(umem_dmabuf->umem.ibdev, in ib_umem_dmabuf_unsupported_move_notify()
213 ib_umem_release(&umem_dmabuf->umem); in ib_umem_dmabuf_get_pinned()