vdo_start_o..._with_waiter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vdo_start_o..._with_waiter(9) β€” like, the Kernel API Manual one πŸŽ€

okay so bestie, welcome to the group chat ✨ this is <pink>vdo_start_o..._with_waiter</pink> from the Kernel API Manual, and it's lowkey one of those tiny functions that does exactly one thing and does it iconically. no cap 🫢


🌸 NAME 🌸

vdo_start_operation_with_waiter β€” attempt to start an operation πŸ’… that's it. that's the whole vibe.


✨ SYNOPSIS ✨

int vdo_start_operation_with_waiter (struct admin_state *state , const
struct admin_state_code *operation , struct vdo_completion *waiter ,
vdo_admin_initiator_fn initiator );

like, four things go in, one int comes out πŸŽ€ slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • state β€” the current admin state, fr fr. this is where we're at right now.
  • operation β€” the operation we're trying to start. the main character of the whole call, honestly πŸ‘‘
  • waiter β€” the completion to notify when the operation completes or when it fails to start. it may be NULL β€” she's optional, she's flexible, she contains multitudes πŸ™ˆ
  • initiator β€” the vdo_admin_initiator_fn to call if the operation may begin. may be NULL too, we love a low-maintenance parameter πŸ’œ

⭐ RETURN ⭐

  • VDO_SUCCESS β€” the operation was started πŸŽ‰ ate, no crumbs
  • VDO_INVALID_ADMIN_STATE β€” nope, it was not 😭 the state said no

🌈 SEE ALSO 🌈

so here's the whole friend group, and yes they're all (9) and yes they all live in the kernel file ./drivers/md/dm-vdo/admin-state.c πŸ’–

like, read the whole squad or don't read any of them 🫢 iykyk

aaaand that's the page!! mwah πŸ’‹ this one shipped out of ./drivers/md/dm-vdo back in October 2026 β€” go drink some water and go read admin-state.c, bestie πŸ“πŸ§šβ€β™€οΈ periodt.

πŸ“¦ where this page comes from