ap_owned_by_def_drv(9)
π 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β theAPIDof the adapter card you wanna check πqueueβ theAPQIof 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 π
- Kernel file
./drivers/s390/crypto/ap_bus.c ap_airq_ptr(9)ap_interrupts_available(9)ap_qci_available(9)ap_apft_available(9)ap_init_qci_info(9)ap_request_timeout(9)ap_poll_timeout(9)ap_interrupt_handler(9)ap_tasklet_fn(9)ap_poll_thread(9)ap_bus_match(9)ap_uevent(9)ap_apqn_in_matrix_owned_by_def_drv(9)ap_select_domain(9)ap_get_configuration(9)ap_scan_bus(9)ap_module_init(9)
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
- 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