ap_owned_by_def_drv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ap_owned_by_def_drv(9) β€” the kernel API manual, bestie edition

okay so real talk, this is a page from the Kernel API Manual, and the star of the show is ap_owned_by_def_drv β€” the lil' function that answers the question every adapter has been dying to know: is this AP adapter reserved for the default host driver or not? πŸŽ€


✨ NAME ✨

ap_owned_by_def_drv β€” literally just tells you whether an AP adapter is reserved for the default host driver or not. that's the whole vibe. no cap. πŸ¦‹


🌸 SYNOPSIS 🌸

int ap_owned_by_def_drv (int card , int queue );

🧚 ARGUMENTS 🧚

  • card β€” the APID of the adapter card you wanna check πŸ‘‘
  • queue β€” the APQI of the queue you wanna check πŸ“

πŸ’€ NOTE πŸ’€

bestie, listen to me: the ap_attr_mutex must be locked by the caller of this function. like, that's on you, not on the function. lock it or... don't? (no β€” lock it. fr fr.) πŸ”₯

⭐ RETURN ⭐

returns an int telling you whether the AP adapter is reserved for the host β€” 1 means yes it is reserved β€” or 0 means nope, not reserved. that's it, that's the whole answer sheet πŸ’–


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, bestie!! 🫢 it lives over in ./drivers/s390/crypto, and this particular edition is dated October 2026 β€” like, future iconic behavior. go forth and check those ownership bits responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from