/third_party/musl/src/linux/ |
H A D | xattr.c | 2 #include "syscall.h" 6 return syscall(SYS_getxattr, path, name, value, size); in getxattr() 11 return syscall(SYS_lgetxattr, path, name, value, size); in lgetxattr() 16 return syscall(SYS_fgetxattr, filedes, name, value, size); in fgetxattr() 21 return syscall(SYS_listxattr, path, list, size); in listxattr() 26 return syscall(SYS_llistxattr, path, list, size); in llistxattr() 31 return syscall(SYS_flistxattr, filedes, list, size); in flistxattr() 36 return syscall(SYS_setxattr, path, name, value, size, flags); in setxattr() 41 return syscall(SYS_lsetxattr, path, name, value, size, flags); in lsetxattr() 46 return syscall(SYS_fsetxatt in fsetxattr() [all...] |
H A D | mount.c | 2 #include "syscall.h" 6 return syscall(SYS_mount, special, dir, fstype, flags, data); in mount() 11 return syscall(SYS_umount2, special, 0); in umount() 16 return syscall(SYS_umount2, special, flags); in umount2()
|
/third_party/node/deps/uv/src/unix/ |
H A D | linux-syscalls.c | 25 #include <sys/syscall.h> 156 rc = syscall(/* __NR_socketcall */ 102, 20 /* SYS_SENDMMSG */, args); in uv__sendmmsg() 163 return syscall(__NR_sendmmsg, fd, mmsg, vlen, /* flags */ 0); in uv__sendmmsg() 182 rc = syscall(/* __NR_socketcall */ 102, 19 /* SYS_RECVMMSG */, args); in uv__recvmmsg() 189 return syscall(__NR_recvmmsg, fd, mmsg, vlen, /* flags */ 0, /* timeout */ 0); in uv__recvmmsg() 200 return syscall(__NR_preadv, fd, iov, iovcnt, (long)offset, (long)(offset >> 32)); in uv__preadv() 209 return syscall(__NR_pwritev, fd, iov, iovcnt, (long)offset, (long)(offset >> 32)); in uv__pwritev() 218 return syscall(__NR_dup3, oldfd, newfd, flags); in uv__dup3() 232 return syscall(__NR_copy_file_range, in uv__fs_copy_file_range() 253 return syscall(__NR_stat in uv__statx() [all...] |
/third_party/node/test/parallel/ |
H A D | test-errors-systemerror.js | 12 message: "Cannot read properties of undefined (reading 'syscall')", 23 syscall: 'syscall_test', 44 syscall: 'syscall_test', 64 syscall: 'syscall_test', 85 syscall: 'syscall_test', 98 assert.strictEqual(err.syscall, 'syscall_test'); 105 err.syscall = 'test'; 110 assert.strictEqual(err.syscall, 'test'); 119 syscall: 'syscall_test' 22 syscall: 'syscall_test', global() property 43 syscall: 'syscall_test', global() property 63 syscall: 'syscall_test', global() property 84 syscall: 'syscall_test', global() property 118 syscall: 'syscall_test' global() property
|
H A D | test-dgram-socket-buffer-size.js | 20 const syscall = `uv_${type}_buffer_size`; 26 message: `Could not get or set buffer size: ${syscall} returned ${suffix}`, 31 syscall 54 ` syscall: '${errorObj.info.syscall}'\n` + 57 ` syscall: [Getter/Setter: '${errorObj.info.syscall}']\n` + 130 syscall: 'uv_recv_buffer_size' 153 syscall: 'uv_send_buffer_size' 129 syscall: 'uv_recv_buffer_size' global() property 152 syscall: 'uv_send_buffer_size' global() property
|
H A D | test-fs-error-messages.js | 78 assert.strictEqual(err.syscall, 'stat'); 99 assert.strictEqual(err.syscall, 'lstat'); 116 assert.strictEqual(err.syscall, 'fstat'); 139 assert.strictEqual(err.syscall, 'lstat'); 160 assert.strictEqual(err.syscall, 'realpath'); 181 assert.strictEqual(err.syscall, 'readlink'); 205 assert.strictEqual(err.syscall, 'link'); 228 assert.strictEqual(err.syscall, 'link'); 251 assert.strictEqual(err.syscall, 'symlink'); 272 assert.strictEqual(err.syscall, 'unlin [all...] |
H A D | test-fs-rmdir-recursive.js | 75 assert.strictEqual(err.syscall, 'rmdir'); 79 assert.strictEqual(err.syscall, 'rmdir'); 88 assert.strictEqual(err.syscall, 'rmdir'); 122 }, { syscall: 'rmdir' }); 125 }, { syscall: 'rmdir' }); 135 assert.throws(() => fs.rmdirSync(dir), { syscall: 'rmdir' }); 144 await assert.rejects(fs.promises.rmdir(dir), { syscall: 'rmdir' }); 146 syscall: 'rmdir' 157 await assert.rejects(fs.promises.rmdir(dir), { syscall: 'rmdir' });
|
/third_party/ltp/testcases/kernel/syscalls/syscall/ |
H A D | syscall01.c | 9 * Basic test for syscall(). 14 #include <sys/syscall.h> 25 p2 = syscall(SYS_getpid); in verify_getpid() 28 tst_res(TPASS, "getpid() == syscall(SYS_getpid)"); in verify_getpid() 30 tst_res(TFAIL, "getpid() = %i, syscall(SYS_getpid) = %i", in verify_getpid() 41 u2 = syscall(SYS_getuid32); in verify_getuid() 43 u2 = syscall(SYS_getuid); in verify_getuid() 47 tst_res(TPASS, "getuid() == syscall(SYS_getuid)"); in verify_getuid() 49 tst_res(TFAIL, "getuid() = %i, syscall(SYS_getuid) = %i", in verify_getuid() 60 g2 = syscall(SYS_getgid3 in verify_getgid() [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/arch/outline/ |
H A D | mips.s | 3 # mips64 syscall argument register ordering is the same as the mips64 4 # userspace argument register ordering except that the syscall number 30 syscall 52 syscall 74 syscall 94 syscall 116 syscall 138 syscall 160 syscall 182 syscall [all...] |
H A D | x86_64.s | 3 // x86-64 syscall argument register ordering is the same as the x86-64 5 // instead of rcx, and the syscall number (nr) is passed in eax. 23 syscall 36 syscall 49 syscall 62 syscall 75 syscall 89 syscall 103 syscall 117 syscall [all...] |
H A D | mips64.s | 3 # mips64 syscall argument register ordering is the same as the mips64 4 # userspace argument register ordering except that the syscall number 30 syscall 52 syscall 74 syscall 94 syscall 116 syscall 138 syscall 160 syscall 182 syscall [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | libc_syscall.cpp | 16 #include <sys/syscall.h> 45 pid = syscall(SYS_getpid); in Bm_function_Syscall_getpid() 55 tid = syscall(SYS_gettid); in Bm_function_Syscall_gettid() 65 benchmark::DoNotOptimize(syscall(SYS_adjtimex, &timeInfo)); in Bm_function_Syscall_adjtimex() 77 benchmark::DoNotOptimize(syscall(SYS_write, fp, "Bad Mind", BYTES_WRITTEN)); in Bm_function_Syscall_write() 91 ssize_t ret = syscall(SYS_read, fd, buf, BUFSIZE); in Bm_function_Syscall_read() 109 ret = syscall(SYS_fcntl, fd, F_GETFL); in Bm_function_Syscall_fcntl() 124 result = syscall(SYS_getrusage, RUSAGE_SELF, &usage); in Bm_function_Syscall_getrusage() 138 ret = syscall(SYS_uname, &buf); in Bm_function_Syscall_uname()
|
/third_party/toybox/toys/other/ |
H A D | chrt.c | 38 #include <sys/syscall.h> 40 (int)syscall(SYS_sched_get_priority_min, (int)policy) 42 (int)syscall(SYS_sched_get_priority_max, (int)policy) 44 syscall(SYS_sched_getparam, (pid_t)pid, (void *)param) 46 syscall(SYS_sched_getscheduler, (pid_t)pid) 48 syscall(SYS_sched_setscheduler, (pid_t)pid, (int)scheduler, (void *)param)
|
H A D | readahead.c | 20 #include <sys/syscall.h> 26 // Since including fcntl.h doesn't give us the wrapper, use the syscall. in do_readahead() 28 if (sizeof(long) == 4) rc = syscall(__NR_readahead, fd, 0, 0, INT_MAX); in do_readahead() 29 else rc = syscall(__NR_readahead, fd, 0, INT_MAX); in do_readahead()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | direct_mmap.h | 15 // Functions for directly invoking mmap() via syscall, avoiding the case where 31 #include <sys/syscall.h> 33 #include <syscall.h> 73 // https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h 103 syscall(SYS_mmap2, start, length, prot, flags, fd, 114 return reinterpret_cast<void*>(syscall(SYS_mmap, buf)); 116 // The x32 ABI has 32 bit longs, but the syscall interface is 64 bit. 124 syscall(SYS_mmap, MMAP_SYSCALL_ARG(start), MMAP_SYSCALL_ARG(length), 131 syscall(SYS_mmap, start, length, prot, flags, fd, offset)); 136 return static_cast<int>(syscall(SYS_munma in DirectMunmap() [all...] |
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | syscalls.rs | 46 unsafe { ret_usize(syscall!(__NR_read, fd, buf_addr_mut, buf_len)) } 59 ret_usize(syscall!( 74 ret_usize(syscall!( 85 ret_usize(syscall!( 99 unsafe { ret_usize(syscall!(__NR_readv, fd, bufs_addr, bufs_len)) } 112 ret_usize(syscall!( 123 ret_usize(syscall!( 144 ret_usize(syscall!( 156 ret_usize(syscall!( 309 ret(syscall!(__NR_ioct [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/regres/shell/ |
H A D | shell_unix.go | 27 "syscall" 58 if err := syscall.Setrlimit(syscall.RLIMIT_AS, &syscall.Rlimit{Cur: limit, Max: limit}); err != nil { 107 c.Process.Signal(syscall.SIGINT) 111 syscall.Kill(-c.Process.Pid, syscall.SIGKILL)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/internal/ |
H A D | futex.h | 28 #include <sys/syscall.h> 97 err = syscall( in WaitUntil() 104 err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitUntil() 116 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WaitBitsetAbsoluteTimeout() 126 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in Wake() 136 int err = syscall(SYS_futex, reinterpret_cast<int32_t *>(v), in WakeBitset()
|
/third_party/node/deps/npm/node_modules/cross-spawn/lib/ |
H A D | enoent.js | 5 function notFoundError(original, syscall) { 6 return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), { 9 syscall: `${syscall} ${original.command}`,
|
/third_party/rust/crates/rustix/src/backend/linux_raw/thread/ |
H A D | syscalls.rs | 32 match ret(syscall!( 56 match ret(syscall!( 81 ret(syscall!( in clock_nanosleep_relative_old() 153 match ret(syscall!( 177 match ret(syscall!(__NR_nanosleep, by_ref(req), &mut rem)) { 195 ret(syscall!(__NR_nanosleep, by_ref(&old_req), &mut old_rem))?; in nanosleep_old() 230 ret_usize(syscall!( 250 ret_usize(syscall!( 275 ret_usize(syscall!( in futex_old()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/time/ |
H A D | syscalls.rs | 37 if let Err(err) = ret(syscall!(__NR_clock_getres_time64, which_clock, &mut result)) { 48 ret_infallible(syscall!(__NR_clock_getres, which_clock, &mut result)); 56 ret_infallible(syscall!(__NR_clock_getres, which_clock, &mut old_result)); in clock_getres_old() 71 unsafe { ret_owned_fd(syscall!(__NR_timerfd_create, clockid, flags)) } 85 ret(syscall!( 97 ret(syscall!( 154 ret(syscall!( in timerfd_settime_old() 186 ret(syscall!(__NR_timerfd_gettime, fd, &mut result))?; 192 ret(syscall!(__NR_timerfd_gettime64, fd, &mut result)).or_else(|err| { 212 ret(syscall!(__NR_timerfd_gettim in timerfd_gettime_old() [all...] |
/third_party/node/lib/internal/fs/cp/ |
H A D | cp.js | 82 syscall: 'cp', 92 syscall: 'cp', 102 syscall: 'cp', 113 syscall: 'cp', 175 syscall: 'cp', 203 syscall: 'cp', 217 syscall: 'cp', 225 syscall: 'cp', 233 syscall: 'cp', 252 syscall [all...] |
H A D | cp-sync.js | 79 syscall: 'cp', 89 syscall: 'cp', 99 syscall: 'cp', 110 syscall: 'cp', 148 syscall: 'cp', 172 syscall: 'cp', 186 syscall: 'cp', 194 syscall: 'cp', 202 syscall: 'cp', 221 syscall [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/ |
H A D | polyfill.js | 111 syscall: 'cp', 120 syscall: 'cp', 129 syscall: 'cp', 139 syscall: 'cp', 210 syscall: 'cp', 252 syscall: 'cp', 265 syscall: 'cp', 272 syscall: 'cp', 280 syscall: 'cp', 300 syscall [all...] |
/third_party/musl/src/stdio/ |
H A D | rename.c | 3 #include "syscall.h" 8 return syscall(SYS_rename, old, new); in rename() 10 return syscall(SYS_renameat, AT_FDCWD, old, AT_FDCWD, new); in rename() 12 return syscall(SYS_renameat2, AT_FDCWD, old, AT_FDCWD, new, 0); in rename()
|