/third_party/elfutils/tests/ |
H A D | newdata.c | 73 create_elf (int fd, int class, int use_mmap) in create_elf() argument 75 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in create_elf() 157 read_elf (int fd, int use_mmap) in read_elf() argument 160 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in read_elf() 237 check_elf (int class, int use_mmap) in check_elf() argument 241 fname = use_mmap ? "newdata.elf32.mmap" : "newdata.elf32"; in check_elf() 243 fname = use_mmap ? "newdata.elf64.mmap" : "newdata.elf64"; in check_elf() 254 Elf *elf = create_elf (fd, class, use_mmap); in check_elf() 279 elf = read_elf (fd, use_mmap); in check_elf() 309 elf = read_elf (fd, use_mmap); in check_elf() [all...] |
H A D | elfcopy.c | 72 copy_elf (const char *in, const char *out, bool use_mmap, bool reverse_offs) in copy_elf() argument 75 use_mmap ? "mmap" : "read", in copy_elf() 87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf() 104 Elf *elfb = elf_begin (fdb, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in copy_elf() 350 bool use_mmap = false; in main() local 353 use_mmap = true; in main() 366 copy_elf (in, out, use_mmap, reverse_offs); in main()
|
H A D | addsections.c | 73 add_sections (const char *name, size_t nr, int use_mmap, size_t sec_size) in add_sections() argument 85 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in add_sections() 314 bool use_mmap = false; in main() local 317 use_mmap = true; in main() 328 add_sections (file, nr, use_mmap, sec_size); in main()
|
H A D | vendorelf.c | 36 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 47 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
H A D | emptyfile.c | 66 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 78 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 136 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
H A D | fillfile.c | 200 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 212 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 277 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
H A D | elfstrtab.c | 133 check_elf (const char *fname, int class, int use_mmap) in check_elf() argument 145 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() 291 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf() 360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-util.h | 49 bool *use_mmap, /* modified at return */ 68 bool *use_mmap, /* modified at return */ 83 bool *use_mmap, /* modified at return */ 97 bool *use_mmap, /* modified at return */ 112 bool *use_mmap, /* modified at return */
|
H A D | alsa-util.c | 184 static void check_access(snd_pcm_t *pcm_handle, snd_pcm_hw_params_t *hwparams, bool use_mmap) { in check_access() argument 185 if ((use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_INTERLEAVED)) || in check_access() 189 if ((use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_NONINTERLEAVED)) || in check_access() 192 else if (use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_COMPLEX)) { in check_access() 206 bool *use_mmap, in pa_alsa_set_hw_params() 215 bool _use_mmap = use_mmap && *use_mmap; in pa_alsa_set_hw_params() 449 if (use_mmap) in pa_alsa_set_hw_params() 450 *use_mmap = _use_mmap; in pa_alsa_set_hw_params() 523 bool *use_mmap, in pa_alsa_open_by_device_id_auto() 200 pa_alsa_set_hw_params( snd_pcm_t *pcm_handle, pa_sample_spec *ss, snd_pcm_uframes_t *period_size, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t tsched_size, bool *use_mmap, bool *use_tsched, bool require_exact_channel_number) pa_alsa_set_hw_params() argument 514 pa_alsa_open_by_device_id_auto( const char *dev_id, char **dev, pa_sample_spec *ss, pa_channel_map* map, int mode, snd_pcm_uframes_t *period_size, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t tsched_size, bool *use_mmap, bool *use_tsched, pa_alsa_profile_set *ps, pa_alsa_mapping **mapping) pa_alsa_open_by_device_id_auto() argument 623 pa_alsa_open_by_device_id_mapping( const char *dev_id, char **dev, pa_sample_spec *ss, pa_channel_map* map, int mode, snd_pcm_uframes_t *period_size, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t tsched_size, bool *use_mmap, bool *use_tsched, pa_alsa_mapping *m) pa_alsa_open_by_device_id_mapping() argument 675 pa_alsa_open_by_device_string( const char *device, char **dev, pa_sample_spec *ss, pa_channel_map* map, int mode, snd_pcm_uframes_t *period_size, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t tsched_size, bool *use_mmap, bool *use_tsched, bool require_exact_channel_number) pa_alsa_open_by_device_string() argument 774 pa_alsa_open_by_template( char **template, const char *dev_id, char **dev, pa_sample_spec *ss, pa_channel_map* map, int mode, snd_pcm_uframes_t *period_size, snd_pcm_uframes_t *buffer_size, snd_pcm_uframes_t tsched_size, bool *use_mmap, bool *use_tsched, bool require_exact_channel_number) pa_alsa_open_by_template() argument [all...] |
H A D | alsa-sink.c | 162 bool use_mmap:1, use_tsched:1, deferred_volume:1, fixed_latency_range:1; member 1244 b = u->use_mmap; in unsuspend() 1252 if (b != u->use_mmap || d != u->use_tsched) { in unsuspend() 1995 if (u->use_mmap) in thread_func() 2339 bool use_mmap = true; in pa_alsa_sink_new() local 2414 if (pa_modargs_get_value_boolean(ma, "mmap", &use_mmap) < 0) { in pa_alsa_sink_new() 2451 u->use_mmap = use_mmap; in pa_alsa_sink_new() 2498 b = use_mmap; in pa_alsa_sink_new() 2570 if (use_mmap in pa_alsa_sink_new() [all...] |
H A D | alsa-source.c | 146 bool use_mmap:1, use_tsched:1, deferred_volume:1, fixed_latency_range:1; member 1119 b = u->use_mmap; in unsuspend() 1127 if (b != u->use_mmap || d != u->use_tsched) { in unsuspend() 1735 if (u->use_mmap) in thread_func() 2043 bool use_mmap = true; in pa_alsa_source_new() local 2113 if (pa_modargs_get_value_boolean(ma, "mmap", &use_mmap) < 0) { in pa_alsa_source_new() 2144 u->use_mmap = use_mmap; in pa_alsa_source_new() 2189 b = use_mmap; in pa_alsa_source_new() 2261 if (use_mmap in pa_alsa_source_new() [all...] |
/third_party/pulseaudio/src/modules/oss/ |
H A D | module-oss.c | 131 bool use_mmap; member 180 if (u->use_mmap) { in trigger() 600 if (u->use_mmap) { in unsuspend() 655 if (u->use_mmap) in sink_process_msg() 744 if (u->use_mmap) in source_process_msg() 917 if (u->sink && PA_SINK_IS_OPENED(u->sink->thread_info.state) && ((revents & POLLOUT) || u->use_mmap || u->use_getospace)) { in thread_func() 919 if (u->use_mmap) { in thread_func() 1022 if (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state) && ((revents & POLLIN) || u->use_mmap || u->use_getispace)) { in thread_func() 1024 if (u->use_mmap) { in thread_func() 1188 bool record = true, playback = true, use_mmap in pa__init() local [all...] |
/third_party/alsa-lib/include/ |
H A D | aserver.h | 56 int use_mmap; member 100 char use_mmap; member
|
/third_party/alsa-lib/aserver/ |
H A D | aserver.c | 253 ctrl->hw.use_mmap = 1; in pcm_shm_hw_ptr_changed() 257 ctrl->hw.use_mmap = 0; in pcm_shm_hw_ptr_changed() 272 ctrl->appl.use_mmap = 1; in pcm_shm_appl_ptr_changed() 276 ctrl->appl.use_mmap = 0; in pcm_shm_appl_ptr_changed()
|
/third_party/elfutils/libelf/ |
H A D | elf_begin.c | 649 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file() local 673 if (use_mmap) in read_file()
|
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_shm.c | 84 if (!shm_rbptr->use_mmap) { in snd_pcm_shm_new_rbptr()
|