Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 927 for syscall2 (0.15 sec)

  1. src/syscall/zsyscall_darwin_amd64.go

    	_, _, e1 := syscall(abi.FuncPCABI0(libc_closedir_trampoline), uintptr(dir), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_closedir_trampoline()
    
    //go:cgo_import_dynamic libc_closedir closedir "/usr/lib/libSystem.B.dylib"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 21:34:30 UTC 2023
    - 51.7K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_linux_mips64.go

    	_, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func ptracePtr(request int, pid int, addr uintptr, data unsafe.Pointer) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 40.3K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_freebsd_riscv64.go

    	_, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 10:34:48 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/internal/runtime/syscall/asm_linux_mips64x.s

    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	MOVV	num+0(FP), R2	// syscall entry
    	MOVV	a1+8(FP), R4
    	MOVV	a2+16(FP), R5
    	MOVV	a3+24(FP), R6
    	MOVV	a4+32(FP), R7
    	MOVV	a5+40(FP), R8
    	MOVV	a6+48(FP), R9
    	MOVV	R0, R3	// reset R3 to 0 as 1-ret SYSCALL keeps it
    	SYSCALL
    	BEQ	R7, ok
    	MOVV	$-1, R1
    	MOVV	R1, r1+56(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 724 bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_386.go

    func Close(fd int) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_close_trampoline), uintptr(fd), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_close_trampoline()
    
    //go:cgo_import_dynamic libc_close close "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Dup(fd int) (nfd int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  8. src/internal/trace/testdata/generators/go122-syscall-steal-proc-simple-bare-m.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.
    	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
    - 855 bytes
    - Viewed (0)
  9. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.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). The system is free
    // to reuse thread IDs, so first a thread ID is used to
    // call into Go, and then is used for a Go-created thread.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/internal/runtime/syscall/asm_linux_s390x.s

    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // func Syscall6(num, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, errno uintptr)
    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	MOVD	num+0(FP), R1	// syscall entry
    	MOVD	a1+8(FP), R2
    	MOVD	a2+16(FP), R3
    	MOVD	a3+24(FP), R4
    	MOVD	a4+32(FP), R5
    	MOVD	a5+40(FP), R6
    	MOVD	a6+48(FP), R7
    	SYSCALL
    	MOVD	$0xfffffffffffff001, R8
    	CMPUBLT	R2, R8, ok
    	MOVD	$-1, r1+56(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 663 bytes
    - Viewed (0)
Back to top