Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 138 for syscallsp (1.43 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_386.s

    #define INVOKE_SYSCALL	INT	$0x80
    
    // Just jump to package syscall's implementation for all these functions.
    // The runtime may know about them.
    
    TEXT ·Syscall(SB),NOSPLIT,$0-28
    	JMP	syscall·Syscall(SB)
    
    TEXT ·Syscall6(SB),NOSPLIT,$0-40
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-24
    	CALL	runtime·entersyscall(SB)
    	MOVL	trap+0(FP), AX  // syscall entry
    	MOVL	a1+4(FP), BX
    	MOVL	a2+8(FP), CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go

    //go:build linux && gccgo && 386
    
    package unix
    
    import (
    	"syscall"
    	"unsafe"
    )
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    	offsetLow := uint32(offset & 0xffffffff)
    	offsetHigh := uint32((offset >> 32) & 0xffffffff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 986 bytes
    - Viewed (0)
  3. src/syscall/asm_plan9_386.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    #include "funcdata.h"
    
    //
    // System call support for 386, Plan 9
    //
    
    //func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err string)
    //func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err string)
    //func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 03 15:28:51 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/syscall/syscall_plan9_test.go

    func TestPlan9Syserr(t *testing.T) {
    	testalias(t,
    		"Syscall",
    		func() error {
    			return syscall.Mkdir("/", 0)
    		},
    		func() error {
    			return syscall.Mkdir("#", 0)
    		})
    	testalias(t,
    		"Syscall6",
    		func() error {
    			return syscall.Mount(0, 0, "", 0, "")
    		},
    		func() error {
    			return syscall.Mount(-1, 0, "", 0, "")
    		})
    	// originally failed only on plan9_arm
    	testalias(t,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 08 14:57:01 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_arm.go

    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
    	n = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	r0, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_plan9_amd64.go

    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	r0, _, e1 := Syscall6(SYS_PWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), uintptr(offset>>32), 0)
    	n = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Close(fd int) (err error) {
    	r0, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0)
    	if int32(r0) == -1 {
    		err = e1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/generators/go122-syscall-steal-proc-ambiguous.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing.
    //
    // Specifically, it tests a scenerio wherein, without a
    // P sequence number of GoSyscallBegin, the syscall that
    // a ProcSteal applies to is ambiguous. This only happens in
    // practice when the events aren't already properly ordered
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/trace/testdata/tests/go122-syscall-steal-proc-simple.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 535 bytes
    - Viewed (0)
  10. src/cmd/trace/goroutinegen.go

    	}
    	if from == trace.GoSyscall && to != trace.GoRunning {
    		// Exiting blocked syscall.
    		gs.syscallEnd(ev.Time(), true, ctx)
    		gs.blockedSyscallEnd(ev.Time(), ev.Stack(), ctx)
    	} else if from == trace.GoSyscall {
    		// Check if we're exiting a syscall in a non-blocking way.
    		gs.syscallEnd(ev.Time(), false, ctx)
    	}
    
    	// Handle syscalls.
    	if to == trace.GoSyscall {
    		start := ev.Time()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top