Home
last modified time | relevance | path

Searched refs:header_info (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/common/
Dcras_shm.c90 int cras_audio_shm_create(struct cras_shm_info *header_info, in cras_audio_shm_create() argument
97 if (!header_info || !samples_info || !shm_out) { in cras_audio_shm_create()
123 ret = cras_shm_info_move(header_info, &shm->header_info); in cras_audio_shm_create()
126 header_info = &shm->header_info; in cras_audio_shm_create()
133 shm->header = mmap(NULL, header_info->length, PROT_READ | PROT_WRITE, in cras_audio_shm_create()
134 MAP_SHARED, header_info->fd, 0); in cras_audio_shm_create()
156 munmap(shm->header, shm->header_info.length); in cras_audio_shm_create()
161 cras_shm_info_cleanup(header_info); in cras_audio_shm_create()
172 munmap(shm->header, shm->header_info.length); in cras_audio_shm_destroy()
173 cras_shm_info_cleanup(&shm->header_info); in cras_audio_shm_destroy()
Dcras_shm.h129 struct cras_shm_info header_info; member
150 int cras_audio_shm_create(struct cras_shm_info *header_info,
/external/adhd/cras/src/server/
Dcras_rstream.c81 struct cras_shm_info header_info, samples_info; in setup_shm_area() local
94 &header_info); in setup_shm_area()
115 cras_shm_info_cleanup(&header_info); in setup_shm_area()
125 rc = cras_audio_shm_create(&header_info, &samples_info, samples_prot, in setup_shm_area()
Dcras_rstream.h275 *header_fd = stream->shm->header_info.fd; in cras_rstream_get_shm_fds()
/external/adhd/cras/src/libcras/
Dcras_client.c1388 struct cras_shm_info header_info, samples_info; in stream_connected() local
1400 &header_info); in stream_connected()
1407 cras_shm_info_cleanup(&header_info); in stream_connected()
1417 rc = cras_audio_shm_create(&header_info, &samples_info, samples_prot, in stream_connected()
/external/adhd/cras/client/cras-sys/src/
Dgen.rs4667 pub header_info: cras_shm_info, field
4695 unsafe { &(*(::std::ptr::null::<cras_audio_shm>())).header_info as *const _ as usize }, in bindgen_test_layout_cras_audio_shm()
4701 stringify!(header_info) in bindgen_test_layout_cras_audio_shm()