vfio_ap_mdev_get_queue(9)
π vfio_ap_mdev_get_queue(9) π
okay so you're in the Kernel API Manual bestie, and today's main character is vfio_ap_mdev_get_queue β no cap, she's the one who fishes a queue out of the hash table πΈ
β¨ NAME β¨
vfio_ap_mdev_get_queue β literally goes and retrieves a queue with a specific APQN from a hash table of queues assigned to a matrix mdev. that's her whole job. we stan a focused queen π
π SYNOPSIS π
struct vfio_ap_queue * vfio_ap_mdev_get_queue (struct ap_matrix_mdev
*matrix_mdev , int apqn );
like. she takes a matrix_mdev and an apqn and hands you back a pointer. iconic signature, no notes π«Ά
π¦ ARGUMENTS π¦
matrix_mdevβ the matrix mdev. yes literally the matrix mdev, that's the whole description, she said what she said πapqnβ the APQN of a queue device π₯
β RETURN β
she returns the pointer to the struct vfio_ap_queue representing the queue β or NULL if the queue is not assigned to matrix_mdev. so like, vibe check your return value before you dereference it, bestie ππ
fr fr: NULL is a real possible outcome here. check it. your future self will thank you π
π SEE ALSO π
the whole friend group, assembled π
- kernel file
./drivers/s390/crypto/vfio_ap_ops.cπ 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_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)unassign_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)
likeβ¦ that's the entire group chat and every single one of them is invited π
and that's the page!! mwah π this lil beauty lives over in ./drivers/s390/crypto, dated October 2026, and yes the man page calls itself vfio_ap_mdev_get_queue(9) β self-titled, main character energy, periodt πβ¨
π¦ 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