Home
last modified time | relevance | path

Searched refs:SYS_open (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Djemalloc_internal_decls.h32 # if defined(SYS_open) && defined(__aarch64__)
33 /* Android headers may define SYS_open to __NR_open even though
35 # undef SYS_open
/freebsd/contrib/llvm-project/libc/src/__support/File/linux/
H A Ddir.cpp22 #ifdef SYS_open in platform_opendir()
23 int fd = LIBC_NAMESPACE::syscall_impl<int>(SYS_open, name, open_flags); in platform_opendir()
H A Dfile.cpp96 #ifdef SYS_open in openfile()
98 LIBC_NAMESPACE::syscall_impl<int>(SYS_open, path, open_flags, OPEN_MODE); in openfile()
/freebsd/tools/test/stress2/misc/
H A Dsyzkaller22.sh53 syscall(SYS_open, 0x20000000ul, 0x200645ul, 0ul);
55 res = syscall(SYS_open, 0x20000000ul, 0ul, 0ul);
H A Dsyzkaller83.sh113 res = syscall(SYS_open, /*file=*/0x200000000080ul,
119 syscall(SYS_open, /*file=*/0x200000000080ul, /*flags=*/0ul, /*mode=*/0ul);
123 res = syscall(SYS_open, /*file=*/0x200000000080ul, /*flags=O_NONBLOCK*/ 4ul,
H A Dsyzkaller75.sh292 res = syscall(SYS_open, /*file=*/0x200000000100ul,
306 SYS_open, /*file=*/0x200000000040ul,
313 SYS_open, /*file=*/0x200000000480ul,
331 res = syscall(SYS_open, /*file=*/0x200000000480ul, /*flags=*/0ul,
H A Dsyzkaller21.sh332 res = syscall(SYS_open, 0x20000000ul, 0ul, 0ul);
342 res = syscall(SYS_open, 0x20000000ul, 0ul, 0ul);
352 res = syscall(SYS_open, 0x20000000ul, 0ul, 0ul);
363 res = syscall(SYS_open, 0x20000100ul, 0ul, 0ul);
H A Dsyzkaller78.sh212 SYS_open, /*file=*/0x200000000480ul,
219 res = syscall(SYS_open, /*file=*/0x200000000100ul,
236 syscall(SYS_open, /*file=*/0x200000000140ul, /*flags=*/0ul, /*mode=*/0ul);
H A Dsyzkaller7.sh113 res = syscall(SYS_open, 0x20001180, 0x8240, 0);
122 res = syscall(SYS_open, 0x20000480, 0x80000000000206, 0);
H A Dsyzkaller74.sh387 res = syscall(SYS_open, /*file=*/0x200000000480ul,
401 res = syscall(SYS_open, /*file=*/0x200000000100ul,
408 res = syscall(SYS_open, /*file=*/0x2000000016c0ul, /*flags=O_WRONLY*/ 1ul,
428 SYS_open, /*file=*/0x200000000480ul,
H A Dsyzkaller13.sh203 res = syscall(SYS_open, 0x20000100ul, 0x40000400000002c2ul, 0ul);
220 res = syscall(SYS_open, 0x20000140ul, 0ul, 0ul);
H A Dfifo2.sh149 i, SYS_open, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
152 syscall(SYS_open, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
H A Dsyzkaller38.sh53 syscall(SYS_open, 0x20000180ul, 0x20c0200ul, 0ul);
H A Dsyzkaller77.sh215 SYS_open, /*file=*/0x200000000480ul,
242 res = syscall(SYS_open, /*file=*/0x200000000140ul, /*flags=*/0ul,
H A Dsyzkaller48.sh41 res = syscall(SYS_open, 0x200000c0ul, 0x48300ul, 0ul);
H A Dsyzkaller34.sh88 syscall(SYS_open, 0x20000040ul, 0x400000ul, 0x72ul);
H A Dsyzkaller76.sh64 syscall(SYS_open, /*file=*/0x200000000080ul, /*flags=*/0ul, /*mode=*/0ul);
H A Dsyzkaller1.sh205 res = syscall(SYS_open, 0x20000000ul, 0x40000400000002c2ul, 0ul);
H A Dsyzkaller39.sh218 syscall(SYS_open, 0x20000140ul, 0x200ul, 0ul);
H A Dsyzkaller45.sh264 res = syscall(SYS_open, 0x20000480ul, 0x80400000000206ul, 0ul);
/freebsd/contrib/jemalloc/src/
H A Dpages.c632 #if defined(JEMALLOC_USE_SYSCALL) && defined(SYS_open) in pages_boot()
634 fd = (int)syscall(SYS_open, "/proc/sys/vm/overcommit_memory", O_RDONLY | in pages_boot()
637 fd = (int)syscall(SYS_open, "/proc/sys/vm/overcommit_memory", O_RDONLY); in pages_boot()
722 #if defined(JEMALLOC_USE_SYSCALL) && defined(SYS_open)
723 int fd = (int)syscall(SYS_open,
/freebsd/contrib/llvm-project/libc/src/__support/OSUtil/linux/
H A Dfcntl.cpp120 #ifdef SYS_open in open()
121 int fd = LIBC_NAMESPACE::syscall_impl<int>(SYS_open, path, flags, mode_flags); in open()
/freebsd/contrib/llvm-project/libc/src/__support/threads/linux/
H A Dthread.cpp418 #ifdef SYS_open in set_name()
420 LIBC_NAMESPACE::syscall_impl<int>(SYS_open, path_name_buffer, O_RDWR); in set_name()
460 #ifdef SYS_open in get_name()
462 LIBC_NAMESPACE::syscall_impl<int>(SYS_open, path_name_buffer, O_RDONLY); in get_name()
/freebsd/tests/sys/audit/
H A Dopen.c75 ATF_REQUIRE(syscall(SYS_open, path, flag) != -1); \
94 ATF_REQUIRE_EQ(-1, syscall(SYS_open, errpath, flag)); \
/freebsd/sys/dev/filemon/
H A Dfilemon_wrapper.c403 sysent[SYS_open].sy_call = (sy_call_t *) filemon_wrapper_open; in filemon_wrapper_install()
435 sysent[SYS_open].sy_call = (sy_call_t *)sys_open; in filemon_wrapper_deinstall()

12