ioprio_set on riscv64

get/set I/O scheduling class and priority

sys_ioprio_set(int which, int who, int ioprio)
number30 (0x1e)
abicommon
entry pointsys_ioprio_set
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pageioprio_set(2)
sourceelixir.bootlin.com

Registers

registervalue
a730, the syscall number
a0int which
a1int who
a2int ioprio
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_set