Home
last modified time | relevance | path

Searched refs:aio (Results 1 – 25 of 70) sorted by relevance

123

/external/adhd/cras/src/server/
Dcras_alsa_io.c168 static void init_device_settings(struct alsa_io *aio);
174 static int get_fixed_rate(struct alsa_io *aio);
290 struct alsa_io *aio = (struct alsa_io *)iodev; in set_hwparams() local
295 if (aio->hwparams_set) in set_hwparams()
303 rc = cras_alsa_set_hwparams(aio->handle, iodev->format, in set_hwparams()
305 aio->dma_period_set_microsecs); in set_hwparams()
309 aio->hwparams_set = 1; in set_hwparams()
320 struct alsa_io *aio = (struct alsa_io *)iodev; in frames_queued() local
324 rc = cras_alsa_get_avail_frames(aio->handle, aio->base.buffer_size, in frames_queued()
325 aio->severe_underrun_frames, in frames_queued()
[all …]
Dcras_hfp_alsa_iodev.c32 struct cras_iodev *aio; member
39 struct cras_iodev *aio = hfp_alsa_io->aio; in hfp_alsa_get_valid_frames() local
41 return aio->get_valid_frames(aio, hw_tstamp); in hfp_alsa_get_valid_frames()
47 struct cras_iodev *aio = hfp_alsa_io->aio; in hfp_alsa_open_dev() local
49 return aio->open_dev(aio); in hfp_alsa_open_dev()
84 struct cras_iodev *aio = hfp_alsa_io->aio; in hfp_alsa_configure_dev() local
88 if (aio->format == NULL) { in hfp_alsa_configure_dev()
89 aio->format = (struct cras_audio_format *)malloc( in hfp_alsa_configure_dev()
90 sizeof(*aio->format)); in hfp_alsa_configure_dev()
91 if (!aio->format) in hfp_alsa_configure_dev()
[all …]
Dcras_hfp_alsa_iodev.h23 struct cras_iodev *hfp_alsa_iodev_create(struct cras_iodev *aio,
/external/adhd/cras/src/tests/
Dalsa_io_unittest.cc255 struct alsa_io* aio; in TEST() local
257 aio = (struct alsa_io*)alsa_iodev_create_with_default_parameters( in TEST()
260 ASSERT_EQ(aio, (void*)NULL); in TEST()
264 struct alsa_io* aio; in TEST() local
268 aio = (struct alsa_io*)alsa_iodev_create_with_default_parameters( in TEST()
271 ASSERT_EQ(0, alsa_iodev_legacy_complete_init((struct cras_iodev*)aio)); in TEST()
274 EXPECT_EQ(SND_PCM_STREAM_PLAYBACK, aio->alsa_stream); in TEST()
279 0, strncmp(test_card_name, aio->base.info.name, strlen(test_card_name))); in TEST()
282 ASSERT_NE(reinterpret_cast<const char*>(NULL), aio->dev_name); in TEST()
283 EXPECT_EQ(0, strcmp(test_dev_name, aio->dev_name)); in TEST()
[all …]
Dhfp_alsa_iodev_unittest.cc19 struct cras_iodev* aio; member
168 EXPECT_EQ(&fake_sco_out, hfp_alsa_io->aio); in TEST_F()
190 EXPECT_EQ(&fake_sco_in, hfp_alsa_io->aio); in TEST_F()
254 EXPECT_EQ(fake_format.num_channels, hfp_alsa_io->aio->format->num_channels); in TEST_F()
255 EXPECT_EQ(fake_format.frame_rate, hfp_alsa_io->aio->format->frame_rate); in TEST_F()
256 EXPECT_EQ(fake_format.format, hfp_alsa_io->aio->format->format); in TEST_F()
259 hfp_alsa_io->aio->format->channel_layout[i]); in TEST_F()
/external/autotest/client/tests/aio_dio_bugs/src/
DMakefile5 TESTS=aio-dio-invalidate-failure aio-dio-subblock-eof-read \
6 aio-free-ring-with-bogus-nr-pages \
7 aio-io-setup-with-nonwritable-context-pointer aio-dio-extend-stat
11 aio-dio-invalidate-failure: aio-dio-invalidate-failure.c
14 aio-dio-subblock-eof-read: aio-dio-subblock-eof-read.c
17 aio-free-ring-with-bogus-nr-pages: aio-free-ring-with-bogus-nr-pages.c
20 aio-io-setup-with-nonwritable-context-pointer: aio-io-setup-with-nonwritable-context-pointer.c
23 aio-dio-extend-stat: aio-dio-extend-stat.c
/external/ltp/runtest/
Dltp-aio-stress.part13 # aio-stress [-s size] [-r size] [-a size] [-d num] [-b num]
12 # -d number of pending aio requests for each file, default 64
29 ADS1000 aio-stress -I500 -o2 -S -r4 $TMPDIR/file1
30 ADS1001 aio-stress -I500 -o2 -S -r8 $TMPDIR/file1
31 ADS1002 aio-stress -I500 -o2 -S -r16 $TMPDIR/file1
32 ADS1003 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
33 ADS1004 aio-stress -I500 -o2 -S -r64 $TMPDIR/junkfile $TMPDIR/file2
34 ADS1005 aio-stress -I500 -o3 -S -r4 $TMPDIR/junkfile $TMPDIR/file2
35 ADS1006 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
36 ADS1007 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
[all …]
Dltp-aio-stress.part23 # aio-stress [-s size] [-r size] [-a size] [-d num] [-b num]
12 # -d number of pending aio requests for each file, default 64
29 ADS2001 aio-stress -I500 -o2 -S -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
30 ADS2002 aio-stress -I500 -o3 -S -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
31 ADS2003 aio-stress -I500 -o3 -S -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
32 ADS2004 aio-stress -I500 -o3 -S -r32 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/fi…
33 ADS2005 aio-stress -I500 -o3 -S -r64 -t4 $TMPDIR/junkfile $TMPDIR/file2 $TMPDIR/file3 $TMPDIR/fi…
34 ADS2006 aio-stress -I500 -o2 -O -r32 -t2 $TMPDIR/junkfile $TMPDIR/file2
35 ADS2007 aio-stress -I500 -o3 -O -r8 -t2 $TMPDIR/junkfile $TMPDIR/file2
36 ADS2008 aio-stress -I500 -o3 -O -r16 -t2 $TMPDIR/junkfile $TMPDIR/file2
[all …]
Dltp-aiodio.part42 # Malcles Jacky: this file is a copy from Ridgeway Marty's aio script
3 # goal: all aio tests using the same framework
/external/autotest/client/tests/fsx/
D0003-Fix-Link-Options.patch6 aio-test: aio-test.o
7 - $(CC) $(LDFLAGS) -laio aio-test.o -o aio-test
8 + $(CC) ${CFLAGS} $(LDFLAGS) aio-test.o -o aio-test -laio
10 aio-stress: aio-stress.o
11 - $(CC) $(LDFLAGS) -laio -lpthread aio-stress.o -o aio-stress
12 + $(CC) ${CFLAGS} $(LDFLAGS) aio-stress.o -o aio-stress -laio -lpthread
/external/autotest/client/tests/aiostress/
Dcontrol2 NAME = "aio stress"
8 aio-stress
11 of aio to it.
13 aio is done in a rotating loop. first file1 gets 8 requests, then
20 than a few Megs. It is a sequential workload. This test stresses the aio
/external/ltp/m4/
Dltp-eventfd.m48 AC_CHECK_LIB(aio, io_setup, [have_aio=yes])
14 AC_MSG_CHECKING([io_set_eventfd is defined in aio library or aio header])
/external/ltp/testscripts/
Dltp-aiodio.sh232 sort -R ${LTPROOT}/runtest/ltp-aio-stress.part1 -o ${TMPBASE}/ltp-aio-stress.part1
234 …stresspart1 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part1 &
244 sort -R ${LTPROOT}/runtest/ltp-aio-stress.part2 -o ${TMPBASE}/ltp-aio-stress.part2
246 …stresspart2 -l ltpaiostress.logfile -o ltpaiostress.outfile -p -f ${TMPBASE}/ltp-aio-stress.part2 &
/external/autotest/client/tests/aio_dio_bugs/
Dcontrol1 NAME = "aio dio bugs"
10 Rafal Wijata <wijata@nec-labs.com>. It caught a race in dio aio completion
/external/ltp/testcases/kernel/io/ltp-aiodio/
D.gitignore1 /aio-stress
/external/rust/crates/nix/test/sys/
Dtest_aio_drop.rs14 use nix::sys::aio::*; in test_drop()
Dtest_lio_listio_resubmit.rs10 use nix::sys::aio::*;
/external/autotest/client/tests/fio/
Dfio-mixed.job24 ioengine=aio
/external/rust/crates/nix/src/sys/
Dmod.rs7 pub mod aio; module
/external/rust/crates/nix/
DCargo.toml.orig59 name = "test-aio-drop"
DCargo.toml31 name = "test-aio-drop"
/external/libiio/src/iiod/
DCMakeLists.txt17 find_library(LIBAIO_LIBRARIES aio)
/external/stressapptest/
Dconfigure.ac113 AC_SEARCH_LIBS([io_setup], [aio])
/external/libiio/src/CI/travis/
Dsetup_qemu_for_arm.sh35 …s --disable-tcg-interpreter --enable-attr --disable-brlapi --disable-linux-aio --disable-bzip2 --d…
/external/ltp/testcases/open_posix_testsuite/
DNEWS6 This release has been tested on glibc-2.3.3 and kernel 2.6.10 with libposix-aio-0.3. The test resul…

123