assert_vdo_resume_operation(9)
π assert_vdo_resume_operation(9) β the Kernel API Manual, bestie edition π
okay so this is assert_vdo_resume_operation, straight out of the Kernel API Manual section 9, and honestly? it's a little vibe check for state codes and i'm obsessed. π¦
β¨ NAME β¨
assert_vdo_resume_operation β check whether an admin_state_code is a resume operation. that's it. that's the whole gig. lowkey iconic for being so straightforward. π
β¨ SYNOPSIS β¨
bool assert_vdo_resume_operation (const struct admin_state_code
*operation , struct vdo_completion *waiter );
like look at her. returns a bool. takes a pointer to a const struct admin_state_code and a struct vdo_completion *. she's neat, she's tidy, she knows what she wants. β¨
β¨ ARGUMENTS β¨
operationβ the operation to check, bestie. that's the thing we're putting under the microscope πwaiterβ the completion to notify if the operation is not a resume operation. and plot twist: it may beNULL. π so like, no pressure if you don't have one.
β¨ RETURN β¨
returns true if the code is a resume operation. simple as that, no cap. π―
β¨ SEE ALSO β¨
the whole friend group, fr fr β sourced from the kernel file ./drivers/md/dm-vdo/admin-state.c:
get_next_state(9)vdo_finish_operation(9)begin_operation(9)start_operation(9)check_code(9)assert_vdo_drain_operation(9)vdo_start_draining(9)vdo_finish_draining(9)vdo_finish_draining_with_result(9)vdo_assert_load_operation(9)vdo_start_loading(9)vdo_finish_loading(9)vdo_finish_loading_with_result(9)vdo_start_resuming(9)vdo_finish_resuming(9)vdo_finish_resuming_with_result(9)vdo_resume_if_quiescent(9)vdo_start_operation(9)vdo_start_operation_with_waiter(9)
and that's a wrap, bestie π«Ά this one lives in ./drivers/md/dm-vdo, dated October 2026, and if you ever need to find her again just look up assert_vdo_resume_operation(9) β she'll be there. mwah ππΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms