- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 709 for syscall0 (0.2 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go
func Fadvise(fd int, offset int64, length int64, advice int) (err error) { _, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length)) if e1 != 0 { err = errnoErr(e1) } return } func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { var newoffset int64 offsetLow := uint32(offset & 0xffffffff)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.9K bytes - Viewed (0) -
src/internal/runtime/syscall/syscall_linux.go
// license that can be found in the LICENSE file. // Package syscall provides the syscall primitives required for the runtime. package syscall import ( "unsafe" ) // TODO(https://go.dev/issue/51087): This package is incomplete and currently // only contains very minimal support for Linux. // Syscall6 calls system call number 'num' with arguments a1-6. func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:26:21 UTC 2024 - 1.4K bytes - Viewed (0) -
src/syscall/syscall_darwin_amd64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 21:34:30 UTC 2023 - 1.9K bytes - Viewed (0) -
src/syscall/syscall_darwin_arm64.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 21:34:30 UTC 2023 - 1.8K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-create-syscall-with-p.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Tests a G being created from within a syscall. // // Specifically, it tests a scenerio wherein a C // thread is calling into Go, creating a goroutine in // a syscall (in the tracer's model). Because the actual // m can be reused, it's possible for that m to have never // had its P (in _Psyscall) stolen if the runtime doesn't
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/gccgo.go
syscall.Entersyscall() r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, 0, 0, 0) syscall.Exitsyscall() return r, 0, syscall.Errno(errno) } func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) { syscall.Entersyscall() r, errno := realSyscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9) syscall.Exitsyscall() return r, 0, syscall.Errno(errno) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.9K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary.go
// license that can be found in the LICENSE file. // Tests syscall P stealing at a generation boundary. package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine is exiting with a syscall. It already // acquired a new P.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.1K bytes - Viewed (0) -
src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go
// license that can be found in the LICENSE file. // Tests syscall P stealing. package main import ( "internal/trace" "internal/trace/event/go122" testgen "internal/trace/internal/testgen/go122" ) func main() { testgen.Main(gen) } func gen(t *testgen.Trace) { g := t.Generation(1) // One goroutine enters a syscall, grabs a P, and starts running. b0 := g.Batch(trace.ThreadID(0), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.1K bytes - Viewed (0) -
src/internal/runtime/syscall/asm_linux_mipsx.s
//go:build linux && (mips || mipsle) #include "textflag.h" // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr) // // The 5th and 6th arg go at sp+16, sp+20. // Note that frame size of 20 means that 24 bytes gets reserved on stack. TEXT ·Syscall6(SB),NOSPLIT,$20-40 MOVW num+0(FP), R2 // syscall entry MOVW a1+4(FP), R4 MOVW a2+8(FP), R5 MOVW a3+12(FP), R6 MOVW a4+16(FP), R7
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 21:28:32 UTC 2024 - 876 bytes - Viewed (0) -
src/syscall/asm_unix_amd64.s
// // System call support for AMD64 unixes // // func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64) // func Syscall6(trap int64, a1, a2, a3, a4, a5, a6 int64) (r1, r2, err int64) // Trap # in AX, args in DI SI DX, return in AX DX TEXT ·Syscall(SB),NOSPLIT,$0-56 CALL runtime·entersyscall<ABIInternal>(SB) MOVQ trap+0(FP), AX // syscall entry MOVQ a1+8(FP), DI MOVQ a2+16(FP), SI MOVQ a3+24(FP), DX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 16 15:40:39 UTC 2022 - 2.2K bytes - Viewed (0)