sst_realloc_stream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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, the struct 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:

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