k3_ringacc_ring_push_head(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… k3_ringacc_ring_push_head(9) β€” the Kernel API Manual era πŸŽ€

okay bestie, we're in section 9 of the Kernel API Manual and today's main character is k3_ringacc_ring_push_head ✨ lowkey a whole legend.


🌸 NAME 🌸

k3_ringacc_ring_push_head β€” literally just pushes an element to the ring head, that's the whole vibe πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int k3_ringacc_ring_push_head (struct k3_ring *ring , void *elem );

πŸŽ€ ARGUMENTS πŸŽ€

  • ring β€” pointer on ring, that's your ring pointer bestie 🫢
  • elem β€” pointer on ring element buffer, the actual thing you're yeeting in there πŸ’Œ

✨ DESCRIPTION ✨

So here's the tea β˜•: this function pushes one ring element to the ring head. And the size of that ring element? Not vibes-based, ngl β€” it's determined by the ring configuration struct k3_ring_cfg field elm_size πŸ‘‘

It returns 0 on success, or errno otherwise 😭. And the big heads-up: it is Not Supported by ring modes K3_RINGACC_RING_MODE_RING β€” like, it's giving unsupported, so don't come for it πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./include/linux/soc/ti/k3-ringacc.h and honestly the whole friend group:


aaand that's the page πŸ§šπŸ’œ this iconic little number lives in ./include/linux/soc/ti, dated October 2026, and it's filed under k3_ringacc_ring_push_head(9) β€” slay, periodt πŸ’…πŸŒˆ

πŸ“¦ where this page comes from