k3_ringacc_ring_get_size(9)
π« k3_ringacc_ring_get_size π«
okay bestie, welcome to the little kernel helper that answers one (1) question and answers it flawlessly. this is a page from the Kernel API Manual, and honestly? it's giving "short and iconic." no cap. π
πΈ NAME πΈ
k3_ringacc_ring_get_size β get ring size π
like, the whole job. get the ring size. that's it. that's the function.
β¨ SYNOPSIS β¨
u32 k3_ringacc_ring_get_size (struct k3_ring *ring );
so you hand it a ring, and it hands you back a u32. a little transactional moment between you and the kernel. π«Ά
π¦ ARGUMENTS π¦
ringβ pointer on ring π (yes, "pointer on ring," that's literally how the docs say it and we respect the docs in this house)
π DESCRIPTION π
Returns ring size in number of elements. periodt. π₯
that's the whole description. it returns the ring size, measured in elements β not bytes, not vibes, elements. bestie please remember the units, i'm begging. π
π SEE ALSO π
the whole friend group, fr fr. go say hi:
enum k3_ring_mode(9)enum k3_ring_size(9)of_k3_ringacc_get_by_phandle(9)k3_ringacc_request_ring(9)k3_ringacc_ring_reset(9)k3_ringacc_ring_free(9)k3_ringacc_get_ring_id(9)k3_ringacc_get_ring_irq_num(9)k3_ringacc_ring_cfg(9)k3_ringacc_ring_get_free(9)k3_ringacc_ring_get_occ(9)k3_ringacc_ring_is_full(9)k3_ringacc_ring_push(9)k3_ringacc_ring_pop(9)k3_ringacc_ring_push_head(9)k3_ringacc_ring_pop_tail(9)
also the kernel file ./include/linux/soc/ti/k3-ringacc.h β that's the mothership, that's where all of this lives. π§
lowkey a reminder: get_size tells you how big she is. it does not do the resetting, the freeing, the pushing, or the popping. those are other functions' main character arcs. know your role, slay. π
and that's the page!! π written up in the kernel source tree at ./include/linux/soc/ti, dated October 2026, filed under k3_ringacc_ring_get_size(9). mwah π go read the rest of the ringacc girls, iykyk. π¦β¨
π¦ 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