Home
last modified time | relevance | path

Searched refs:__NR_write (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/samples/seccomp/
H A Dbpf-fancy.c40 SYSCALL(__NR_write, JUMP(&l, write_fd)), in main()
97 syscall(__NR_write, STDOUT_FILENO, msg1, strlen(msg1)); in main()
100 syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)); in main()
101 syscall(__NR_write, STDERR_FILENO, buf, bytes); in main()
103 syscall(__NR_write, STDERR_FILENO, msg2, strlen(msg2)+2); in main()
H A Dbpf-direct.c77 if (syscall != __NR_write) in emulator()
128 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_write, 3, 2), in install_filter()
172 syscall(__NR_write, STDOUT_FILENO, in main()
175 syscall(__NR_write, STDOUT_FILENO, payload("HELLO, ")); in main()
176 syscall(__NR_write, STDOUT_FILENO, buf, bytes); in main()
177 syscall(__NR_write, STDERR_FILENO, in main()
/openbmc/linux/arch/s390/include/asm/
H A Dseccomp.h8 #define __NR_seccomp_write __NR_write
13 #define __NR_seccomp_write_32 __NR_write
/openbmc/linux/include/asm-generic/
H A Dseccomp.h15 #define __NR_seccomp_write_32 __NR_write
23 #define __NR_seccomp_write __NR_write
/openbmc/qemu/tests/tcg/aarch64_be/
H A Dhello.c7 #define __NR_write 64 macro
15 register int x8 __asm__("x8") = __NR_write; in write()
/openbmc/qemu/tests/tcg/mips/
H A Dhello-mips.c14 #define __NR_write (__NR_SYSCALL_BASE+ 4) macro
48 : "i" (__NR_write), "r" (__a0), "r" (__a1), "r" (__a2) in write()
/openbmc/linux/tools/testing/selftests/arm64/fp/
H A Dasm-utils.S18 mov x8, #__NR_write
38 mov x8, #__NR_write
/openbmc/linux/samples/bpf/
H A Dsyscall_nrs.c10 SYSNR(__NR_write); in syscall_defines()
/openbmc/linux/tools/testing/selftests/arm64/bti/
H A Dsystem.c19 return syscall(__NR_write, fd, buf, size); in write()
/openbmc/linux/arch/sh/include/asm/
H A Dseccomp.h7 #define __NR_seccomp_write __NR_write
/openbmc/qemu/tests/tcg/i386/
H A Dhello-i386.c19 : "0" (__NR_write),"S" ((long)(fd)),"c" ((long)(buf)),"d" ((long)(len))); in write()
/openbmc/linux/tools/include/nolibc/
H A Dstackprotector.h25 my_syscall3(__NR_write, STDERR_FILENO, "!!Stack smashing detected!!\n", 28); in __stack_chk_fail()
/openbmc/linux/tools/testing/selftests/vDSO/
H A Dvdso_standalone_test_x86.c70 return x86_syscall3(__NR_write, fd, (long)data, (long)len); in linux_write()
/openbmc/linux/tools/testing/selftests/powerpc/switch_endian/
H A Dswitch_endian_test.S85 li r0, __NR_write
/openbmc/qemu/tests/tcg/arm/
H A Dhello-arm.c3 #define __NR_write (__NR_SYSCALL_BASE+ 4) macro
/openbmc/qemu/linux-headers/asm-riscv/
H A Dunistd_32.h66 #define __NR_write 64 macro
H A Dunistd_64.h67 #define __NR_write 64 macro
/openbmc/qemu/linux-headers/asm-arm64/
H A Dunistd_64.h68 #define __NR_write 64 macro
/openbmc/qemu/linux-headers/asm-loongarch/
H A Dunistd_64.h67 #define __NR_write 64 macro
/openbmc/qemu/linux-headers/asm-s390/
H A Dunistd_64.h8 #define __NR_write 4 macro
H A Dunistd_32.h8 #define __NR_write 4 macro
/openbmc/qemu/linux-headers/asm-x86/
H A Dunistd_64.h5 #define __NR_write 1 macro
H A Dunistd_32.h8 #define __NR_write 4 macro
/openbmc/qemu/linux-headers/asm-powerpc/
H A Dunistd_64.h8 #define __NR_write 4 macro
H A Dunistd_32.h8 #define __NR_write 4 macro

12