ap_apqn_in_m...d_by_def_drv(9)
π NAME π
ok so ap_apqn_in_matrix_owned_by_def_drv β bestie, it's a whole mouthful, i know β is literally just a yes/no check: it tells you whether every single APQN in a set is reserved for the host drivers or not. like, all of them. not most. all. β¨
π¦ SYNOPSIS π¦
int ap_apqn_in_matrix_owned_by_def_drv (unsigned long *apm , unsigned long *aqm );
that's it. two pointers in, one int out. iconic signature, no notes. π
π ARGUMENTS π
apmβ a bitmap that spells out a set of APIDs, and those APIDs are the APQNs you wanna check. like, this is the first half of every APQN in the set, okay? π«Άaqmβ a bitmap that spells out a set of APQIs, and those APQIs are the other half of the very same APQNs you're checking. soapm+aqm= the full APQN set, fr fr.
β οΈ NOTE β οΈ
bestie please read this one π β the ap_attr_mutex must be locked by the caller of this function. like, you gotta hold it before you call this. the function is not gonna do it for you. no cap.
π RETURN π
it hands back an int that tells you whether each APQN is reserved for the host or not:
1β yep, reserved for the host π0β nope, not reserved π
π SEE ALSO π
kernel file ./drivers/s390/crypto/ap_bus.c β that's the home base for all of this π
and the whole squad of related functions, in the order the OG page lists them, because i would never do them dirty:
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_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, you ate that π this lil beauty lives in the Kernel API Manual, ships from ./drivers/s390/crypto, and it's dated October 2026 β see you in the next group chat ππ
π¦ 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