Home
last modified time | relevance | path

Searched refs:mmap_status (Results 1 – 2 of 2) sorted by relevance

/external/tinyalsa/
Dpcm.c253 struct snd_pcm_mmap_status *mmap_status; member
351 pcm->mmap_status = mmap(NULL, page_size, PROT_READ, MAP_FILE | MAP_SHARED, in pcm_hw_mmap_status()
353 if (pcm->mmap_status == MAP_FAILED) in pcm_hw_mmap_status()
354 pcm->mmap_status = NULL; in pcm_hw_mmap_status()
355 if (!pcm->mmap_status) in pcm_hw_mmap_status()
363 munmap(pcm->mmap_status, page_size); in pcm_hw_mmap_status()
364 pcm->mmap_status = NULL; in pcm_hw_mmap_status()
379 pcm->mmap_status = &pcm->sync_ptr->s.status; in pcm_hw_mmap_status()
397 if (pcm->mmap_status) in pcm_hw_munmap_status()
398 munmap(pcm->mmap_status, page_size); in pcm_hw_munmap_status()
[all …]
/external/tensorflow/tensorflow/examples/ios/camera/
Dtensorflow_utils.mm154 tensorflow::Status mmap_status =
156 if (!mmap_status.ok()) {
157 LOG(ERROR) << "MMap failed with " << mmap_status.error_message();
158 return mmap_status;