sst_realloc_stream(9)
πΈ sst_realloc_stream(9) πΈ
okay so this is a page from the Kernel API Manual β yes, the kernel has a manual, and yes, this function lives in it. pull up a chair bestie π«Ά
β¨ NAME β¨
sst_realloc_stream β Send msg for (re-)allocating a stream using the
not me noticing the NAME line just... ends there ππ that's genuinely how it's written in the source, "using the" and then nothing. leaving it exactly as-is because I do not edit the sacred texts. the DESCRIPTION down below picks up the thought, don't worry π
β¨ SYNOPSIS β¨
int sst_realloc_stream (struct intel_sst_drv *sst_drv_ctx , int str_id
);
like, it returns an int, it takes two things, that's the whole vibe check π
β¨ ARGUMENTS β¨
sst_drv_ctxβ intel_sst_drv context pointer. it's the context, babes, thestruct intel_sst_drv *of the whole situation πstr_idβ stream ID. literally just which stream we're talking about π¦
β¨ DESCRIPTION β¨
so what it actually does: it sends a msg for (re-)allocating a stream, using the parameters you already passed to sst_alloc_stream_mrfld for that same stream ID. iykyk β you don't re-specify anything here, it just reaches back for the params it already has from last time for that str_id β¨
like the "re-" in there is doing a lot of work. same stream ID, same params from before, new allocation msg goes out. main character energy fr fr π
β¨ RETURN β¨
0β slay, it worked π- negative errno value β it did not work π (standard kernel phrasing, ngl)
so: 0 or negative errno value. periodt.
β¨ SEE ALSO β¨
the kernel file ./sound/soc/intel/atom/sst/sst_stream.c plus the whole friend group of stream functions:
sst_start_stream(9)sst_pause_stream(9)sst_resume_stream(9)sst_drop_stream(9)sst_drain_stream(9)sst_free_stream(9)
go read those too, bestie, they're all in the same file and they all know each other π
and that's the whole page!! π brought to you by ./sound/soc/intel/atom/sst, dated October 2026 β yes, October 2026, the footer said so and I don't argue with footers π mwah, go reallocate some streams responsibly π§ββοΈπ«
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms