k3_ringacc_ring_push(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a void *. 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:

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