unassign_domain_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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's unassign_domain attribute. 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 in buf. 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:

  • -EINVAL if the APQI is not a number. not a number? blocked 😭
  • -ENODEV if 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:


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