vdo_get_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to this Kernel API Manual page. the star of the show is vdo_get_state(9) β€” the function vdo_get_state β€” and what does it do? it gets the current state of the vdo. that's it. that's the whole name. no cap, it's giving exactly what it says on the tin. πŸ’…

🌸 SYNOPSIS 🌸

here's the exact signature, bestie β€” don't touch the characters:

enum vdo_state vdo_get_state (const struct vdo *vdo );

one function, one argument, one return type. lowkey simple. highkey useful. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • vdo β€” the vdo. that's the argument. just the vdo. the one and only. it's giving "no notes." πŸŽ€

πŸ¦‹ CONTEXT πŸ¦‹

okay so context check, bestie: this method may be called from any thread. literally any thread. no restrictions. no cap. you can call it from wherever you're at. ✨

this is a no-gatekeeping zone. any thread. periodt. πŸ’€

🌈 RETURN 🌈

it returns the current state of the vdo. that's the tea. β˜• the type is enum vdo_state (see synopsis, bestie). so you get the state, you get the answer, you get the vibe check results. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

okay so the SEE ALSO section is LONG and I'm obsessed with it. every single reference, no skips, no cap:

the way this list ate. πŸ’… iykyk.


this page came from ./drivers/md/dm-vdo, dated October 2026, and it's the vdo_get_state(9) page. mwah πŸ’‹ stay stateful, bestie. πŸ¦‹

πŸ“¦ where this page comes from