syscall.sh / riscv64 / ioprio_get

ioprio_get

get/set I/O scheduling class and priority

sys_ioprio_get(int which, int who)
number31 (0x1f)
abicommon
entry pointsys_ioprio_get
sinceLinux 4.15
man pageioprio_get(2)
sourceelixir.bootlin.com

Registers

registervalue
a731, the syscall number
a0int which
a1int who
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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