filter_vdos_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to the filter_vdos_locked(9) page from the Kernel API Manual 🫢 This one is called filter_vdos_locked, and its whole deal is: find a vdo in the registry if it exists there. That’s the mission, no cap. ✨

πŸ› οΈ SYNOPSIS πŸ› οΈ

       struct vdo * filter_vdos_locked (vdo_filter_fn filter , const void
       *context );

πŸŽ€ ARGUMENTS πŸŽ€

  • filter β€” the filter function to apply to devices. that’s the function doing the filtering, bestie πŸ‘€
  • context β€” a bit of context to provide the filter. a lil’ bundle of context handed to the filter πŸŽ€

πŸ”’ CONTEXT πŸ”’

Must be called holding the lock. 🚨 no cap, do not skip the lock. This is lock-held territory, periodt. πŸ’…

πŸ’– RETURN πŸ’–

Returns the vdo object found, if any. that’s the return vibe: the found object, if there is one. 🫢

πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’‹ that’s the page, bestie. sign-off info: filter_vdos_locked(9) Β· source/version ./drivers/md/dm-vdo Β· October 2026 πŸŒˆπŸŽ€

πŸ“¦ where this page comes from