History log of /src/sys/dev/sound/pcm/buffer.c (Results 1 – 25 of 240)
Revision Date Author Comments
# 79225129 02-Jan-2026 Christos Margiolis <christos@FreeBSD.org>

sound: Do not check for NULL before free()

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.or

sound: Do not check for NULL before free()

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54174

show more ...


# 4e2bf54d 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Add to pcm/buffer.* copyright

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 78c5026a 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Get rid of useless sndbuf getters and setters

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D53528


# c0e96595 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Simplify sndbuf_clear() loop

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53526


# 06eb65e1 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Retire unused sndbuf_getflags() and sndbuf_setflags()

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53525


# 6d6eb25d 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Retire unused sndbuf_dump()

Fixes: e4e61333ffa4e90360de2dd1e4e0146f7cbf0afb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj, emaste
Differential Revision: https://r

sound: Retire unused sndbuf_dump()

Fixes: e4e61333ffa4e90360de2dd1e4e0146f7cbf0afb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D53522

show more ...


# 482d0d97 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Re-arrange sndbuf_create() arguments

Since we always use the channel name as the "drv" argument, we can just
get rid of it and fetch it in sndbuf_create(). Also, put the "channel"
argument fi

sound: Re-arrange sndbuf_create() arguments

Since we always use the channel name as the "drv" argument, we can just
get rid of it and fetch it in sndbuf_create(). Also, put the "channel"
argument first, as it is more intuitive.

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53520

show more ...


# 55540ebc 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Retire snd_dbuf->dev

Redundant, and if we at some point really need this, we can fetch it
from snd_dbuf->channel->dev.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: mar

sound: Retire snd_dbuf->dev

Redundant, and if we at some point really need this, we can fetch it
from snd_dbuf->channel->dev.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53519

show more ...


# 6524d2a5 25-Feb-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Remove SNDBUF_LOCKASSERT()

It's a no-op. There is no lock associated with the buffer.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: dev_submerge.ch, markj
Differential

sound: Remove SNDBUF_LOCKASSERT()

It's a no-op. There is no lock associated with the buffer.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D48008

show more ...


# 00731aaa 02-Dec-2024 Christos Margiolis <christos@FreeBSD.org>

sound: Remove dead code from pcm/

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.fr

sound: Remove dead code from pcm/

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D47733

show more ...


# fba54d01 29-Mar-2024 Christos Margiolis <christos@FreeBSD.org>

sound: Drain buffer selinfo in sndbuf_free()

Prevent a use-after-free in kern_poll() by making sure the buffer's
selinfo is drained. This is required for a subsequent patch that
implements asynchron

sound: Drain buffer selinfo in sndbuf_free()

Prevent a use-after-free in kern_poll() by making sure the buffer's
selinfo is drained. This is required for a subsequent patch that
implements asynchronous audio device detach.

Reported by: KASAN
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D44544

show more ...


# 5aacf339 18-Aug-2023 John Baldwin <jhb@FreeBSD.org>

sys: Remove SND_DECLARE_FILE

Reviewed by: kbowling, imp, emaste
Differential Revision: https://reviews.freebsd.org/D41499


# 82a265ad 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: sound driver version

Remove /SND_DECLARE_FILE\("\$FreeBSD\$"\);/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


# 1f7a6325 04-Sep-2021 Alexander Motin <mav@FreeBSD.org>

sound(4): Remove pointless Giant from bus_dma_tag_create().

None of the drivers really implement asynchronous buffer loading, so
they don't need lock there. The only question is which of them have

sound(4): Remove pointless Giant from bus_dma_tag_create().

None of the drivers really implement asynchronous buffer loading, so
they don't need lock there. The only question is which of them have
BUS_DMA_NOWAIT flag there already, and to which it should be added.

show more ...


# 79225129 02-Jan-2026 Christos Margiolis <christos@FreeBSD.org>

sound: Do not check for NULL before free()

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.or

sound: Do not check for NULL before free()

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54174

show more ...


# 4e2bf54d 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Add to pcm/buffer.* copyright

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


# 78c5026a 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Get rid of useless sndbuf getters and setters

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D53528


# c0e96595 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Simplify sndbuf_clear() loop

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53526


# 06eb65e1 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Retire unused sndbuf_getflags() and sndbuf_setflags()

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53525


# 6d6eb25d 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Retire unused sndbuf_dump()

Fixes: e4e61333ffa4e90360de2dd1e4e0146f7cbf0afb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj, emaste
Differential Revision: https://r

sound: Retire unused sndbuf_dump()

Fixes: e4e61333ffa4e90360de2dd1e4e0146f7cbf0afb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj, emaste
Differential Revision: https://reviews.freebsd.org/D53522

show more ...


# 482d0d97 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Re-arrange sndbuf_create() arguments

Since we always use the channel name as the "drv" argument, we can just
get rid of it and fetch it in sndbuf_create(). Also, put the "channel"
argument fi

sound: Re-arrange sndbuf_create() arguments

Since we always use the channel name as the "drv" argument, we can just
get rid of it and fetch it in sndbuf_create(). Also, put the "channel"
argument first, as it is more intuitive.

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53520

show more ...


# 55540ebc 11-Nov-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Retire snd_dbuf->dev

Redundant, and if we at some point really need this, we can fetch it
from snd_dbuf->channel->dev.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: mar

sound: Retire snd_dbuf->dev

Redundant, and if we at some point really need this, we can fetch it
from snd_dbuf->channel->dev.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D53519

show more ...


# 6524d2a5 25-Feb-2025 Christos Margiolis <christos@FreeBSD.org>

sound: Remove SNDBUF_LOCKASSERT()

It's a no-op. There is no lock associated with the buffer.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: dev_submerge.ch, markj
Differential

sound: Remove SNDBUF_LOCKASSERT()

It's a no-op. There is no lock associated with the buffer.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D48008

show more ...


# 00731aaa 02-Dec-2024 Christos Margiolis <christos@FreeBSD.org>

sound: Remove dead code from pcm/

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.fr

sound: Remove dead code from pcm/

No functional change intended.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days
Reviewed by: dev_submerge.ch, markj
Differential Revision: https://reviews.freebsd.org/D47733

show more ...


12345678910