vfio_ap_mdev_get_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 πŸ‘‘

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