Home
last modified time | relevance | path

Searched refs:mmap_offset (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/broadcom/simulator/
Dv3d_simulator.c125 uint64_t mmap_offset; member
254 sim_bo->mmap_offset = map.offset; in v3d_create_simulator_bo_for_gem()
261 sim_bo->mmap_offset = map.offset; in v3d_create_simulator_bo_for_gem()
270 fd, sim_bo->mmap_offset); in v3d_create_simulator_bo_for_gem()
273 handle, (long long)sim_bo->mmap_offset, sim_bo->size); in v3d_create_simulator_bo_for_gem()
535 args->offset = sim_bo->mmap_offset; in v3d_simulator_mmap_bo_ioctl()
/third_party/alsa-lib/src/pcm/
Dpcm_shm.c90 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/alsa-lib/include/
Dlocal.h233 size_t page_ptr(size_t object_offset, size_t object_size, size_t *offset, size_t *mmap_offset);
/third_party/alsa-lib/src/
Dconf.c5823 size_t page_ptr(size_t object_offset, size_t object_size, size_t *offset, size_t *mmap_offset) in page_ptr() argument
5828 assert(mmap_offset); in page_ptr()
5829 *mmap_offset = object_offset; in page_ptr()
5831 *mmap_offset -= object_offset; in page_ptr()