assert_vdo_drain_operation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, this is the Kernel API Manual entry for assert_vdo_drain_operation(9) πŸ’– and it is literally here to check that an operation is a drain. That’s it. That’s the whole assignment. no cap. πŸ’…


✨ SYNOPSIS ✨

bool assert_vdo_drain_operation (const struct admin_state_code
       *operation , struct vdo_completion *waiter );

that’s the signature, icon. operation is the operation being checked, and waiter is the completion that gets finished with an error if the operation is not a drain. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • operation β€” the operation to check. πŸ‘€
  • waiter β€” the completion to finish with an error if the operation is not a drain. 😭

🌸 RETURN 🌸

you get back true if the specified operation is a drain. periodt. βœ…


πŸ”₯ SEE ALSO πŸ”₯

the kernel file is right here, bestie: ./drivers/md/dm-vdo/admin-state.c 🫢 and these are the linked icons:


and that’s the tea 🍡✨ β€” source/version ./drivers/md/dm-vdo, dated October 2026, filed under assert_vdo_drain_operation(9). mwah πŸ’‹

πŸ“¦ where this page comes from