k3_ringacc_ring_push(9)
β¨ k3_ringacc_ring_push β¨
okay so bestie, welcome to the Kernel API Manual π this one's about k3_ringacc_ring_push β literally the glow-up move where you yeet one element onto the tail end of a ring. no cap, it's giving "queue but make it β¨fancyβ¨".
πΈ SYNOPSIS πΈ
int k3_ringacc_ring_push (struct k3_ring *ring , void *elem );
like, that's the whole vibe. two args, one int back. slay.
π ARGUMENTS π
ringβ pointer on ring π like, the actual ring you're pushing into. she's the main character here.elemβ pointer on ring element buffer π«Ά the thing you wanna shove in there. yes, it's avoid *. we love a flexible icon.
π¦ DESCRIPTION π¦
Push one ring element to the ring tail. that's it, that's the whole job π
the size of the ring element? not vibes-based, sorry β it's determined by ring configuration struct k3_ring_cfg elm_size. so she already knows how big the element is, you don't gotta tell her. iykyk π
Returns 0 on success, errno otherwise. so like, check that return value bestie, don't just assume it ate π
π₯ SEE ALSO π₯
the whole friend group, fr fr:
- Kernel file
./include/linux/soc/ti/k3-ringacc.h 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_size(9)k3_ringacc_ring_get_free(9)k3_ringacc_ring_get_occ(9)k3_ringacc_ring_is_full(9)k3_ringacc_ring_pop(9)k3_ringacc_ring_push_head(9)k3_ringacc_ring_pop_tail(9)
like, read them. all of them. periodt π
and that's the whole page, bestie π§ this little baddie lives in ./include/linux/soc/ti and she's dated October 2026 β go push some elements, you're gonna ate ππ
π¦ 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