Searched refs:mmap_size (Results 1 – 9 of 9) sorted by relevance
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_renderer.h | 15 size_t mmap_size; /* for internal use only (i.e., munmap) */ member 27 size_t mmap_size; member 290 assert(shmem->mmap_size >= size); in vn_renderer_shmem_create() 330 assert(!bo->mmap_size || bo->mmap_size >= size); in vn_renderer_bo_create_from_device_memory() 351 assert(!bo->mmap_size || bo->mmap_size >= size); in vn_renderer_bo_create_from_dma_buf()
|
D | vn_renderer_virtgpu.c | 1112 virtgpu_ioctl_map(gpu, bo->gem_handle, bo->base.mmap_size); in virtgpu_bo_map() 1149 munmap(bo->base.mmap_ptr, bo->base.mmap_size); in virtgpu_bo_destroy() 1198 size_t mmap_size; in virtgpu_bo_create_from_dma_buf() local 1211 mmap_size = 0; in virtgpu_bo_create_from_dma_buf() 1216 mmap_size = size; in virtgpu_bo_create_from_dma_buf() 1224 mmap_size = 0; in virtgpu_bo_create_from_dma_buf() 1231 if (bo->base.mmap_size < mmap_size) in virtgpu_bo_create_from_dma_buf() 1245 .mmap_size = mmap_size, in virtgpu_bo_create_from_dma_buf() 1288 .mmap_size = size, in virtgpu_bo_create_from_device_memory() 1306 munmap(shmem->base.mmap_ptr, shmem->base.mmap_size); in virtgpu_shmem_destroy_now() [all …]
|
D | vn_renderer_vtest.c | 686 void *ptr = mmap(NULL, bo->base.mmap_size, PROT_READ | PROT_WRITE, in vtest_bo_map() 690 bo->res_fd, bo->base.mmap_size, strerror(errno)); in vtest_bo_map() 720 munmap(bo->base.mmap_ptr, bo->base.mmap_size); in vtest_bo_destroy() 770 .mmap_size = size, in vtest_bo_create_from_device_memory() 788 munmap(shmem->base.mmap_ptr, shmem->base.mmap_size); in vtest_shmem_destroy_now() 843 .mmap_size = size, in vtest_shmem_create()
|
D | vn_renderer_internal.c | 101 choose_bucket(cache, shmem->mmap_size, &idx); in vn_renderer_shmem_cache_add()
|
/third_party/ffmpeg/libavcodec/ |
D | smacker.c | 276 int mmap_size, mclr_size, full_size, type_size, ret; in decode_header_trees() local 279 mmap_size = AV_RL32(smk->avctx->extradata); in decode_header_trees() 297 ret = smacker_decode_header_tree(smk, &gb, &smk->mmap_tbl, smk->mmap_last, mmap_size); in decode_header_trees()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_shm.c | 90 size_t mmap_size, mmap_offset, offset; in snd_pcm_shm_new_rbptr() local 98 mmap_size = page_ptr(shm_rbptr->offset, sizeof(snd_pcm_uframes_t), &offset, &mmap_offset); in snd_pcm_shm_new_rbptr() 99 ptr = mmap(NULL, mmap_size, PROT_READ|PROT_WRITE, MAP_FILE|MAP_SHARED, fd, mmap_offset); in snd_pcm_shm_new_rbptr()
|
/third_party/libbpf/src/ |
D | libbpf.c | 11981 perf_event_read_simple(void *mmap_mem, size_t mmap_size, size_t page_size, argument 11994 ehdr = base + (data_tail & (mmap_size - 1)); 11997 if (((void *)ehdr) + ehdr_size > base + mmap_size) { 11999 size_t len_first = base + mmap_size - copy_start; 12060 size_t mmap_size; member 12074 munmap(cpu_buf->base, pb->mmap_size + pb->page_size)) 12133 cpu_buf->base = mmap(NULL, pb->mmap_size + pb->page_size, 12264 pb->mmap_size = pb->page_size * page_cnt; 12412 ret = perf_event_read_simple(cpu_buf->base, pb->mmap_size, 12485 *buf_size = pb->mmap_size;
|
/third_party/mesa3d/docs/relnotes/ |
D | 21.2.0.rst | 1337 - venus: fix dmabuf import mmap_size check 5207 - venus: fix mismatched bo mmap_size for export and multiple imports
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 43860 long unsigned int mmap_size; member
|