inotify_add_watch on tilegx
add a watch to an initialized inotify instance
sys_inotify_add_watch(int fd, const char *path, u32 mask)
| number | 27 (0x1b) |
|---|---|
| abi | common |
| kconfig | CONFIG_INOTIFY_USER |
| family | inotify see the whole family on tilegx |
| entry point | sys_inotify_add_watch |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | inotify_add_watch(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 27, the syscall number |
r0 | int fd |
r1 | const char *path |
r2 | u32 mask |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 254
- x86 292
- arm64 27
- arm 317
- riscv64 27
- ia32 292
- x32 1073742078
- loongarch64 27
- ppc64 276
- ppc 276
- s390x 285
- mips64 5244
- mipsn32 6248
- mipso32 4285
- alpha 445
- arc 27
- blackfin 292, removed in 4.17
- cris 292, removed in 4.17
- csky 27
- frv 292, removed in 4.17
- hexagon 27
- ia64 1278, removed in 6.7
- m32r 292, removed in 4.17
- m68k 285
- metag 27, removed in 4.17
- microblaze 292
- mn10300 293, removed in 4.17
- nds32 27, removed in 5.18
- nios2 27
- openrisc 27
- parisc 270
- score 27, removed in 4.17
- sh 291
- sparc 152
- sparc64 152
- tilepro 27, removed in 4.17
- xtensa 277
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/inotify_add_watch?kernel=all