ioprio_get on arm64

get/set I/O scheduling class and priority

sys_ioprio_get(int which, int who)
number31 (0x1f)
abicommon
entry pointsys_ioprio_get
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pageioprio_get(2)
sourceelixir.bootlin.com

Registers

registervalue
x831, the syscall number
x0int which
x1int who
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/ioprio_get