Home
last modified time | relevance | path

Searched refs:use_mmap (Results 1 – 16 of 16) sorted by relevance

/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.h49 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 */
Dalsa-util.c184 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_INTERLEA… in check_access()
189 …if ((use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_NONINTER… in check_access()
192 …else if (use_mmap && !snd_pcm_hw_params_test_access(pcm_handle, hwparams, SND_PCM_ACCESS_MMAP_COMP… in check_access()
206 bool *use_mmap, in pa_alsa_set_hw_params() argument
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() argument
561 use_mmap, in pa_alsa_open_by_device_id_auto()
[all …]
Dalsa-source.c137 bool use_mmap:1, use_tsched:1, deferred_volume:1, fixed_latency_range:1; member
1078 b = u->use_mmap; in unsuspend()
1086 if (b != u->use_mmap || d != u->use_tsched) { in unsuspend()
1658 if (u->use_mmap) in thread_func()
1962 bool use_mmap = true; in pa_alsa_source_new() local
2032 if (pa_modargs_get_value_boolean(ma, "mmap", &use_mmap) < 0) { in pa_alsa_source_new()
2063 u->use_mmap = use_mmap; in pa_alsa_source_new()
2106 b = use_mmap; in pa_alsa_source_new()
2178 if (use_mmap && !b) { in pa_alsa_source_new()
2180 u->use_mmap = use_mmap = false; in pa_alsa_source_new()
[all …]
Dalsa-sink.c153 bool use_mmap:1, use_tsched:1, deferred_volume:1, fixed_latency_range:1; member
1206 b = u->use_mmap; in unsuspend()
1214 if (b != u->use_mmap || d != u->use_tsched) { in unsuspend()
1920 if (u->use_mmap) in thread_func()
2256 bool use_mmap = true; in pa_alsa_sink_new() local
2327 if (pa_modargs_get_value_boolean(ma, "mmap", &use_mmap) < 0) { in pa_alsa_sink_new()
2364 u->use_mmap = use_mmap; in pa_alsa_sink_new()
2409 b = use_mmap; in pa_alsa_sink_new()
2481 if (use_mmap && !b) { in pa_alsa_sink_new()
2483 u->use_mmap = use_mmap = false; in pa_alsa_sink_new()
[all …]
/third_party/pulseaudio/src/modules/oss/
Dmodule-oss.c129 bool use_mmap; member
178 if (u->use_mmap) { in trigger()
598 if (u->use_mmap) { in unsuspend()
653 if (u->use_mmap) in sink_process_msg()
742 if (u->use_mmap) in source_process_msg()
916 …INK_IS_OPENED(u->sink->thread_info.state) && ((revents & POLLOUT) || u->use_mmap || u->use_getospa… in thread_func()
918 if (u->use_mmap) { in thread_func()
1024 …CE_IS_OPENED(u->source->thread_info.state) && ((revents & POLLIN) || u->use_mmap || u->use_getispa… in thread_func()
1026 if (u->use_mmap) { in thread_func()
1179 bool record = true, playback = true, use_mmap = true; in pa__init() local
[all …]
/third_party/gettext/gettext-runtime/intl/
Dloadmsgcat.c719 int use_mmap = 0; in _nl_load_domain() local
793 use_mmap = 1; in _nl_load_domain()
840 if (use_mmap) in _nl_load_domain()
852 if (use_mmap) in _nl_load_domain()
862 domain->use_mmap = use_mmap; in _nl_load_domain()
1233 if (use_mmap) in _nl_load_domain()
1307 if (domain->use_mmap) in _nl_unload_domain()
DgettextP.h163 int use_mmap; member
DChangeLog.04581 * loadmsgcat.c (_nl_load_domain): Don't assign the element use_mmap if
5185 * loadmsgcat.c (use_mmap): Define if compiled for glibc.
/third_party/alsa-lib/include/
Daserver.h56 int use_mmap; member
100 char use_mmap; member
/third_party/freetype/
Dmeson.build192 use_mmap = has_unistd_h and has_fcntl_h and has_sys_mman_h variable
194 use_mmap = mmap_option.enabled() variable
196 if use_mmap
/third_party/alsa-lib/aserver/
Daserver.c252 ctrl->hw.use_mmap = 1; in pcm_shm_hw_ptr_changed()
256 ctrl->hw.use_mmap = 0; in pcm_shm_hw_ptr_changed()
271 ctrl->appl.use_mmap = 1; in pcm_shm_appl_ptr_changed()
275 ctrl->appl.use_mmap = 0; in pcm_shm_appl_ptr_changed()
/third_party/boost/libs/container/src/
Ddlmalloc_ext_2_8_6.c825 was_enabled = use_mmap(m); in internal_node_multialloc()
1030 was_enabled = use_mmap(m); in internal_multialloc_arrays()
Ddlmalloc_2_8_6.c2650 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro
3238 assert(use_mmap(m)); in do_check_mmapped_chunk()
4041 if (use_mmap(m) && nb >= mparams.mmap_threshold && m->topsize != 0) { in sys_alloc()
5019 was_enabled = use_mmap(m); in ialloc()
5454 if (!use_mmap(ms)) { in mspace_track_large_chunks()
/third_party/libffi/src/
Ddlmalloc.c2130 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro
2645 assert(use_mmap(m)); in do_check_mmapped_chunk()
3434 if (use_mmap(m) && nb >= mparams.mmap_threshold) { in sys_alloc()
4057 was_enabled = use_mmap(m); in ialloc()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_malloc.c2123 #define use_mmap(M) ((M)->mflags & USE_MMAP_BIT) macro
2646 assert(use_mmap(m)); in do_check_mmapped_chunk()
3470 if (use_mmap(m) && nb >= mparams.mmap_threshold) { in sys_alloc()
4100 was_enabled = use_mmap(m); in ialloc()
/third_party/alsa-lib/src/pcm/
Dpcm_shm.c83 if (!shm_rbptr->use_mmap) { in snd_pcm_shm_new_rbptr()