unassign_domain_store(9)
π unassign_domain_store(9) π
okay so bestie, welcome to the Kernel API Manual π«Ά this page is lowkey a tiny kernel helper with a very specific job, and it's giving focused-icon energy. let's go π
β¨ NAME β¨
unassign_domain_store parses the APQI from @buf and clears the corresponding bit in the mediated matrix device's AQM. that's it, that's the whole assignment β APQI in, matching bit cleared, periodt π
β¨ SYNOPSIS β¨
ssize_t unassign_domain_store (struct device *dev , struct
device_attribute *attr , const char *buf , size_t count );
π ARGUMENTS π
devβ the matrix device. main character device energy πattrβ the mediated matrix device'sunassign_domainattribute. yes, that exact attribute bestie πbufβ a buffer containing the AP queue index (APQI) of the domain to be unassigned. it's literally carrying the APQI π«Άcountβ the number of bytes inbuf. keep count cute and correct π
π₯ RETURN π₯
if the APQI is valid, it returns the number of bytes processed. slay β
otherwise, it returns one of the following errors:
-EINVALif the APQI is not a number. not a number? blocked π-ENODEVif the APQI exceeds the maximum value configured for the system. too big? also blocked π
π¦ SEE ALSO π¦
Kernel file: ./drivers/s390/crypto/vfio_ap_ops.c β go read the source bestie, it's right there π
the whole friend group is here too:
get_update_locks_for_kvm(9)release_update_locks_for_kvm(9)get_update_locks_for_mdev(9)release_update_locks_for_mdev(9)get_update_locks_by_apqn(9)get_update_locks_for_queue(9)vfio_ap_mdev_get_queue(9)vfio_ap_wait_for_irqclear(9)vfio_ap_free_aqic_resources(9)vfio_ap_irq_disable(9)vfio_ap_validate_nib(9)ensure_nib_shared(9)vfio_ap_irq_enable(9)vfio_ap_le_guid_to_be_uuid(9)handle_pqap(9)vfio_ap_mdev_verify_no_sharing(9)vfio_ap_mdev_validate_masks(9)assign_adapter_store(9)vfio_ap_mdev_unlink_adapter(9)unassign_adapter_store(9)assign_domain_store(9)assign_control_domain_store(9)unassign_control_domain_store(9)vfio_ap_mdev_set_kvm(9)vfio_ap_mdev_unset_kvm(9)vfio_ap_mdev_resource_in_use(9)vfio_ap_mdev_hot_unplug_cfg(9)vfio_ap_mdev_cfg_remove(9)vfio_ap_mdev_on_cfg_remove(9)vfio_ap_filter_apid_by_qtype(9)vfio_ap_mdev_cfg_add(9)vfio_ap_mdev_on_cfg_add(9)vfio_ap_on_cfg_changed(9)
mwah π this page comes from ./drivers/s390/crypto and is dated October 2026 β unassign_domain_store(9), signing off like the icon it is π«Άβ¨
π¦ 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