syscall.sh / riscv64 / quotactl
quotactl
manipulate disk quotas
sys_quotactl(unsigned int cmd, const char *special, qid_t id, void *addr)
| number | 60 (0x3c) |
|---|---|
| abi | common |
| entry point | sys_quotactl |
| since | Linux 4.15 |
| man page | quotactl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 60, the syscall number |
a0 | unsigned int cmd |
a1 | const char *special |
a2 | qid_t id |
a3 | void *addr |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 179
- x86 131
- arm64 60
- arm 131
- x32 1073742003
- loongarch64 60
- ppc64 131
- ppc 131
- s390x 131
- mips64 5172
- mipsn32 6172
- mipso32 4131
- alpha 148
- arc 60
- csky 60
- hexagon 60
- m68k 131
- microblaze 131
- nios2 60
- openrisc 60
- parisc 131
- sh 131
- sparc 165
- sparc64 165
- xtensa 204
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/quotactl