bpf_wakeup_sources_get_head(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bpf_wakeup_sources_get_head β€” ok bestie, let's talk wakeup sources

So this is a page from the Kernel API Manual (section 9, the kernel-API girlies 🧚) and it's about bpf_wakeup_sources_get_head. Yes, that's a mouthful. No, we're not abbreviating it. It's iconic, let her have her full name ✨


🌸 NAME 🌸

bpf_wakeup_sources_get_head β€” literally just gets you the head of the wakeup sources list. That's it. That's the whole job. She's a one-trick pony and she ate πŸ’…


⭐ SYNOPSIS ⭐

__bpf_kfunc void * bpf_wakeup_sources_get_head (void );

Look at her. No arguments, takes no notes, asks no questions. Returns a void * and it's a __bpf_kfunc, so she lives in BPF-kfunc land πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments, bestie. Nothing. Zero. The void is voiding. She needs nothing from you and honestly? Respect πŸ™ˆ

πŸ”₯ RETURN πŸ”₯

She hands you back the head of the wakeup sources list β€” as a void *. That's the whole return value. Don't overthink it, she's not gonna overthink it either πŸ’œ


🌈 SEE ALSO 🌈

Okay this is the part where the friend group gets huge, so buckle up 🫢

The kernel file this lives near is ./drivers/base/power/wakeup.c, and here's the entire squad:

Like I said. Big friend group. Read the whole roster, no skipping, iykyk πŸ˜­πŸ’–


ngl bestie, if you're pairing this with bpf_wakeup_sources_read_lock(9) and bpf_wakeup_sources_read_unlock(9), that's the correct vibe β€” go read those pages too 🧚

That's the whole page, babe ✨ β€” brought to you by ./drivers/base/power, dated October 2026, and she's filed right back under bpf_wakeup_sources_get_head(9) where she belongs πŸ‘‘ πŸŽ€

πŸ“¦ where this page comes from