Lines Matching refs:mmap
187 int ret = dmabuf->ops->mmap(dmabuf, vma);
195 /* override open() and close() to provide buffer mmap count */
206 return dmabuf->ops->mmap(dmabuf, vma);
220 /* check if buffer supports mmap */
221 if (!dmabuf->ops->mmap) {
528 .mmap = dma_buf_mmap_internal,
1141 * interfaces, which might already support mmap'ing buffers. This is needed in
1145 * replace ION buffers mmap support was needed.
1147 * There is no special interfaces, userspace simply calls mmap on the dma-buf
1160 * - mmap dma-buf fd
1162 * to mmap area 3. SYNC_END ioctl. This can be repeated as often as you
1179 * use a different way to mmap a buffer rather invasive.
1182 * initial mmap is all that's needed. A survey of some of the existing
1193 * If the importing subsystem simply provides a special-purpose mmap call to
1318 * dma_buf_mmap - Setup up a userspace mmap with the given vma
1320 * @vma: [in] vma for the mmap
1321 * @pgoff: [in] offset in pages where this mmap should start within the
1326 * checking on the size of the vma. Then it calls the exporters mmap function to
1340 /* check if buffer supports mmap */
1341 if (!dmabuf->ops->mmap) {
1361 ret = dmabuf->ops->mmap(dmabuf, vma);