opnsense-src/sys/dev/sound/pcm
Peter Holm 85f6230a1d Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when
another process is in open() or stat() for the device node, then
close() from the owning process does not result in cdevsw close
method call. This fixes the pemanent "Device busy" seen.

Changed the sndstat_lock from mutex to sx.  This allows to extend
the region covered by the lock, to include the uiomove() call in
sndstat_read() and bufptr increment. This fixes the "panic:
sbuf_put_byte called with finished or corrupt sbuf" seen.

In collaboration with:	kib
MFC after:	1 week
2012-05-02 19:32:11 +00:00
..
ac97.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
ac97.h
ac97_if.m
ac97_patch.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
ac97_patch.h
buffer.c Make sound(4) more flexible in setting soft buffer and block sizes when 2012-01-31 21:46:28 +00:00
buffer.h Make sound(4) more flexible in setting soft buffer and block sizes when 2012-01-31 21:46:28 +00:00
channel.c Make sound(4) more flexible in setting soft buffer and block sizes when 2012-01-31 21:46:28 +00:00
channel.h Remove custom KOBJMETHOD(), CHANNEL_DECLARE() and MIXER_DECLARE() 2009-06-11 09:06:09 +00:00
channel_if.m Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
dsp.c dsp_ioctl: fix type of variable used to store ioctl request 2011-09-12 08:38:21 +00:00
dsp.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
feeder.c Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. 2011-11-07 06:44:47 +00:00
feeder.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
feeder_chain.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
feeder_eq.c sound/pcm: use non-const string as a value with SYSCTL_STRING 2010-06-15 07:06:54 +00:00
feeder_format.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
feeder_if.m
feeder_matrix.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
feeder_mixer.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
feeder_rate.c sound/pcm: use non-const string as a value with SYSCTL_STRING 2010-06-15 07:06:54 +00:00
feeder_volume.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
g711.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
intpcm.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
matrix.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
matrix_map.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
mixer.c Remove direct access to si_name. 2012-02-10 12:35:57 +00:00
mixer.h Remove custom KOBJMETHOD(), CHANNEL_DECLARE() and MIXER_DECLARE() 2009-06-11 09:06:09 +00:00
mixer_if.m
pcm.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
sndstat.c Added D_TRACKCLOSE to sndstat_cdevsw to fix the situation when 2012-05-02 19:32:11 +00:00
sndstat.h Hide from default sndstat some information not used on daily basis, 2010-01-13 22:22:16 +00:00
sound.c Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module. 2012-02-14 09:19:30 +00:00
sound.h Remove custom KOBJMETHOD(), CHANNEL_DECLARE() and MIXER_DECLARE() 2009-06-11 09:06:09 +00:00
vchan.c Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00
vchan.h Sound Mega-commit. Expect further cleanup until code freeze. 2009-06-07 19:12:08 +00:00